Files
GPOZaurr/Public/Skip-GroupPolicy.ps1
T
Przemyslaw Klys 39d781d899 Update
2020-12-04 10:20:20 +01:00

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
}
}
}