Change ComputerName default to the computer's name

Change ComputerName default so Disabled doesn't report error
This commit is contained in:
leechristensen
2016-04-11 11:02:31 +01:00
parent 785f4757bd
commit c8ff194089
+1 -1
View File
@@ -7014,7 +7014,7 @@ function Get-NetLocalGroup {
[Parameter(ParameterSetName = 'WinNT', Position=0, ValueFromPipeline=$True)]
[Alias('HostName')]
[String[]]
$ComputerName = 'localhost',
$ComputerName = "$($env:COMPUTERNAMECOMPUTERNAME)",
[Parameter(ParameterSetName = 'WinNT')]
[Parameter(ParameterSetName = 'API')]