VMware Cloud Community
Dreamer732
Contributor
Contributor
Jump to solution

PowerCLI - Are there cmdlets to browse datastore for files/directories and creating them?

Hi,

PowerCLI - Are there cmdlets to browse datastore for files/directories and creating them?

If yes, can you please let me know.

I took a peek at cmdlet reference, but didnt find any...


Regards,

Dreamer     

Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

You can use the Datastore provider.

It's documented in the vSphere PowerCLI Administration Guide that was installed with PowerCLI.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

Reply
0 Kudos
3 Replies
LucD
Leadership
Leadership
Jump to solution

You can use the Datastore provider.

It's documented in the vSphere PowerCLI Administration Guide that was installed with PowerCLI.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
Dreamer732
Contributor
Contributor
Jump to solution

Thaks for the quick reply and it answers my question.

Btw, this is the link for the administrator guide -

http://www.vmware.com/support/developer/PowerCLI/PowerCLI41/doc/viwin_admg.pdf

Regards,

dreamer

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

There is more up-to-date doc available in the vSphere 5 Documentation Center, see the about_vimdatastore entry

Or you can just do

Get-Help about_vimdatastore


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference