working code for entirety, need to determine exact needed premissions
This commit is contained in:
parent
5b5d72f335
commit
ddaa5a3305
@ -50,9 +50,9 @@ if($null -eq $Group){
|
||||
$targeGroup =$null
|
||||
|
||||
if($PSBoundParameters.ContainsKey("Server")){
|
||||
$targeGroup = . .\GetRoles.ps1 -Server $Server -ProjectName $ProjectName | Where-Object Name -Match $Type
|
||||
$targeGroup = . .\GetRoles.ps1 -Server $Server -ProjectName $ProjectName | Where-Object Name -Match ".*-$($Type)"
|
||||
} else {
|
||||
$targeGroup = . .\GetRoles.ps1 -ProjectName $ProjectName | Where-Object Name -Match $Type
|
||||
$targeGroup = . .\GetRoles.ps1 -ProjectName $ProjectName | Where-Object Name -Match ".*-$($Type)"
|
||||
}
|
||||
|
||||
if($null -eq $Group){
|
||||
|
Loading…
Reference in New Issue
Block a user