2022-07-01 15:20:51Z current hostname N-H1-YOGA-1 matches n-h1-yoga-1: True 2022-07-01 15:20:52Z calling GetComputerDomain() 2022-07-01 15:20:52Z not currently joined to a reachable domain 2022-07-01 15:20:52Z not a domain member, joining... 2022-07-01 15:20:52Z Creating credential for user administrator@cbci-yoga-1.local 2022-07-01 15:20:52Z adding hostname set arg to Add-Computer args 2022-07-01 15:20:52Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName cbci-yoga-1.local 2022-07-01 15:20:53Z Add-Computer result was \n