Skip to content

Commit 998b146

Browse files
authored
Update SharedUtilsFunctions.ps1
1 parent 6b294de commit 998b146

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Src/Private/SharedUtilsFunctions.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ Function Get-LocalGroupMembership {
456456
$objNT.InvokeMember("Set", "InvokeMethod", $Null, $Translate, (1, "$Base"))
457457
[string]$Script:NetBIOSDomain = $objNT.InvokeMember("Get", "InvokeMethod", $Null, $Translate, 3)
458458
} Catch {
459-
# Write-Warning ("{0}" -f $_.Exception.Message)
459+
Out-Null
460460
}
461461

462462
# region Runspace Creation
@@ -539,4 +539,4 @@ function ConvertTo-HashToYN {
539539
if ($result) {
540540
return $result
541541
} else { return $TEXT }
542-
} # end
542+
} # end

0 commit comments

Comments
 (0)