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

Re: PowerCli : Read from URL

$
0
0

Hi Luc,

It's a text file and was able to retrieve the contents via the commands you have sent. The format is as follows:

 

hostname1,comment

hostname2, comment

 

So now need to filter hostnames.

Also can you let me know if we can add the conditions in the loop

 

if ( $hosts in $file && $cond = "comment")

{}

else ()

 

Thx,

Lalit


Viewing all articles
Browse latest Browse all 232869

Trending Articles



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