Start-SetupService -ServiceName winrm; winrm s winrm/config/client/Auth '@{CredSSP="false"}' # If GPO has an override for ...

Start-SetupService -ServiceName winrm;            winrm s winrm/config/client/Auth '@{CredSSP="false"}'            # If GPO has an override for credentials delegation, then the command will not enable            Remove-Item  HKLM:Software\Policies\Microsoft\Windows\CredentialsDelegation -Recurse -ea:SilentlyContinue            Disable-WSManCredSSP -Role Client