PowerShell | Filter HA events from vCenter server

Hello Guys,

It is well explained on web but I want to have it on my blog so that I don't keep roaming on web to find the same again. After all, it is my notes. isn't it? ;)

Command is simple as below

Get-VIEvent -MaxSamples 100000 -Start (Get-Date).AddDays(-1) -Type Warning | Where {$_.FullFormattedMessage -match "restarted"} |select CreatedTime,FullFormattedMessage | sort CreatedTime –Descending

Hope it helped you as well.

VCD | Upload or Download an ISO file to and from vCD catalog

Hello Guys,

In my previous post I shared to upload or download OVA\OVF file, now let's have a look on how you can do the same for an .iso file. It is quite similar.

To Download

ovftool  "vcloud://gjohar@mylab.com?org=GautamJohar&catalog=Test&media=Win2k19.iso"

To upload, simply reverse the command as below

 ovftool "C:\Users\gjohar\Desktop\password_recovery_cd110511.iso" "vcloud://gjohar@mylab.com?org=GautamJohar&catalog=Test&media=Win2k19.iso"

Explanation of above commands you can see in post

It is quite possible that you face error due to many reasons so feel free to let me know in case you need any further help on the same.

Thank you,
vCloud Notes