2022-08-24 09:09:03Z current hostname N-H1-841016-7 matches n-h1-841016-7: True 2022-08-24 09:09:03Z calling GetComputerDomain() 2022-08-24 09:09:03Z not currently joined to a reachable domain 2022-08-24 09:09:03Z not a domain member, joining... 2022-08-24 09:09:03Z Creating credential for user administrator@cbci-841016-7.local 2022-08-24 09:09:03Z adding hostname set arg to Add-Computer args 2022-08-24 09:09:03Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName cbci-841016-7.local 2022-08-24 09:09:05Z Add-Computer result was \n