Detecting a VM starting to perform a Guest Shutdown
What is the earliest point in the shutdown process a PowerCLI script could detect that a Guest has initiated a controlled shutdown? I'm asking because I am looking at a system where tight IOPS limits...
View ArticleAnyone have a script that can export VUMs baseline updates prior to applying...
Anyone have a script that can export outstanding/pending VUM updates prior to applying them and then afterwards. Have been asked to demonstrate the before and after state for host updates so we can...
View ArticleCollect vDS Portgroup, VMNIC and CDP information
Hi, I found an awesome PowerCLI function that works fantastically, but I'd really like to get a slightly modified table output that included the following: | VMHost | PortGroup Name | VMNIC ID | VLAN...
View Articleget-template guestOS
I'd like to get the GuestOS of a template. One more, how could I learn about the "library", or reference of "ExtensionData.xx"? Thank you,
View Articleadding vmware tools option
is it possible to add/install the svga driver from vmware tools with powercli update-tools?
View ArticleAdding current multi disk from VM node1 to node2 and node3....
I check and found some similar post of "LucD" (Gru) Expert . I tweak his script according to my need but it is not worked for me specially adding to second node may be because of multiwriter and...
View ArticleHorizon View and PowerCLI
Hello everyone. I'm a relatively new coder to the VM PowerCli enviornment.And I am trying to code for automation the creation of a desktop pool and incorporate it into a Global Desktop Entitlement. The...
View ArticleRVTools health message Inconsistent folder name
Good morning expertsIs there a way via powercli to fix the problem of inconsistent folder names? Thank you for any and all input!! Norm
View ArticleUsing PowerCLI To Configure vDS NetFlow Collector IP
Anyone know if possible to set the NetFlow collector IP/settings on a vDS with PowerCLI? Running through the Get-vDSWitch stuff, I can see how to query erspans already configured but I don't see a...
View ArticleMicrosoft Visual Studio Code (VS Code) can not access vi and vis, vmstore and...
Hi, I had been testing waters with Microsoft Visual Studio Code (VS Code).Running into some inconsistences. Cannot run PowerCLI scripts that call PSDrive. It appears VScode cannot access VIM Inventory...
View Articlevmware tools upgrade_powercli
Hi Luc, can you suggest the easisest way of upgrading vmware tools on multiple machine through powercli.most of machines are on esxi6.5 .
View ArticleConnect-VIServer Method not found: 'Void VMware.Vim.VimClient.set_UseSystemProxy
I am running powercli script from .net application and this used to work in 6.5.1 but with latest version when i run powercli script from c# c.net i get this error:Connect-VIServer...
View ArticleDisconnect particular user whose idle session is 30 mins
Hi, Please help me disconnect particular user whose idle session is 30 mins ## max number of idle minutes for sessions to keep$intOlderThan = 30$serviceInstance = Get-View 'ServiceInstance'## get the...
View ArticleSetting RDM on each Host to “PerenniallyReserved” using PowerCLI not...
Hi Community, I was wondering whether anyone out there has either experienced issue or at lest can point me in the correct direction? I'm running the following PowerCLI script against 6.5 VC on a...
View ArticleImport-Module : The specified mount name 'vmstores' is already in use.
Hello everyonei have installed powercli extensions but i can not get import-module vmware ... extentions the error message is "Import-Module: The specified mount name 'vmstores' is already in use."I am...
View ArticleInstalling PowerCLI
Hello,Is it possible to use the zip download from https://code.vmware.com/web/tool/11.2.0/vmware-powercli to install PowerCLI? Or use it as an upgrade to existing install? Many thanks
View ArticleMoving Opaque Network to inventory location
PowerCLI 11.2 gives us the ability to perform some basic functions on NSX-T opaque networks. I'm trying to find a way to move those opaque networks to a new inventory folder in the Networking view....
View ArticleInvoke multiple vcenters from rvtoolsbatch
Hi guys, Can you please help how i can be possible called upon multiple vCenters from rvtoolsbatch and will send all it all as different attachment but in a single mail? From what i read on rvtools...
View Articleremoving or unistalling powershell module
Hi Luc, what is the right way of uninstalling powershell module from powershell.this module was installed using powershellgallery .
View ArticleList Idle sessions
Hi, I am unable to list idle session of particular user using below script please help Function Get-ViSession {$SessionMgr = Get-View...
View Article