Showing results for May 2013 - Scripting Blog [archived]

May 31, 2013
0
0

PowerTip: Use PowerShell to List Hyper-V Switches

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to list all switches on a Hyper-V server.  How do I get a list of all switches on my Hyper-V box?  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 

Scripting Guy!Windows PowerShellPowerTip
May 31, 2013
0
0

Import Multiple Virtual Machines with Windows PowerShell

Doctor Scripto
Doctor Scripto

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 welcome...

Scripting Guy!Windows PowerShellguest blogger
May 29, 2013
0
0

PowerTip: Use PowerShell to Get Status of BranchCache

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell 3.0 to get the status of BranchCache on your computer running Windows 8.  How can I use Windows PowerShell to get the status of Branch Cache on my computer running Windows 8?  Use the Get-BCStatus cmdlet, and check the BranchCacheIsEnabled property: (Get-BCStatus).BranchCacheIs...

May 29, 2013
0
0

Use PowerShell to Initialize Raw Disks and to Partition and Format Volumes

Doctor Scripto
Doctor Scripto

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 virtual mac...

Scripting Guy!Windows PowerShellstorage
May 28, 2013
0
0

PowerTip: Find Services with the Same Dependencies with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to find services that have the same dependencies.  How can I use Windows PowerShell to easily find services that have the same dependencies?  Use the Get-Service cmdlet with the RequiredServices parameter, and supply the name of the dependent service. (The following example shows service...

Scripting Guy!Windows PowerShellPowerTip