ProjectManagementScripts/GetProjects.ps1
2024-07-14 15:00:02 +02:00

12 lines
220 B
PowerShell

[CmdletBinding()]
param (
[string]
$Server
)
. .\Variables.ps1
if($PSBoundParameters.ContainsKey("Server")){
Get-ADGroup -Server $Server -SearchBase $Projects
} else {
Get-ADGroup -SearchBase $Projects
}