VMware Cloud Community
TheVMinator
Expert
Expert

New-VIProperty

Is New-VIProperty persistent between powershell sessions?  Does it update the VCenter Server database permantently?

0 Kudos
1 Reply
LucD
Leadership
Leadership

No, these definitions are not persistent, they live inside the PowerCLI session.

A solution is to place them in one of your PowerShell profiles, that way they will always be present in your sessions.


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

0 Kudos