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