- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The variable $VMname should be initialised with a string containing the name of a guest.
This is the name as the guest appears in the VI client.
For example:
$VMname = "PC999"
And you did add a Connect-VIServer to the beginning of the script I suspect ?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference