2022-08-26 19:48:52Z current hostname N-H2-854120-6 matches n-h2-854120-6: True 2022-08-26 19:48:52Z calling GetComputerDomain() 2022-08-26 19:48:53Z not currently joined to a reachable domain 2022-08-26 19:48:53Z not a domain member, joining... 2022-08-26 19:48:53Z Creating credential for user administrator@cbci-854120-6.local 2022-08-26 19:48:53Z adding hostname set arg to Add-Computer args 2022-08-26 19:48:53Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName cbci-854120-6.local