Comment

Can you please advice me how to use this function i tired but not able to use

PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> C:\Users\murti\Desktop\DatastoreFunctions.ps1

PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Get-DatastoreMountInfo

Get-DatastoreMountInfo : The term 'Get-DatastoreMountInfo' is not recognized as the name of a cmdlet, function, script file, or operable program.

Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

At line:1 char:1

+ Get-DatastoreMountInfo

+ ~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : ObjectNotFound: (Get-DatastoreMountInfo:String) [], CommandNotFoundException

    + FullyQualifiedErrorId : CommandNotFoundException