its the path to the files we are testing on the remote server. We have tried UNC path \servername\share - and various other formats but the same Parameter set cannot be resolved error
Running Invoke-AzStorageSyncCompatibilityCheck remotely throws an error
We are trying to run Invoke-AzStorageSyncCompatibilityCheck remotely however the module throws an error:
$cred = Get-Credential
$computername = xxxxxxxxx
Invoke-AzStorageSyncCompatibilityCheck -Credential $cred -computername $computername -SkipSystemChecks "c:\temp"
Invoke-AzStorageSyncCompatibilityCheck : Parameter set cannot be resolved using the specified named parameters.
At line:1 char:1
- Invoke-AzStorageSyncCompatibilityCheck -Credential $cred -Path 'c:\te ...
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidArgument: (:) [Invoke-AzStorageSyncCompatibilityCheck], ParameterBindingException
- FullyQualifiedErrorId : AmbiguousParameterSet,Microsoft.Azure.Commands.StorageSync.Evaluation.Cmdlets.InvokeCompatibilityC
heckCmdlet
The command works on local machines but not remotely, however we need to run remotely in order to assess files hosted on a failover cluster?
Windows for business | Windows Server | User experience | PowerShell
2 answers
Sort by: Most helpful
-
Rich Matheisen 48,116 Reputation points
2021-08-09T18:58:01.943+00:00 Why is there a "C:\temp" at the end of the cmdlet????