Quantcast
Channel: Virtual Machine Manager – General forum
Viewing all articles
Browse latest Browse all 4089

PS script to list all Virtual Machines running in a specific cloud

$
0
0

I need help with a script and i cant seem to find any good documentation on it from MS.  I have a PS script that adds self service permissions to specific VMs one at a time via name.  I need to actually do this to all machines on a cloud though.  So i first need to get a list of all the machines running in a specific cloud.  The docs say in PS you can do get-scvirtualmachine * -Cloud cloudname   however that produces an error, so either the docs are wrong or i am doing something wrong.  Can someone give me a properly formatted PS script to list all virtual machines currently assigned to the cloud "test"


Viewing all articles
Browse latest Browse all 4089

Trending Articles