VMware Cloud Community
fborges555
Enthusiast
Enthusiast

Last connected

Hi all

is there a way to use PSC to create a script that read all VM in a pool and bring when was used/connected last?

Thanks

Reply
0 Kudos
2 Replies
LucD
Leadership
Leadership

Not sure why you would use the PSC

Could the script in VMware View PowerCLI Script to Discover Un-used Virtual Machines help?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
fborges555
Enthusiast
Enthusiast

L.

I was looking more into the following

Get-HVMachine -PoolName 'MyPool' | select " last connected "

I will take a look

Thanks

Reply
0 Kudos