mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-08-11 19:26:55 +00:00
20 lines
448 B
PowerShell
20 lines
448 B
PowerShell
function Skip-GroupPolicy {
|
|
[cmdletBinding()]
|
|
param(
|
|
[ValidateSet('GPOList')][string] $Type,
|
|
[string] $Name,
|
|
[string] $DomaiName
|
|
)
|
|
if ($Type) {
|
|
[PSCustomObject] @{
|
|
Type = $Type
|
|
Name = $Name
|
|
DomainName = $DomaiName
|
|
}
|
|
} else {
|
|
[PSCustomObject] @{
|
|
Name = $Name
|
|
DomainName = $DomaiName
|
|
}
|
|
}
|
|
} |