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