PowerCLI Datastore Provider

The Datastore Provider is designed to provide access to the contents of one or more datastores.

The items in a datastore are files that contain configuration, virtual disk, and the other data associated with a virtual machine.

When you connect to a server with Connect-VIServer, the cmdlet builds two default datastore drives: vmstore and vmstores. The vmstore drive provides a list of the datastores available on the vSphere server that you last connected to.
Note: If you establish multiple connections to the same vSphere server, the vmstore drive is not updated.
The vmstores drive contains all datastores available on all vSphere servers that you connected to within the current PowerCLI session.

You can use the default datastore drives or create custom drives based on the default ones.