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