CredSSP auth failing while using Invoke-Command | winrm client cannot process the request

V

Vedant Sethia

Hi,I am trying to run the below powershell script using AWS ssm automation. This script will run as SSM Administrator and will try to enable the iscsi service by running the script as domain user account authenticated with CredSSP. Windows version: Windows_Server-2019-English-Full-Base[CmdletBinding()]param([Parameter(Mandatory=$true)][string]$DomainNetBIOSName,[Parameter(Mandatory=$true)][string]$AdminSecret,[Parameter(Mandatory=$true)][string]$DomainDNSName)$HostName = hostname# Getting Password from Secrets Manager for AD Admin User$AdminUser = ConvertFrom-Json -InputObject (Get-SECSecretVa

Continue reading...
 
Back
Top Bottom