mirror of
https://github.com/PowerShellMafia/PowerSploit
synced 2026-06-08 12:13:33 +00:00
Merge pull request #125 from leechristensen/patch-1
Change ComputerName default to the computer's name
This commit is contained in:
+1
-1
@@ -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')]
|
||||
|
||||
Reference in New Issue
Block a user