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