That probably means that the Where-clause is too restrictive.
How many datastores does this return ?
Get-Datastore | where { ($_.name) -ne "ISOs"}
That probably means that the Where-clause is too restrictive.
How many datastores does this return ?
Get-Datastore | where { ($_.name) -ne "ISOs"}