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