corrected eroneous comandlet names
This commit is contained in:
parent
4a1b5c217e
commit
52afe64a1b
@ -6,7 +6,7 @@ param (
|
|||||||
|
|
||||||
. .\Variables.ps1
|
. .\Variables.ps1
|
||||||
if($PSBoundParameters.ContainsKey("Server")){
|
if($PSBoundParameters.ContainsKey("Server")){
|
||||||
Get-ADGroups -Server $Server -SearchBase $Projects
|
Get-ADGroup -Server $Server -SearchBase $Projects
|
||||||
} else {
|
} else {
|
||||||
Get-ADGroups -SearchBase $Projects
|
Get-ADGroup -SearchBase $Projects
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user