Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 232869

PowerCli : Read from URL

$
0
0

Hi,

Is it possible to allow PowerCLI to read directly from the URL, instead of say, a text file, and do the needful.

So, for example, the following link gives us the list of hosts in maintenance mode:

http://server-name/folder/hosts_in_mm_list.txt

and the text file is in the format:

server name, cluster, date

 

Is there a way, like, get-content from a text file, I read directly from the URL, parse the contents of the text file, select the first parameter (server name) and exit the host out of the MM.

 

Thanks for your suggestions in advance.

 

Regards,

Lalit


Viewing all articles
Browse latest Browse all 232869

Trending Articles