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