VMWare PowerCLI Installation & 1st steps

Download from:
And if needed:

For running PowerCLI change the execution policy with:
Set-ExecutionPolicy -ExecutionPolicy unrestricted
Moving in dirs
PowerCLI C:\temp> Get-PSDrive

Name           Used (GB)     Free (GB) Provider      Root
—-           ———     ——— ——–      —-
A                                      FileSystem    A:\
Alias                                  Alias
C                  56,27          3,73 FileSystem    C:\
Cert                                   Certificate   \
D                                      FileSystem    D:\
Env                                    Environment
F                  72,46         47,54 FileSystem    F:\
Function                               Function
HKCU                                   Registry      HKEY_CURRENT_USER
HKLM                                   Registry      HKEY_LOCAL_MACHINE
Variable                               Variable
vi                                     VimInventory  \LastConnectedVCenterSe…
vis                                    VimInventory  \
vmstore                                VimDatastore  \LastConnectedVCenterSe…
vmstores                               VimDatastore  \
WSMan                                  WSMan

PowerCLI C:\temp> cd vmstore:
PowerCLI vmstore:\> dir

            LastWriteTime            Type       Length Name
            ————-            —-       —— —-
                               Datacenter              ha-datacenter

PowerCLI vmstore:\> cd ha-datacenter
PowerCLI vmstore:\ha-datacenter> dir

            LastWriteTime            Type       Length Name
            ————-            —-       —— —-
                            VmfsDatastore              datastore1

PowerCLI vmstore:\ha-datacenter> cd datastore1
PowerCLI vmstore:\ha-datacenter\datastore1> dir

   Datastore path: [datastore1]

            LastWriteTime            Type       Length Name
            ————-            —-       —— —-
     17.02.2016     15:51          Folder              .sdd.sf
     25.02.2016     23:40          Folder              winxpsp3
     26.02.2016     00:47          Folder              Ubuntu 10.04
     23.02.2016     20:13          Folder              Microsoft Windows…


2 thoughts on “VMWare PowerCLI Installation & 1st steps

  1. Pingback: Lab setup |

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