2021-07-23 13:30:21Z current hostname N-H2-802022-1 matches n-h2-802022-1: True 2021-07-23 13:30:21Z calling GetComputerDomain() 2021-07-23 13:30:21Z not currently joined to a reachable domain 2021-07-23 13:30:21Z not a domain member, joining... 2021-07-23 13:30:21Z Creating credential for user administrator@cbci-802022-1.local 2021-07-23 13:30:21Z adding hostname set arg to Add-Computer args 2021-07-23 13:30:21Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName cbci-802022-1.local 2021-07-23 13:30:22Z Add-Computer result was \n