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