Quantcast
Channel: VMware Communities : All Content - VMware PowerCLI
Viewing all articles
Browse latest Browse all 16717

Simple script that exports to csv listing all the custom annotations

$
0
0

I would like to use export-csv in a simple script listing the machine name and all of its custom attributes. I have tried a couple of ways, but they list the server name 8 times, with the annotation and the value next to it, not very usable for the way I need to use it.
I'd like it to look something like this.

 

Server               Owner          BuiltBy

--------               --------           ----------

server1             doug            bill

server2             Mike            stan

 

ty!


Viewing all articles
Browse latest Browse all 16717


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