2022-04-06 10:41:03Z current hostname N-H2-836764-1 matches n-h2-836764-1: True 2022-04-06 10:41:03Z calling GetComputerDomain() 2022-04-06 10:41:04Z not currently joined to a reachable domain 2022-04-06 10:41:04Z not a domain member, joining... 2022-04-06 10:41:04Z Creating credential for user administrator@cbci-836764-1.local 2022-04-06 10:41:04Z adding hostname set arg to Add-Computer args 2022-04-06 10:41:04Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName cbci-836764-1.local 2022-04-06 10:41:06Z Add-Computer result was \n