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