0
ユーザを追加するためにドメインコントローラでDSCスクリプトを実行しています。私の場合、xADUserは次のエラーで失敗します。DSCリソースxADUserがサーバにログインできない
PowerShell DSC resource MSFT_xADUser failed to execute Test-TargetResource functionality with
error message:
Either the target name is incorrect or the server has
rejected the client credentials.
これは、ユーザーを追加する部分です。
'$ DomainAdminCredential'は' [PSCredential] 'オブジェクトであると仮定します。そうでなければ、あなたの問題です。 'PsDscRunAsCredential = $ DomainAdminCredential'を追加しようとすると – TheMadTechnician