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

Re: Add server name when listing local user accounts

$
0
0

The VIAccount object which is returned by Get-VIAccount, has more properties, including the Server property.

From there you should be able to extract the servername.

 

Note that you need to be connected to the ESXi server, to retrieve the local accounts from the ESXi server.

Otherwise you will get the vCenter accounts


Viewing all articles
Browse latest Browse all 231085

Trending Articles



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