oh, that is how we could combine it both. my bad :smileysilly:
Thanks!
-PipelineVariable parameter seems cannot be found on my powercli, maybe outdated version that i have yeah?
I am using ise to construct more than one liner script.
Get-DatastoreCluster : A parameter cannot be found that matches parameter name 'PipelineVariable'.
At line:2 char:22
+ Get-DatastoreCluster -PipelineVariable dsc |
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Get-DatastoreCluster], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetDatastoreCluster