The “Hey, Scripting Guys!” blog has been retired. There are many useful posts in this blog, so we keep the blog here for historical reference. However, some information might be very outdated and many of the links might not work anymore.
New PowerShell content is being posted to the PowerShell Community blog where members of the community can create posts by submitting content in the GitHub repository.
Summary: Use Windows PowerShell to list all switches on a Hyper-V server.
(image) How do I get a list of all switches on my Hyper-V box?
(image) Use the Get-VMSwitch cmdlet, which will list all Hyper-V network names on a host (including their switch type, whether they be External, Internal, or Private):
GET-VMSwitch ...
Summary: Microsoft PowerShell MVP, Sean Kearney, talks about importing multiple virtual machines with Windows PowerShell in Windows Server 2012.
Microsoft Scripting Guy, Ed Wilson, is here. If you are a seasoned Hey, Scripting Guy! Blog reader, you know that the most frequent guest blogger is Sean Kearney. If you are new to the blog, I ...
Summary: Use Windows PowerShell 3.0 to get the status of BranchCache on your computer running Windows 8.
(image) How can I use Windows PowerShell to get the status of Branch Cache on my computer running Windows 8?
(image) Use the Get-BCStatus cmdlet, and check the BranchCacheIsEnabled property:
(Get-...
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to initialize raw disks and to partition and format volumes.
Microsoft Scripting Guy, Ed Wilson, is here. In yesterday’s post, Use PowerShell to Add VHDs and Configure New Virtual Machines, I was able to create and add new VHDs to previously existing ...
Summary: Use Windows PowerShell to find services that have the same dependencies.
(image) How can I use Windows PowerShell to easily find services that have the same dependencies?
(image) Use the Get-Service cmdlet with the RequiredServices parameter, and supply the name of the dependent service. (The following ...