2021-12-07 13:26:19Z current hostname N-H2-USSURI-1 matches n-h2-ussuri-1: True 2021-12-07 13:26:19Z calling GetComputerDomain() 2021-12-07 13:26:20Z not currently joined to a reachable domain 2021-12-07 13:26:20Z not a domain member, joining... 2021-12-07 13:26:20Z Creating credential for user administrator@cbci-ussuri-1.local 2021-12-07 13:26:20Z adding hostname set arg to Add-Computer args 2021-12-07 13:26:20Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName cbci-ussuri-1.local 2021-12-07 13:26:22Z Add-Computer result was \n