Invalid use of command line. Type “winrm -?” for help
Sometimes when you are trying to configure WinRM you might be getting an error like this saying “Invalid use of command line”. The reason is you might be trying to execute this in PowerShell...
Sometimes when you are trying to configure WinRM you might be getting an error like this saying “Invalid use of command line”. The reason is you might be trying to execute this in PowerShell...
This error usually occurs when you try to deploy an IIS app when the app is still up and running. Sometimes just redeploying it from Azure Devops would deploy it without any issues. But...