nada...I got the following:
Property 'Subject' cannot be found on this object; make sure it exists and is settable.
At C:\scripts\VMware\DatastoreCheck.ps1:35 char:6
+ $msg. <<<< Subject = "vCenter Datastore Health CompanyvCenter"
+ CategoryInfo : InvalidOperation: (Subject:String) [], RuntimeException
+ FullyQualifiedErrorId : PropertyNotFound
and bunch of messages like the following:
Unable to find type [ordered]: make sure that the assembly containing this type is loaded.
At C:\scripts\VMware\DatastoreCheck.ps1:17 char:27
+ $props = [ordered] <<<< @{'Name'=$_.Name;
+ CategoryInfo : InvalidOperation: (ordered:String) [], RuntimeException
+ FullyQualifiedErrorId : TypeNotFound
New-Object : Cannot validate argument on parameter 'Property'. The argument is null or empty. Supply an argument that is not null or empty and then try the command again.
At C:\scripts\VMware\DatastoreCheck.ps1:23 char:65
+ $output += New-Object -TypeName PSCUstomObject -Property <<<< $props
+ CategoryInfo : InvalidData: (:) [New-Object], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.NewObjectCommand