Merge pull request #125 from leechristensen/patch-1
Change ComputerName default to the computer's name
This commit is contained in:
commit
69a2cd1e33
|
|
@ -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')]
|
||||
|
|
|
|||
Loading…
Reference in New Issue