invalid use of command line winrm–Error
winrm set winrm/config/client/auth @{Basic="true"} If you want to run winrm command from PowerShell you need to put @{Basic="false"} in the single quotes: winrm set winrm/config/client/auth ‘@{Basic="true"}’