2022-05-02 10:15:29Z current hostname NCH1-MASTER-1 matches nch1-master-1: True 2022-05-02 10:15:29Z calling GetComputerDomain() 2022-05-02 10:15:29Z not currently joined to a reachable domain 2022-05-02 10:15:29Z not a domain member, joining... 2022-05-02 10:15:29Z Creating credential for user administrator@nc-master-1.local 2022-05-02 10:15:29Z adding hostname set arg to Add-Computer args 2022-05-02 10:15:29Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName nc-master-1.local 2022-05-02 10:15:31Z Add-Computer result was \n