17 lines
316 B
PowerShell
17 lines
316 B
PowerShell
# Parameter help description
|
|
[CmdletBinding()]
|
|
param (
|
|
[string]
|
|
$Name
|
|
)
|
|
|
|
if($PSBoundParameters.ContainsKey('Name')){
|
|
. .\Variables.ps1
|
|
$Read='GR-'+$Name+'-RO,'
|
|
$Write='GR-'+$Name+'-RW,'
|
|
Write-Host $Read+$Roles
|
|
Write-Host $Write+$Roles
|
|
Return $null
|
|
}
|
|
|
|
throw "No such Project was found" |