August 19th, 2014

PowerTip: Mini-Scripting Games 2014 Answer 2

Doctor Scripto
Scripter

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.

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback