RamblingCookieMonster / SecretServer

Secret Server PowerShell Module
MIT License
87 stars 28 forks source link

Need to support Powershell Core #23

Open jrobiii opened 3 years ago

jrobiii commented 3 years ago

When loading the SecretServer module in PowerShell 7.0 I receive the following error:

WARNING: Error creating proxy for 'https://secretserver/webservices/sswebservice.asmx': Error creating proxy for https://secretserver/webservices/sswebservice.asmx: The term 'New-WebServiceProxy' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

New-WebServiceProxy is not valid in PowerShell core. Some quick googling has netted that Invoke-RestMethod as a possible replacement, but I have not done any further research.