Invoke-Command with FilePath and ArgumentList
i have written following line of code
invoke-command -filepath 'c:\program files\microsoft data protection manager\dpm\bin\attach-productionserver.ps1' -argumentlist ($dpmservername, $servername, $cred.username, $cred.password)
i error
invoke-command : parameter set cannot resolved using specified named parameters.
Windows Server > Windows PowerShell
Comments
Post a Comment