PowerTip: Mini-Scripting Games 2014 Answer 2


Summary: Here is the answer to the second question in Mini-Scripting Games 2014.

Hey, Scripting Guy! Question On your laptop running Windows 8.1, you are running Hyper-V.
           You have heard that there are cmdlets that let you manage this.
           You open Windows PowerShell and type the following command:

Get-VM

Absolutely nothing comes back. But you know you have several virtual machines on your computer.
Why does nothing return?

Hey, Scripting Guy! Answer The Hyper-V cmdlets require Admin rights. Therefore, you need to open the Windows PowerShell console
           with Admin rights. Right-click the icon and select “Run As Administrator” from the action menu.
           Unfortunately, these cmdlets do not return any error messages if you try to run them without proper rights.

Comments (0)

Skip to main content