Searched refs:swg_result (Results 1 – 2 of 2) sorted by relevance
149 …$swg_result = Get-CimInstance Win32_ComputerSystem | Invoke-CimMethod -MethodName JoinDomainOrWork… in Set-Workgroup() variable154 if ($swg_result.ReturnValue -ne 0) { in Set-Workgroup()155 …bj $result -message "failed to set workgroup through WMI, return value: $($swg_result.ReturnValue)" in Set-Workgroup()
148 …$swg_result = Get-CimInstance Win32_ComputerSystem | Invoke-CimMethod -MethodName JoinDomainOrWork… in Set-Workgroup() variable153 if ($swg_result.ReturnValue -ne 0) { in Set-Workgroup()154 …bj $result -message "failed to set workgroup through WMI, return value: $($swg_result.ReturnValue)" in Set-Workgroup()