1 2 Previous Next 15 Replies Latest reply on Sep 24, 2012 5:04 AM by VgeekFreak Go to original post
      • 15. Re: Datastore capacity report
        VgeekFreak Novice

        Thanks for help Jade..


        I get this error when I execute it .



        Get-VM : Cannot validate argument on parameter 'Datastore'. The argument is null or empty. Supply an argument that is not null or empty and then try the com
        mand again.
        At C:\Documents and Settings\jbcf2181\Desktop\Datastore.ps1:9 char:35
        + ForEach ($VM in (Get-VM -Datastore <<<<  $Datastore |sort name))
            + CategoryInfo          : InvalidData: (:) [Get-VM], ParameterBindingValidationException
            + FullyQualifiedErrorId : ParameterArgumentValidationError,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetVM
        1 2 Previous Next