I am getting an error when using the -FromRoot switch in the Copy-PWSavedSearch2 module. In this example I am trying to copy a datasource level global search to a datasource level personal search, even tried to copy from the datasource level to another work area path, but I still get the same error.
Copy-PWSavedSearch2 : Parameter set cannot be resolved using the specified named parameters.At line:1 char:1+ Copy-PWSavedSearch2 -FromGlobalSearch 'searchName' -FromRoot -ToDatas ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Copy-PWSavedSearch2], ParameterBindingException + FullyQualifiedErrorId : AmbiguousParameterSet,PWPS_DAB.CopyPWSavedSearch2
new-pwlogin Copy-PWSavedSearch2 -FromGlobalSearch 'searchName' -FromRoot -ToDatasourceLevel -ToPersonalSearch -Verbose undo-pwlogin Copy-PWSavedSearch2 : Parameter set cannot be resolved using the specified named parameters. At line:1 char:1 + Copy-PWSavedSearch2 -FromGlobalSearch 'searchName' -FromRoot -ToDatas ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Copy-PWSavedSearch2], ParameterBindingException + FullyQualifiedErrorId : AmbiguousParameterSet,PWPS_DAB.CopyPWSavedSearch2