PowerCLI: Datastore Block Sizes

By | April 1, 2015

Before VMFS5 the block size of the datastore determined the maximum size of a hard disk that could be added to a virtual machine. In our new glorious future it now makes no difference, but VMFS datastores that have been upgraded to version 5 will retain their old block size.

The following PowerCLI will show all the datastores connected to the vCenter and their block size.

If we wish to show all datastores that have a block size larger than 1MB then we could do the following: