Bootstrap FreeKB - VMWare - View datastores using PowerCLI
VMWare - View datastores using PowerCLI

Updated:   |  VMWare articles

  1. Download and install PowerCLI from www.vmware.com.
  2. In PowerCLI, using the following command to connect to your ESXi hypervisor:
Connect-VIServer -Server server_name -User username -Password password
  1. List your datastores
dir vmstore:\ha-datacenter

Name           FreeSpaceGB    CapacityGB
- - - -        - - - - - -    - - - - - -
datastore1          14.135       1,862.750
datastore2         169.768         465.500

 

Notice datastore1 has only 14 GB of free space. Let's look at datastore1.

dir vmstore:\ha-datacenter\datastore1

LastWriteTime       Type      Length Name
- - - -        - - - - - -    - - - - - -
12/16/2016         Folder       CentOS-FS1

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter ed9b0f in the box below so that we can be sure you are a human.