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