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

Re: ETL process to update vm details

$
0
0

Ok, I think I see where you want to go.

 

For the filename of the CSV, you could just update the line where you compose the name of the file.

Something like this

 

$VC=Connect-VIServer$VCServerName

$ExportFilePath="C:\PS\Export-$($VCServerName)-VMInfo.csv"

 

If you have multiple vSphere server connections open when you call this script, you could add the Server parameter on the PowerCLI cmdlets.

That way the cmdlet will only return results for that specific vSphere server.

Something like this

 

Get-VM-Server$VCServerName

 


Viewing all articles
Browse latest Browse all 231085

Trending Articles



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