VMware PowerCLI

March 23, 2020 at 1:25 pm Leave a comment

In this post , I am going to cover the PowerCLI module for VMware. Whenever, I came across a new cmd-let , I will update this post.

First things first, You need to install the PowerCLI. Now , the Windows Powershell have the VMware PowerCLI module. So you could simply install it by.


PS> Install-Module -Name VMware.PowerCLI

Then import it before using the Power CLI.

# To verify the version:
PS> Get-PowerCLIVersion

# To login to VCenter
PS> Connect-VIServer -Server “vcenterhostname”

# To Suppress the Certificate Warning/Error
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false

#To list the VM’s with their creation date.
Get-VM | fl Name,CreateDate


Entry filed under: VMware.

How to re-configure /configure IPMI using ipmitool in ESXi sudo: effective uid is not 0, is sudo installed setuid root

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Trackback this post  |  Subscribe to the comments via RSS Feed


Archives

Categories

Follow Hope you like it.. on WordPress.com

Blog Stats

  • 35,615 hits

%d bloggers like this: