Merge pull request #125 from leechristensen/patch-1

Change ComputerName default to the computer's name
This commit is contained in:
HarmJ0y 2016-04-11 11:49:47 -07:00
commit 69a2cd1e33
1 changed files with 1 additions and 1 deletions

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')]