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