Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Find Information about Started Virtual Machine

$
0
0

Summary: Use Windows PowerShell to find detailed information about a started virtual machine.

Hey, Scripting Guy! Question I use the Start-VM cmdlet on my computer running Hyper-V, but how can I use Windows PowerShell
           to find more information about the virtual machine that actually starts?

Hey, Scripting Guy! Answer Use the –PassThru parameter to return a virtual machine information object. Store the returned
           object in a variable, and then use Windows PowerShell to parse that variable. Here is an example:

$vm = Start-VM –name c1 –passthru
$vm


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>