mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-07-26 11:49:17 +00:00
docs: ✏️ Update documentation for GPOZaurr module
- Revised `Set-GPOZaurrOwner.md` to enhance clarity and detail for parameters and examples. - Updated `Set-GPOZaurrStatus.md` with a new online version link and improved structure. - Refined `Skip-GroupPolicy.md` to clarify usage within script blocks and added examples. - Adjusted `GPOZaurr.psd1` for version updates and improved module dependencies. - Enhanced `GPOZaurr.psm1` for better error handling during function imports. - Modified `Invoke-GPOZaurrSupport.ps1` examples to use `Join-Path` for path construction.
This commit is contained in:
@@ -1,41 +1,4 @@
|
|||||||
[CmdletBinding()]
|
Build-Module -ModuleName 'GPOZaurr' {
|
||||||
param(
|
|
||||||
[switch]$SkipPublish
|
|
||||||
)
|
|
||||||
|
|
||||||
try {
|
|
||||||
Clear-Host
|
|
||||||
} catch {
|
|
||||||
Write-Verbose "Skipping Clear-Host because the current host is non-interactive."
|
|
||||||
}
|
|
||||||
|
|
||||||
function Import-LocalPSPublishModule {
|
|
||||||
$candidateRoots = @()
|
|
||||||
|
|
||||||
if ($env:POWERFORGE_ROOT) {
|
|
||||||
$candidateRoots += $env:POWERFORGE_ROOT
|
|
||||||
}
|
|
||||||
|
|
||||||
$candidateRoots += [System.IO.Path]::GetFullPath((Join-Path $PSScriptRoot '..\..\PSPublishModule'))
|
|
||||||
|
|
||||||
foreach ($root in $candidateRoots | Select-Object -Unique) {
|
|
||||||
if ([string]::IsNullOrWhiteSpace($root)) {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
$manifestPath = Join-Path $root 'Module\PSPublishModule.psd1'
|
|
||||||
if (Test-Path -LiteralPath $manifestPath -PathType Leaf) {
|
|
||||||
Import-Module $manifestPath -Force -ErrorAction Stop
|
|
||||||
return
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Import-Module PSPublishModule -Force -ErrorAction Stop
|
|
||||||
}
|
|
||||||
|
|
||||||
Import-LocalPSPublishModule
|
|
||||||
|
|
||||||
Invoke-ModuleBuild -ModuleName 'GPOZaurr' {
|
|
||||||
# Usual defaults as per standard module
|
# Usual defaults as per standard module
|
||||||
$Manifest = @{
|
$Manifest = @{
|
||||||
# Version number of this module.
|
# Version number of this module.
|
||||||
@@ -63,17 +26,9 @@ Invoke-ModuleBuild -ModuleName 'GPOZaurr' {
|
|||||||
New-ConfigurationManifest @Manifest
|
New-ConfigurationManifest @Manifest
|
||||||
|
|
||||||
New-ConfigurationModule -Type RequiredModule -Name 'PSWriteColor', 'PSSharedGoods', 'ADEssentials' -Guid Auto -Version Latest
|
New-ConfigurationModule -Type RequiredModule -Name 'PSWriteColor', 'PSSharedGoods', 'ADEssentials' -Guid Auto -Version Latest
|
||||||
New-ConfigurationModule -Type RequiredModule -Name "PSWriteHTML" -Guid Auto -Version "1.27.0"
|
New-ConfigurationModule -Type RequiredModule -Name "PSWriteHTML" -Guid Auto -Version Latest
|
||||||
#New-ConfigurationModule -Type ExternalModule -Name 'Microsoft.PowerShell.Utility', 'Microsoft.PowerShell.Management','Microsoft.PowerShell.Security'
|
#New-ConfigurationModule -Type ExternalModule -Name 'Microsoft.PowerShell.Utility', 'Microsoft.PowerShell.Management','Microsoft.PowerShell.Security'
|
||||||
New-ConfigurationModule -Type ApprovedModule -Name 'PSSharedGoods', 'PSWriteColor', 'Connectimo', 'PSUnifi', 'PSWebToolbox', 'PSMyPassword', 'ADEssentials'
|
New-ConfigurationModule -Type ApprovedModule -Name 'PSSharedGoods', 'PSWriteColor', 'Connectimo', 'PSUnifi', 'PSWebToolbox', 'PSMyPassword', 'ADEssentials'
|
||||||
|
|
||||||
New-ConfigurationModule -Type ExternalModule -Name @(
|
|
||||||
"CimCmdlets"
|
|
||||||
'Microsoft.PowerShell.Management'
|
|
||||||
'Microsoft.PowerShell.Utility'
|
|
||||||
'Microsoft.PowerShell.Security'
|
|
||||||
)
|
|
||||||
|
|
||||||
New-ConfigurationModuleSkip -IgnoreModuleName @(
|
New-ConfigurationModuleSkip -IgnoreModuleName @(
|
||||||
# this are builtin into PowerShell, so not critical
|
# this are builtin into PowerShell, so not critical
|
||||||
'powershellget'
|
'powershellget'
|
||||||
@@ -243,7 +198,7 @@ Invoke-ModuleBuild -ModuleName 'GPOZaurr' {
|
|||||||
# when creating PSD1 use special style without comments and with only required parameters
|
# when creating PSD1 use special style without comments and with only required parameters
|
||||||
New-ConfigurationFormat -ApplyTo 'DefaultPSD1', 'OnMergePSD1' -PSD1Style 'Minimal'
|
New-ConfigurationFormat -ApplyTo 'DefaultPSD1', 'OnMergePSD1' -PSD1Style 'Minimal'
|
||||||
# configuration for documentation, at the same time it enables documentation processing
|
# configuration for documentation, at the same time it enables documentation processing
|
||||||
New-ConfigurationDocumentation -Enable:$true -StartClean -UpdateWhenNew -SyncExternalHelpToProjectRoot -PathReadme 'Docs\Readme.md' -Path 'Docs'
|
New-ConfigurationDocumentation -Enable:$true -StartClean -UpdateWhenNew -SyncExternalHelpToProjectRoot -PathReadme 'Docs\Readme.md' -Path 'Docs'
|
||||||
|
|
||||||
#New-ConfigurationImportModule -ImportSelf
|
#New-ConfigurationImportModule -ImportSelf
|
||||||
|
|
||||||
@@ -254,9 +209,9 @@ Invoke-ModuleBuild -ModuleName 'GPOZaurr' {
|
|||||||
New-ConfigurationArtefact -Type Unpacked -Enable -Path "$PSScriptRoot\..\Artefacts\Unpacked" -AddRequiredModules
|
New-ConfigurationArtefact -Type Unpacked -Enable -Path "$PSScriptRoot\..\Artefacts\Unpacked" -AddRequiredModules
|
||||||
New-ConfigurationArtefact -Type Packed -Enable -Path "$PSScriptRoot\..\Artefacts\Packed" -ArtefactName '<ModuleName>.v<ModuleVersion>.zip' -AddRequiredModules
|
New-ConfigurationArtefact -Type Packed -Enable -Path "$PSScriptRoot\..\Artefacts\Packed" -ArtefactName '<ModuleName>.v<ModuleVersion>.zip' -AddRequiredModules
|
||||||
|
|
||||||
# options for publishing to github/psgallery
|
# options for publishing to github/psgallery
|
||||||
if (-not $SkipPublish) {
|
if (-not $SkipPublish) {
|
||||||
New-ConfigurationPublish -Type PowerShellGallery -FilePath 'C:\Support\Important\PowerShellGalleryAPI.txt' -Enabled:$true
|
#New-ConfigurationPublish -Type PowerShellGallery -FilePath 'C:\Support\Important\PowerShellGalleryAPI.txt' -Enabled:$true
|
||||||
New-ConfigurationPublish -Type GitHub -FilePath 'C:\Support\Important\GitHubAPI.txt' -UserName 'EvotecIT' -Enabled:$true
|
# New-ConfigurationPublish -Type GitHub -FilePath 'C:\Support\Important\GitHubAPI.txt' -UserName 'EvotecIT' -Enabled:$true -GenerateReleaseNotes
|
||||||
}
|
}
|
||||||
} -ExitCode
|
} -ExitCode
|
||||||
+43
-125
@@ -1,125 +1,43 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Add-GPOPermission
|
||||||
# Add-GPOPermission
|
## SYNOPSIS
|
||||||
|
{{ Fill in the Synopsis }}
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
```powershell
|
||||||
## SYNTAX
|
Add-GPOPermission
|
||||||
|
```
|
||||||
```
|
|
||||||
Add-GPOPermission [[-Type] <String>] [[-IncludePermissionType] <GPPermissionType>] [[-Principal] <String>]
|
## DESCRIPTION
|
||||||
[[-PrincipalType] <String>] [[-PermitType] <String>] [<CommonParameters>]
|
{{ Fill in the Description }}
|
||||||
```
|
|
||||||
|
## EXAMPLES
|
||||||
## DESCRIPTION
|
|
||||||
{{ Fill in the Description }}
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
## EXAMPLES
|
Add-GPOPermission
|
||||||
|
```
|
||||||
### Example 1
|
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
## PARAMETERS
|
||||||
```
|
|
||||||
|
### CommonParameters
|
||||||
{{ Add example description here }}
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
## PARAMETERS
|
## INPUTS
|
||||||
|
|
||||||
### -IncludePermissionType
|
- `None`
|
||||||
{{ Fill IncludePermissionType Description }}
|
|
||||||
|
## OUTPUTS
|
||||||
```yaml
|
|
||||||
Type: GPPermissionType
|
- `None`
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
## RELATED LINKS
|
||||||
Accepted values: None, GpoApply, GpoRead, GpoEdit, GpoEditDeleteModifySecurity, GpoCustom, WmiFilterEdit, WmiFilterFullControl, WmiFilterCustom, StarterGpoRead, StarterGpoEdit, StarterGpoFullControl, StarterGpoCustom, SomCreateWmiFilter, SomWmiFilterFullControl, SomCreateGpo, SomCreateStarterGpo, SomLogging, SomPlanning, SomLink
|
|
||||||
|
- None
|
||||||
Required: False
|
|
||||||
Position: 1
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -PermitType
|
|
||||||
{{ Fill PermitType Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: Allow, Deny
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: 4
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Principal
|
|
||||||
{{ Fill Principal Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: Trustee
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: 2
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -PrincipalType
|
|
||||||
{{ Fill PrincipalType Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: TrusteeType
|
|
||||||
Accepted values: DistinguishedName, Name, Sid
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: 3
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Type
|
|
||||||
{{ Fill Type Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: WellKnownAdministrative, Administrative, AuthenticatedUsers, Default
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: 0
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
### None
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
### System.Object
|
|
||||||
## NOTES
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
+43
-348
@@ -1,348 +1,43 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Add-GPOZaurrPermission
|
||||||
# Add-GPOZaurrPermission
|
## SYNOPSIS
|
||||||
|
{{ Fill in the Synopsis }}
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
```powershell
|
||||||
## SYNTAX
|
Add-GPOZaurrPermission
|
||||||
|
```
|
||||||
### GPOName (Default)
|
|
||||||
```
|
## DESCRIPTION
|
||||||
Add-GPOZaurrPermission -GPOName <String> [-Type <String>] [-Principal <String>] [-PrincipalType <String>]
|
{{ Fill in the Description }}
|
||||||
-PermissionType <GPPermissionType> [-Inheritable] [-PermitType <String>] [-Forest <String>]
|
|
||||||
[-ExcludeDomains <String[]>] [-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>]
|
## EXAMPLES
|
||||||
[-ADAdministrativeGroups <IDictionary>] [-LimitProcessing <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
|
||||||
```
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
### GPOGUID
|
Add-GPOZaurrPermission
|
||||||
```
|
```
|
||||||
Add-GPOZaurrPermission -GPOGuid <String> [-Type <String>] [-Principal <String>] [-PrincipalType <String>]
|
|
||||||
-PermissionType <GPPermissionType> [-Inheritable] [-PermitType <String>] [-Forest <String>]
|
|
||||||
[-ExcludeDomains <String[]>] [-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>]
|
## PARAMETERS
|
||||||
[-ADAdministrativeGroups <IDictionary>] [-LimitProcessing <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
|
||||||
```
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
### All
|
|
||||||
```
|
## INPUTS
|
||||||
Add-GPOZaurrPermission [-All] [-Type <String>] [-Principal <String>] [-PrincipalType <String>]
|
|
||||||
-PermissionType <GPPermissionType> [-Inheritable] [-PermitType <String>] [-Forest <String>]
|
- `None`
|
||||||
[-ExcludeDomains <String[]>] [-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>]
|
|
||||||
[-ADAdministrativeGroups <IDictionary>] [-LimitProcessing <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
## OUTPUTS
|
||||||
```
|
|
||||||
|
- `None`
|
||||||
### ADObject
|
|
||||||
```
|
## RELATED LINKS
|
||||||
Add-GPOZaurrPermission -ADObject <ADObject[]> [-Type <String>] [-Principal <String>] [-PrincipalType <String>]
|
|
||||||
-PermissionType <GPPermissionType> [-Inheritable] [-PermitType <String>] [-Forest <String>]
|
- None
|
||||||
[-ExcludeDomains <String[]>] [-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>]
|
|
||||||
[-ADAdministrativeGroups <IDictionary>] [-LimitProcessing <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
|
||||||
```
|
|
||||||
|
|
||||||
## DESCRIPTION
|
|
||||||
{{ Fill in the Description }}
|
|
||||||
|
|
||||||
## EXAMPLES
|
|
||||||
|
|
||||||
### Example 1
|
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
|
||||||
```
|
|
||||||
|
|
||||||
{{ Add example description here }}
|
|
||||||
|
|
||||||
## PARAMETERS
|
|
||||||
|
|
||||||
### -ADAdministrativeGroups
|
|
||||||
{{ Fill ADAdministrativeGroups Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: IDictionary
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ADObject
|
|
||||||
{{ Fill ADObject Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: ADObject[]
|
|
||||||
Parameter Sets: ADObject
|
|
||||||
Aliases: OrganizationalUnit, DistinguishedName
|
|
||||||
|
|
||||||
Required: True
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -All
|
|
||||||
{{ Fill All Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: All
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: True
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Confirm
|
|
||||||
Prompts you for confirmation before running the cmdlet.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: cf
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ExcludeDomains
|
|
||||||
{{ Fill ExcludeDomains Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ExtendedForestInformation
|
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: IDictionary
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Forest
|
|
||||||
{{ Fill Forest Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: ForestName
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -GPOGuid
|
|
||||||
{{ Fill GPOGuid Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: GPOGUID
|
|
||||||
Aliases: GUID, GPOID
|
|
||||||
|
|
||||||
Required: True
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -GPOName
|
|
||||||
{{ Fill GPOName Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: GPOName
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: True
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -IncludeDomains
|
|
||||||
{{ Fill IncludeDomains Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: Domain, Domains
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Inheritable
|
|
||||||
{{ Fill Inheritable Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -LimitProcessing
|
|
||||||
{{ Fill LimitProcessing Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: Int32
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -PermissionType
|
|
||||||
{{ Fill PermissionType Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: GPPermissionType
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: IncludePermissionType
|
|
||||||
Accepted values: None, GpoApply, GpoRead, GpoEdit, GpoEditDeleteModifySecurity, GpoCustom, WmiFilterEdit, WmiFilterFullControl, WmiFilterCustom, StarterGpoRead, StarterGpoEdit, StarterGpoFullControl, StarterGpoCustom, SomCreateWmiFilter, SomWmiFilterFullControl, SomCreateGpo, SomCreateStarterGpo, SomLogging, SomPlanning, SomLink
|
|
||||||
|
|
||||||
Required: True
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -PermitType
|
|
||||||
{{ Fill PermitType Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: Allow, Deny, All
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Principal
|
|
||||||
{{ Fill Principal Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: Trustee
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -PrincipalType
|
|
||||||
{{ Fill PrincipalType Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: TrusteeType
|
|
||||||
Accepted values: DistinguishedName, Name, Sid
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Type
|
|
||||||
{{ Fill Type Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: WellKnownAdministrative, Administrative, AuthenticatedUsers, Default
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -WhatIf
|
|
||||||
Shows what would happen if the cmdlet runs.
|
|
||||||
The cmdlet is not run.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: wi
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
### None
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
### System.Object
|
|
||||||
## NOTES
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
+180
-205
@@ -1,205 +1,180 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Backup-GPOZaurr
|
||||||
# Backup-GPOZaurr
|
## SYNOPSIS
|
||||||
|
Provides Backup functionality to Group Policies
|
||||||
## SYNOPSIS
|
|
||||||
Provides Backup functionality to Group Policies
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Backup-GPOZaurr [[-LimitProcessing] <int>] [[-Type] <string[]>] [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [[-BackupPath] <string>] [-BackupDated] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Backup-GPOZaurr [[-LimitProcessing] <Int32>] [[-Type] <String[]>] [[-Forest] <String>]
|
|
||||||
[[-ExcludeDomains] <String[]>] [[-IncludeDomains] <String[]>] [[-ExtendedForestInformation] <IDictionary>]
|
## DESCRIPTION
|
||||||
[[-BackupPath] <String>] [-BackupDated] [-WhatIf] [-Confirm] [<CommonParameters>]
|
Provides Backup functionality to Group Policies
|
||||||
```
|
|
||||||
|
## EXAMPLES
|
||||||
## DESCRIPTION
|
|
||||||
Provides Backup functionality to Group Policies
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
## EXAMPLES
|
PS > $GPOSummary = Backup-GPOZaurr -BackupPath "$Env:UserProfile\Desktop\GPO" -Verbose -Type All
|
||||||
|
$GPOSummary | Format-Table # only if you want to display output of backup
|
||||||
### EXAMPLE 1
|
```
|
||||||
```
|
|
||||||
$GPOSummary = Backup-GPOZaurr -BackupPath "$Env:UserProfile\Desktop\GPO" -Verbose -Type All
|
|
||||||
```
|
### EXAMPLE 2
|
||||||
|
```powershell
|
||||||
$GPOSummary | Format-Table # only if you want to display output of backup
|
PS > $GPOSummary = Backup-GPOZaurr -BackupPath "$Env:UserProfile\Desktop\GPO" -Verbose -Type All -BackupDated
|
||||||
|
$GPOSummary | Format-Table # only if you want to display output of backup
|
||||||
### EXAMPLE 2
|
```
|
||||||
```
|
|
||||||
$GPOSummary = Backup-GPOZaurr -BackupPath "$Env:UserProfile\Desktop\GPO" -Verbose -Type All -BackupDated
|
|
||||||
```
|
## PARAMETERS
|
||||||
|
|
||||||
$GPOSummary | Format-Table # only if you want to display output of backup
|
### -BackupDated
|
||||||
|
Whether cmdlet should created Dated folders for executed backup or not. Keep in mind it's not nessecary and two backups made to same folder have their dates properly tagged
|
||||||
## PARAMETERS
|
|
||||||
|
```yaml
|
||||||
### -LimitProcessing
|
Type: SwitchParameter
|
||||||
Limits amount of GPOs that are backed up
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
```yaml
|
Possible values:
|
||||||
Type: Int32
|
|
||||||
Parameter Sets: (All)
|
Required: False
|
||||||
Aliases:
|
Position: named
|
||||||
|
Default value: False
|
||||||
Required: False
|
Accept pipeline input: False
|
||||||
Position: 1
|
Accept wildcard characters: True
|
||||||
Default value: 0
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -BackupPath
|
||||||
```
|
Path where to keep the backup
|
||||||
|
|
||||||
### -Type
|
```yaml
|
||||||
Provides a way to backup only Empty or Unlinked GPOs.
|
Type: String
|
||||||
The default is All.
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
```yaml
|
Possible values:
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
Required: False
|
||||||
Aliases:
|
Position: 6
|
||||||
|
Default value: None
|
||||||
Required: False
|
Accept pipeline input: False
|
||||||
Position: 2
|
Accept wildcard characters: True
|
||||||
Default value: All
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -ExcludeDomains
|
||||||
```
|
Exclude domain from search, by default whole forest is scanned
|
||||||
|
|
||||||
### -Forest
|
```yaml
|
||||||
Target different Forest, by default current forest is used
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases:
|
||||||
Type: String
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: ForestName
|
Required: False
|
||||||
|
Position: 3
|
||||||
Required: False
|
Default value: None
|
||||||
Position: 3
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -ExtendedForestInformation
|
||||||
|
Ability to provide Forest Information from another command to speed up processing
|
||||||
### -ExcludeDomains
|
|
||||||
Exclude domain from search, by default whole forest is scanned
|
```yaml
|
||||||
|
Type: IDictionary
|
||||||
```yaml
|
Parameter Sets: __AllParameterSets
|
||||||
Type: String[]
|
Aliases:
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: 5
|
||||||
Position: 4
|
Default value: None
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -Forest
|
||||||
### -IncludeDomains
|
Target different Forest, by default current forest is used
|
||||||
Include only specific domains, by default whole forest is scanned
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String
|
||||||
Type: String[]
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases: ForestName
|
||||||
Aliases: Domain, Domains
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 5
|
Position: 2
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -ExtendedForestInformation
|
### -IncludeDomains
|
||||||
Ability to provide Forest Information from another command to speed up processing
|
Include only specific domains, by default whole forest is scanned
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: IDictionary
|
Type: String[]
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases:
|
Aliases: Domain, Domains
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 6
|
Required: False
|
||||||
Default value: None
|
Position: 4
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -BackupPath
|
|
||||||
Path where to keep the backup
|
### -LimitProcessing
|
||||||
|
Limits amount of GPOs that are backed up
|
||||||
```yaml
|
|
||||||
Type: String
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: Int32
|
||||||
Aliases:
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
Required: False
|
Possible values:
|
||||||
Position: 7
|
|
||||||
Default value: None
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: 0
|
||||||
Accept wildcard characters: False
|
Default value: 0
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -BackupDated
|
```
|
||||||
Whether cmdlet should created Dated folders for executed backup or not.
|
|
||||||
Keep in mind it's not nessecary and two backups made to same folder have their dates properly tagged
|
### -Type
|
||||||
|
Provides a way to backup only Empty or Unlinked GPOs. The default is All.
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: String[]
|
||||||
Aliases:
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
Required: False
|
Possible values: Empty, Unlinked, Disabled, All
|
||||||
Position: Named
|
|
||||||
Default value: False
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: 1
|
||||||
Accept wildcard characters: False
|
Default value: All
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -WhatIf
|
```
|
||||||
Shows what would happen if the cmdlet runs.
|
|
||||||
The cmdlet is not run.
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
## INPUTS
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: wi
|
- `None`
|
||||||
|
|
||||||
Required: False
|
## OUTPUTS
|
||||||
Position: Named
|
|
||||||
Default value: None
|
- `None`
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
## RELATED LINKS
|
||||||
```
|
|
||||||
|
- None
|
||||||
### -Confirm
|
|
||||||
Prompts you for confirmation before running the cmdlet.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: cf
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
## NOTES
|
|
||||||
General notes
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
+180
-199
@@ -1,199 +1,180 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Clear-GPOZaurrSysvolDFSR
|
||||||
# Clear-GPOZaurrSysvolDFSR
|
## SYNOPSIS
|
||||||
|
Clears the ConflictAndDeleted folder in DFSR for specified GPOs.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Clear-GPOZaurrSysvolDFSR [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-ExcludeDomainControllers] <string[]>] [[-IncludeDomains] <string[]>] [[-IncludeDomainControllers] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [[-LimitProcessing] <int>] [-SkipRODC] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Clear-GPOZaurrSysvolDFSR [[-Forest] <String>] [[-ExcludeDomains] <String[]>]
|
|
||||||
[[-ExcludeDomainControllers] <String[]>] [[-IncludeDomains] <String[]>]
|
## DESCRIPTION
|
||||||
[[-IncludeDomainControllers] <String[]>] [-SkipRODC] [[-ExtendedForestInformation] <IDictionary>]
|
This function clears the ConflictAndDeleted folder in DFSR for specified Group Policy Objects (GPOs) within a given forest. It allows excluding specific domains and domain controllers if needed.
|
||||||
[[-LimitProcessing] <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
|
||||||
```
|
## EXAMPLES
|
||||||
|
|
||||||
## DESCRIPTION
|
### EXAMPLE 1
|
||||||
{{ Fill in the Description }}
|
```powershell
|
||||||
|
PS > Clear-GPOZaurrSysvolDFSR -Forest "contoso.com" -IncludeDomains "child.contoso.com" -ExcludeDomainControllers "dc1.contoso.com" -SkipRODC
|
||||||
## EXAMPLES
|
Clears the ConflictAndDeleted folder in DFSR for GPOs in the "contoso.com" forest, including only the "child.contoso.com" domain and excluding the "dc1.contoso.com" domain controller.
|
||||||
|
```
|
||||||
### Example 1
|
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
### EXAMPLE 2
|
||||||
```
|
```powershell
|
||||||
|
PS > Clear-GPOZaurrSysvolDFSR -Forest "contoso.com" -IncludeDomains "child.contoso.com" -LimitProcessing 5
|
||||||
{{ Add example description here }}
|
Clears the ConflictAndDeleted folder in DFSR for GPOs in the "contoso.com" forest, including only the "child.contoso.com" domain, and processes a maximum of 5 GPOs.
|
||||||
|
```
|
||||||
## PARAMETERS
|
|
||||||
|
|
||||||
### -Confirm
|
## PARAMETERS
|
||||||
Prompts you for confirmation before running the cmdlet.
|
|
||||||
|
### -ExcludeDomainControllers
|
||||||
```yaml
|
Specifies an array of domain controllers to exclude from the cleanup process.
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
```yaml
|
||||||
Aliases: cf
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
Required: False
|
Aliases:
|
||||||
Position: Named
|
Possible values:
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
Required: False
|
||||||
Accept wildcard characters: False
|
Position: 2
|
||||||
```
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
### -ExcludeDomainControllers
|
Accept wildcard characters: True
|
||||||
{{ Fill ExcludeDomainControllers Description }}
|
```
|
||||||
|
|
||||||
```yaml
|
### -ExcludeDomains
|
||||||
Type: String[]
|
Specifies an array of domains to exclude from the cleanup process.
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
```yaml
|
||||||
|
Type: String[]
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: 2
|
Aliases:
|
||||||
Default value: None
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: 1
|
||||||
|
Default value: None
|
||||||
### -ExcludeDomains
|
Accept pipeline input: False
|
||||||
{{ Fill ExcludeDomains Description }}
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: String[]
|
### -ExtendedForestInformation
|
||||||
Parameter Sets: (All)
|
Specifies additional forest information if needed.
|
||||||
Aliases:
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: IDictionary
|
||||||
Position: 1
|
Parameter Sets: __AllParameterSets
|
||||||
Default value: None
|
Aliases:
|
||||||
Accept pipeline input: False
|
Possible values:
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: 5
|
||||||
### -ExtendedForestInformation
|
Default value: None
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: IDictionary
|
|
||||||
Parameter Sets: (All)
|
### -Forest
|
||||||
Aliases:
|
Specifies the forest name where the GPOs are located.
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: 5
|
Type: String
|
||||||
Default value: None
|
Parameter Sets: __AllParameterSets
|
||||||
Accept pipeline input: False
|
Aliases: ForestName
|
||||||
Accept wildcard characters: False
|
Possible values:
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### -Forest
|
Position: 0
|
||||||
{{ Fill Forest Description }}
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
```yaml
|
Accept wildcard characters: True
|
||||||
Type: String
|
```
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: ForestName
|
### -IncludeDomainControllers
|
||||||
|
Specifies an array of domain controllers to include in the cleanup process.
|
||||||
Required: False
|
|
||||||
Position: 0
|
```yaml
|
||||||
Default value: None
|
Type: String[]
|
||||||
Accept pipeline input: False
|
Parameter Sets: __AllParameterSets
|
||||||
Accept wildcard characters: False
|
Aliases: DomainControllers
|
||||||
```
|
Possible values:
|
||||||
|
|
||||||
### -IncludeDomainControllers
|
Required: False
|
||||||
{{ Fill IncludeDomainControllers Description }}
|
Position: 4
|
||||||
|
Default value: None
|
||||||
```yaml
|
Accept pipeline input: False
|
||||||
Type: String[]
|
Accept wildcard characters: True
|
||||||
Parameter Sets: (All)
|
```
|
||||||
Aliases: DomainControllers
|
|
||||||
|
### -IncludeDomains
|
||||||
Required: False
|
Specifies an array of domains to include in the cleanup process.
|
||||||
Position: 4
|
|
||||||
Default value: None
|
```yaml
|
||||||
Accept pipeline input: False
|
Type: String[]
|
||||||
Accept wildcard characters: False
|
Parameter Sets: __AllParameterSets
|
||||||
```
|
Aliases: Domain, Domains
|
||||||
|
Possible values:
|
||||||
### -IncludeDomains
|
|
||||||
{{ Fill IncludeDomains Description }}
|
Required: False
|
||||||
|
Position: 3
|
||||||
```yaml
|
Default value: None
|
||||||
Type: String[]
|
Accept pipeline input: False
|
||||||
Parameter Sets: (All)
|
Accept wildcard characters: True
|
||||||
Aliases: Domain, Domains
|
```
|
||||||
|
|
||||||
Required: False
|
### -LimitProcessing
|
||||||
Position: 3
|
Specifies the maximum number of GPOs to process.
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
```yaml
|
||||||
Accept wildcard characters: False
|
Type: Int32
|
||||||
```
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
### -LimitProcessing
|
Possible values:
|
||||||
{{ Fill LimitProcessing Description }}
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: 6
|
||||||
Type: Int32
|
Default value: 2147483647
|
||||||
Parameter Sets: (All)
|
Accept pipeline input: False
|
||||||
Aliases:
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
Required: False
|
|
||||||
Position: 6
|
### -SkipRODC
|
||||||
Default value: None
|
Indicates whether Read-Only Domain Controllers (RODCs) should be skipped during cleanup.
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
```yaml
|
||||||
```
|
Type: SwitchParameter
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
### -SkipRODC
|
Aliases:
|
||||||
{{ Fill SkipRODC Description }}
|
Possible values:
|
||||||
|
|
||||||
```yaml
|
Required: False
|
||||||
Type: SwitchParameter
|
Position: named
|
||||||
Parameter Sets: (All)
|
Default value: False
|
||||||
Aliases:
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
Required: False
|
```
|
||||||
Position: Named
|
|
||||||
Default value: None
|
### CommonParameters
|
||||||
Accept pipeline input: False
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
## INPUTS
|
||||||
|
|
||||||
### -WhatIf
|
- `None`
|
||||||
Shows what would happen if the cmdlet runs.
|
|
||||||
The cmdlet is not run.
|
## OUTPUTS
|
||||||
|
|
||||||
```yaml
|
- `None`
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
## RELATED LINKS
|
||||||
Aliases: wi
|
|
||||||
|
- None
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
### None
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
### System.Object
|
|
||||||
## NOTES
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
@@ -1,75 +1,84 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# ConvertFrom-CSExtension
|
||||||
# ConvertFrom-CSExtension
|
## SYNOPSIS
|
||||||
|
Converts Client-side Extension (CSE) GUIDs to their corresponding names.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
ConvertFrom-CSExtension [[-CSE] <string[]>] [-Limited] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
ConvertFrom-CSExtension [[-CSE] <String[]>] [-Limited] [<CommonParameters>]
|
|
||||||
```
|
## DESCRIPTION
|
||||||
|
This function takes an array of CSE GUIDs and returns their corresponding names. It can be used to easily identify the purpose of each CSE GUID.
|
||||||
## DESCRIPTION
|
|
||||||
{{ Fill in the Description }}
|
## EXAMPLES
|
||||||
|
|
||||||
## EXAMPLES
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
### Example 1
|
PS > ConvertFrom-CSExtension -CSE '{35378EAC-683F-11D2-A89A-00C04FBBCFA2}', '{0F6B957E-509E-11D1-A7CC-0000F87571E3}' -Limited
|
||||||
```powershell
|
Converts the specified CSE GUIDs to their corresponding names, limited to a predefined set.
|
||||||
PS C:\> {{ Add example code here }}
|
```
|
||||||
```
|
|
||||||
|
|
||||||
{{ Add example description here }}
|
### EXAMPLE 2
|
||||||
|
```powershell
|
||||||
## PARAMETERS
|
PS > ConvertFrom-CSExtension -CSE '{D02B1F73-3407-48AE-BA88-E8213C6761F1}', '{0ACDD40C-75AC-47ab-BAA0-BF6DE7E7FE63}'
|
||||||
|
Converts the specified CSE GUIDs to their corresponding names without any limitations.
|
||||||
### -CSE
|
```
|
||||||
{{ Fill CSE Description }}
|
|
||||||
|
|
||||||
```yaml
|
## PARAMETERS
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
### -CSE
|
||||||
Aliases:
|
Specifies an array of Client-side Extension (CSE) GUIDs to be converted to names.
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: 0
|
Type: String[]
|
||||||
Default value: None
|
Parameter Sets: __AllParameterSets
|
||||||
Accept pipeline input: False
|
Aliases:
|
||||||
Accept wildcard characters: False
|
Possible values:
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### -Limited
|
Position: 0
|
||||||
{{ Fill Limited Description }}
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
```yaml
|
Accept wildcard characters: True
|
||||||
Type: SwitchParameter
|
```
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
### -Limited
|
||||||
|
Indicates whether the conversion should be limited to a predefined set of CSE GUIDs.
|
||||||
Required: False
|
|
||||||
Position: Named
|
```yaml
|
||||||
Default value: None
|
Type: SwitchParameter
|
||||||
Accept pipeline input: False
|
Parameter Sets: __AllParameterSets
|
||||||
Accept wildcard characters: False
|
Aliases:
|
||||||
```
|
Possible values:
|
||||||
|
|
||||||
### CommonParameters
|
Required: False
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
Position: named
|
||||||
|
Default value: False
|
||||||
## INPUTS
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### None
|
```
|
||||||
|
|
||||||
## OUTPUTS
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
### System.Object
|
|
||||||
## NOTES
|
## INPUTS
|
||||||
|
|
||||||
## RELATED LINKS
|
- `None`
|
||||||
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
@@ -1,73 +1,77 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Export-GPOZaurrContent
|
||||||
# Export-GPOZaurrContent
|
## SYNOPSIS
|
||||||
|
Exports Group Policy Objects (GPOs) to XML or HTML files.
|
||||||
## SYNOPSIS
|
|
||||||
Saves GPOs to XML or HTML files.
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Export-GPOZaurrContent [-FolderOutput] <string> [[-ReportType] <string>] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Export-GPOZaurrContent [-FolderOutput] <String> [[-ReportType] <String>] [<CommonParameters>]
|
|
||||||
```
|
## DESCRIPTION
|
||||||
|
This function exports GPOs to either XML or HTML files based on the specified parameters.
|
||||||
## DESCRIPTION
|
|
||||||
Saves GPOs to XML or HTML files.
|
## EXAMPLES
|
||||||
|
|
||||||
## EXAMPLES
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
### EXAMPLE 1
|
PS > Export-GPOZaurrContent -FolderOutput "C:\ExportedGPOs" -ReportType HTML
|
||||||
```
|
Exports all GPOs to HTML format and saves them in the "C:\ExportedGPOs" folder.
|
||||||
An example
|
```
|
||||||
```
|
|
||||||
|
|
||||||
## PARAMETERS
|
## PARAMETERS
|
||||||
|
|
||||||
### -FolderOutput
|
### -FolderOutput
|
||||||
The folder where the GPOs will be saved.
|
Specifies the folder path where the exported GPO files will be saved.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: String
|
Type: String
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases: Path
|
Aliases: Path
|
||||||
|
Possible values:
|
||||||
Required: True
|
|
||||||
Position: 1
|
Required: True
|
||||||
Default value: None
|
Position: 0
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -ReportType
|
|
||||||
The type of report to generate.
|
### -ReportType
|
||||||
Valid values are XML or HTML.
|
Specifies the type of report to generate. Valid values are XML or HTML. The default value is XML.
|
||||||
Default is XML.
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String
|
||||||
Type: String
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases:
|
||||||
Aliases:
|
Possible values: XML, HTML
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 2
|
Position: 1
|
||||||
Default value: XML
|
Default value: XML
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### CommonParameters
|
### CommonParameters
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
## INPUTS
|
## INPUTS
|
||||||
|
|
||||||
## OUTPUTS
|
- `None`
|
||||||
|
|
||||||
## NOTES
|
## OUTPUTS
|
||||||
General notes
|
|
||||||
|
- `None`
|
||||||
## RELATED LINKS
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+84
-75
@@ -1,75 +1,84 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Find-CSExtension
|
||||||
# Find-CSExtension
|
## SYNOPSIS
|
||||||
|
This function retrieves Group Policy Client Side Extensions (CSEs) from a specified Windows computer.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Find-CSExtension [[-CSE] <string[]>] [[-ComputerName] <string>] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Find-CSExtension [[-CSE] <String[]>] [[-ComputerName] <String>] [<CommonParameters>]
|
|
||||||
```
|
## DESCRIPTION
|
||||||
|
The Find-CSExtension function lists Group Policy Client Side Extensions (CSEs) configured on a Windows computer. It queries the Windows Registry to retrieve information about the CSEs.
|
||||||
## DESCRIPTION
|
|
||||||
{{ Fill in the Description }}
|
## EXAMPLES
|
||||||
|
|
||||||
## EXAMPLES
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
### Example 1
|
PS > Find-CSExtension -ComputerName "Computer01"
|
||||||
```powershell
|
Retrieves all CSEs configured on the computer named "Computer01".
|
||||||
PS C:\> {{ Add example code here }}
|
```
|
||||||
```
|
|
||||||
|
|
||||||
{{ Add example description here }}
|
### EXAMPLE 2
|
||||||
|
```powershell
|
||||||
## PARAMETERS
|
PS > Find-CSExtension -CSE "CSE1", "CSE2" -ComputerName "Computer02"
|
||||||
|
Retrieves information about CSEs named "CSE1" and "CSE2" on the computer named "Computer02".
|
||||||
### -CSE
|
```
|
||||||
{{ Fill CSE Description }}
|
|
||||||
|
|
||||||
```yaml
|
## PARAMETERS
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
### -ComputerName
|
||||||
Aliases:
|
Specifies the name of the computer from which to retrieve the CSE information.
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: 0
|
Type: String
|
||||||
Default value: None
|
Parameter Sets: __AllParameterSets
|
||||||
Accept pipeline input: False
|
Aliases:
|
||||||
Accept wildcard characters: False
|
Possible values:
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### -ComputerName
|
Position: 1
|
||||||
{{ Fill ComputerName Description }}
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
```yaml
|
Accept wildcard characters: True
|
||||||
Type: String
|
```
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
### -CSE
|
||||||
|
Specifies an array of CSE names to filter the results. If not provided, all CSEs will be listed.
|
||||||
Required: False
|
|
||||||
Position: 1
|
```yaml
|
||||||
Default value: None
|
Type: String[]
|
||||||
Accept pipeline input: False
|
Parameter Sets: __AllParameterSets
|
||||||
Accept wildcard characters: False
|
Aliases:
|
||||||
```
|
Possible values:
|
||||||
|
|
||||||
### CommonParameters
|
Required: False
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
Position: 0
|
||||||
|
Default value: None
|
||||||
## INPUTS
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### None
|
```
|
||||||
|
|
||||||
## OUTPUTS
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
### System.Object
|
|
||||||
## NOTES
|
## INPUTS
|
||||||
|
|
||||||
## RELATED LINKS
|
- `None`
|
||||||
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+273
-265
@@ -1,265 +1,273 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurr
|
||||||
# Get-GPOZaurr
|
## SYNOPSIS
|
||||||
|
Gets information about all Group Policies. Similar to what Get-GPO provides by default.
|
||||||
## SYNOPSIS
|
|
||||||
Gets information about all Group Policies.
|
## SYNTAX
|
||||||
Similar to what Get-GPO provides by default.
|
### __AllParameterSets
|
||||||
|
```powershell
|
||||||
## SYNTAX
|
Get-GPOZaurr [[-ExcludeGroupPolicies] <scriptblock>] [[-GPOName] <string>] [[-GPOGuid] <string>] [[-Type] <string[]>] [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [[-GPOPath] <string[]>] [[-ADAdministrativeGroups] <IDictionary>] [-PermissionsOnly] [-OwnerOnly] [-Limited] [<CommonParameters>]
|
||||||
|
```
|
||||||
```
|
|
||||||
Get-GPOZaurr [[-ExcludeGroupPolicies] <ScriptBlock>] [[-GPOName] <String>] [[-GPOGuid] <String>]
|
## DESCRIPTION
|
||||||
[[-Type] <String[]>] [[-Forest] <String>] [[-ExcludeDomains] <String[]>] [[-IncludeDomains] <String[]>]
|
Gets information about all Group Policies. Similar to what Get-GPO provides by default.
|
||||||
[[-ExtendedForestInformation] <IDictionary>] [[-GPOPath] <String[]>] [-PermissionsOnly] [-OwnerOnly]
|
|
||||||
[-Limited] [[-ADAdministrativeGroups] <IDictionary>] [<CommonParameters>]
|
## EXAMPLES
|
||||||
```
|
|
||||||
|
### EXAMPLE 1
|
||||||
## DESCRIPTION
|
```powershell
|
||||||
Gets information about all Group Policies.
|
PS > $GPOs = Get-GPOZaurr
|
||||||
Similar to what Get-GPO provides by default.
|
$GPOs | Format-Table DisplayName, Owner, OwnerSID, OwnerType
|
||||||
|
```
|
||||||
## EXAMPLES
|
|
||||||
|
|
||||||
### EXAMPLE 1
|
### EXAMPLE 2
|
||||||
```
|
```powershell
|
||||||
$GPOs = Get-GPOZaurr
|
PS > $GPO = Get-GPOZaurr -GPOName 'ALL | Allow use of biometrics'
|
||||||
```
|
$GPO | Format-List *
|
||||||
|
```
|
||||||
$GPOs | Format-Table DisplayName, Owner, OwnerSID, OwnerType
|
|
||||||
|
|
||||||
### EXAMPLE 2
|
### EXAMPLE 3
|
||||||
```
|
```powershell
|
||||||
$GPO = Get-GPOZaurr -GPOName 'ALL | Allow use of biometrics'
|
PS > $GPOS = Get-GPOZaurr -ExcludeGroupPolicies {
|
||||||
```
|
Skip-GroupPolicy -Name 'de14_usr_std'
|
||||||
|
Skip-GroupPolicy -Name 'de14_usr_std' -DomaiName 'ad.evotec.xyz'
|
||||||
$GPO | Format-List *
|
Skip-GroupPolicy -Name 'All | Trusted Websites' #-DomaiName 'ad.evotec.xyz'
|
||||||
|
'{D39BF08A-87BF-4662-BFA0-E56240EBD5A2}'
|
||||||
### EXAMPLE 3
|
'COMPUTERS | Enable Sets'
|
||||||
```
|
}
|
||||||
$GPOS = Get-GPOZaurr -ExcludeGroupPolicies {
|
$GPOS | Format-Table -AutoSize *
|
||||||
```
|
```
|
||||||
|
|
||||||
Skip-GroupPolicy -Name 'de14_usr_std'
|
|
||||||
Skip-GroupPolicy -Name 'de14_usr_std' -DomaiName 'ad.evotec.xyz'
|
## PARAMETERS
|
||||||
Skip-GroupPolicy -Name 'All | Trusted Websites' #-DomaiName 'ad.evotec.xyz'
|
|
||||||
'{D39BF08A-87BF-4662-BFA0-E56240EBD5A2}'
|
### -ADAdministrativeGroups
|
||||||
'COMPUTERS | Enable Sets'
|
Ability to provide ADAdministrativeGroups from different function to speed up processing
|
||||||
}
|
|
||||||
$GPOS | Format-Table -AutoSize *
|
```yaml
|
||||||
|
Type: IDictionary
|
||||||
## PARAMETERS
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
### -ExcludeGroupPolicies
|
Possible values:
|
||||||
Marks the GPO as excluded from the list.
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: 9
|
||||||
Type: ScriptBlock
|
Default value: None
|
||||||
Parameter Sets: (All)
|
Accept pipeline input: False
|
||||||
Aliases:
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
Required: False
|
|
||||||
Position: 1
|
### -ExcludeDomains
|
||||||
Default value: None
|
Exclude domain from search, by default whole forest is scanned
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
```yaml
|
||||||
```
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
### -GPOName
|
Aliases:
|
||||||
Provide a GPOName to get information about a specific GPO.
|
Possible values:
|
||||||
|
|
||||||
```yaml
|
Required: False
|
||||||
Type: String
|
Position: 5
|
||||||
Parameter Sets: (All)
|
Default value: None
|
||||||
Aliases:
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
Required: False
|
```
|
||||||
Position: 2
|
|
||||||
Default value: None
|
### -ExcludeGroupPolicies
|
||||||
Accept pipeline input: False
|
Marks the GPO as excluded from the list.
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
```yaml
|
||||||
|
Type: ScriptBlock
|
||||||
### -GPOGuid
|
Parameter Sets: __AllParameterSets
|
||||||
Provide a GPOGuid to get information about a specific GPO.
|
Aliases:
|
||||||
|
Possible values:
|
||||||
```yaml
|
|
||||||
Type: String
|
Required: False
|
||||||
Parameter Sets: (All)
|
Position: 0
|
||||||
Aliases: GUID, GPOID
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
Required: False
|
Accept wildcard characters: True
|
||||||
Position: 3
|
```
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
### -ExtendedForestInformation
|
||||||
Accept wildcard characters: False
|
Ability to provide Forest Information from another command to speed up processing
|
||||||
```
|
|
||||||
|
```yaml
|
||||||
### -Type
|
Type: IDictionary
|
||||||
Choose a specific type of GPO.
|
Parameter Sets: __AllParameterSets
|
||||||
Options are: 'Empty', 'Unlinked', 'Disabled', 'NoApplyPermission', 'All'.
|
Aliases:
|
||||||
Default is All.
|
Possible values:
|
||||||
|
|
||||||
```yaml
|
Required: False
|
||||||
Type: String[]
|
Position: 7
|
||||||
Parameter Sets: (All)
|
Default value: None
|
||||||
Aliases:
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
Required: False
|
```
|
||||||
Position: 4
|
|
||||||
Default value: None
|
### -Forest
|
||||||
Accept pipeline input: False
|
Target different Forest, by default current forest is used
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
```yaml
|
||||||
|
Type: String
|
||||||
### -Forest
|
Parameter Sets: __AllParameterSets
|
||||||
Target different Forest, by default current forest is used
|
Aliases: ForestName
|
||||||
|
Possible values:
|
||||||
```yaml
|
|
||||||
Type: String
|
Required: False
|
||||||
Parameter Sets: (All)
|
Position: 4
|
||||||
Aliases: ForestName
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
Required: False
|
Accept wildcard characters: True
|
||||||
Position: 5
|
```
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
### -GPOGuid
|
||||||
Accept wildcard characters: False
|
Provide a GPOGuid to get information about a specific GPO.
|
||||||
```
|
|
||||||
|
```yaml
|
||||||
### -ExcludeDomains
|
Type: String
|
||||||
Exclude domain from search, by default whole forest is scanned
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases: GUID, GPOID
|
||||||
```yaml
|
Possible values:
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
Required: False
|
||||||
Aliases:
|
Position: 2
|
||||||
|
Default value: None
|
||||||
Required: False
|
Accept pipeline input: False
|
||||||
Position: 6
|
Accept wildcard characters: True
|
||||||
Default value: None
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -GPOName
|
||||||
```
|
Provide a GPOName to get information about a specific GPO.
|
||||||
|
|
||||||
### -IncludeDomains
|
```yaml
|
||||||
Include only specific domains, by default whole forest is scanned
|
Type: String
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases:
|
||||||
Type: String[]
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: Domain, Domains
|
Required: False
|
||||||
|
Position: 1
|
||||||
Required: False
|
Default value: None
|
||||||
Position: 7
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -GPOPath
|
||||||
|
Define GPOPath where the XML files are located to be analyzed instead of asking Active Directory
|
||||||
### -ExtendedForestInformation
|
|
||||||
Ability to provide Forest Information from another command to speed up processing
|
```yaml
|
||||||
|
Type: String[]
|
||||||
```yaml
|
Parameter Sets: __AllParameterSets
|
||||||
Type: IDictionary
|
Aliases:
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: 8
|
||||||
Position: 8
|
Default value: None
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -IncludeDomains
|
||||||
### -GPOPath
|
Include only specific domains, by default whole forest is scanned
|
||||||
Define GPOPath where the XML files are located to be analyzed instead of asking Active Directory
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String[]
|
||||||
Type: String[]
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases: Domain, Domains
|
||||||
Aliases:
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 9
|
Position: 6
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -PermissionsOnly
|
### -Limited
|
||||||
Only show permissions, by default all information is shown
|
Provide limited output without analyzing XML data
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: SwitchParameter
|
Type: SwitchParameter
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases:
|
Aliases:
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: Named
|
Required: False
|
||||||
Default value: False
|
Position: named
|
||||||
Accept pipeline input: False
|
Default value: False
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -OwnerOnly
|
|
||||||
only show owner information, by default all information is shown
|
### -OwnerOnly
|
||||||
|
only show owner information, by default all information is shown
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: SwitchParameter
|
||||||
Aliases:
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
Required: False
|
Possible values:
|
||||||
Position: Named
|
|
||||||
Default value: False
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: named
|
||||||
Accept wildcard characters: False
|
Default value: False
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -Limited
|
```
|
||||||
Provide limited output without analyzing XML data
|
|
||||||
|
### -PermissionsOnly
|
||||||
```yaml
|
Only show permissions, by default all information is shown
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
```yaml
|
||||||
Aliases:
|
Type: SwitchParameter
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
Required: False
|
Aliases:
|
||||||
Position: Named
|
Possible values:
|
||||||
Default value: False
|
|
||||||
Accept pipeline input: False
|
Required: False
|
||||||
Accept wildcard characters: False
|
Position: named
|
||||||
```
|
Default value: False
|
||||||
|
Accept pipeline input: False
|
||||||
### -ADAdministrativeGroups
|
Accept wildcard characters: True
|
||||||
Ability to provide ADAdministrativeGroups from different function to speed up processing
|
```
|
||||||
|
|
||||||
```yaml
|
### -Type
|
||||||
Type: IDictionary
|
Choose a specific type of GPO. Options are: 'Empty', 'Unlinked', 'Disabled', 'NoApplyPermission', 'All'. Default is All.
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
```yaml
|
||||||
|
Type: String[]
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: 10
|
Aliases:
|
||||||
Default value: None
|
Possible values: Empty, Unlinked, Disabled, NoApplyPermission, All
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: 3
|
||||||
|
Default value: None
|
||||||
### CommonParameters
|
Accept pipeline input: False
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
## INPUTS
|
|
||||||
|
### CommonParameters
|
||||||
## OUTPUTS
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
## NOTES
|
## INPUTS
|
||||||
General notes
|
|
||||||
|
- `None`
|
||||||
## RELATED LINKS
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+232
-214
@@ -1,214 +1,232 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrAD
|
||||||
# Get-GPOZaurrAD
|
## SYNOPSIS
|
||||||
|
Retrieves Group Policy Objects (GPOs) information from Active Directory.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### Default (Default)
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrAD [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-DateFrom <datetime>] [-DateTo <datetime>] [-DateRange <string>] [-DateProperty <string[]>] [-ExtendedForestInformation <IDictionary>] [<CommonParameters>]
|
||||||
### Default (Default)
|
```
|
||||||
```
|
|
||||||
Get-GPOZaurrAD [-Forest <String>] [-ExcludeDomains <String[]>] [-IncludeDomains <String[]>]
|
### GPOName
|
||||||
[-DateFrom <DateTime>] [-DateTo <DateTime>] [-DateRange <String>] [-DateProperty <String[]>]
|
```powershell
|
||||||
[-ExtendedForestInformation <IDictionary>] [<CommonParameters>]
|
Get-GPOZaurrAD [-GPOName <string>] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-DateFrom <datetime>] [-DateTo <datetime>] [-DateRange <string>] [-DateProperty <string[]>] [-ExtendedForestInformation <IDictionary>] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
|
|
||||||
### GPOName
|
### GPOGUID
|
||||||
```
|
```powershell
|
||||||
Get-GPOZaurrAD [-GPOName <String>] [-Forest <String>] [-ExcludeDomains <String[]>] [-IncludeDomains <String[]>]
|
Get-GPOZaurrAD [-GPOGuid <string>] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-DateFrom <datetime>] [-DateTo <datetime>] [-DateRange <string>] [-DateProperty <string[]>] [-ExtendedForestInformation <IDictionary>] [<CommonParameters>]
|
||||||
[-DateFrom <DateTime>] [-DateTo <DateTime>] [-DateRange <String>] [-DateProperty <String[]>]
|
```
|
||||||
[-ExtendedForestInformation <IDictionary>] [<CommonParameters>]
|
|
||||||
```
|
## DESCRIPTION
|
||||||
|
This function retrieves information about Group Policy Objects (GPOs) from Active Directory based on specified criteria such as GPO name, GPO GUID, date range, and forest details.
|
||||||
### GPOGUID
|
|
||||||
```
|
## EXAMPLES
|
||||||
Get-GPOZaurrAD [-GPOGuid <String>] [-Forest <String>] [-ExcludeDomains <String[]>] [-IncludeDomains <String[]>]
|
|
||||||
[-DateFrom <DateTime>] [-DateTo <DateTime>] [-DateRange <String>] [-DateProperty <String[]>]
|
### EXAMPLE 1
|
||||||
[-ExtendedForestInformation <IDictionary>] [<CommonParameters>]
|
```powershell
|
||||||
```
|
PS > Get-GPOZaurrAD -GPOName "ExampleGPO"
|
||||||
|
```
|
||||||
## DESCRIPTION
|
|
||||||
{{ Fill in the Description }}
|
Description:
|
||||||
|
Retrieves information about a GPO with the name "ExampleGPO".
|
||||||
## EXAMPLES
|
|
||||||
|
### EXAMPLE 2
|
||||||
### Example 1
|
```powershell
|
||||||
```powershell
|
PS > Get-GPOZaurrAD -GPOGuid "{12345678-1234-1234-1234-123456789012}"
|
||||||
PS C:\> {{ Add example code here }}
|
```
|
||||||
```
|
|
||||||
|
Description:
|
||||||
{{ Add example description here }}
|
Retrieves information about a GPO with the specified GUID.
|
||||||
|
|
||||||
## PARAMETERS
|
### EXAMPLE 3
|
||||||
|
```powershell
|
||||||
### -DateFrom
|
PS > Get-GPOZaurrAD -Forest "example.com" -IncludeDomains "domain1", "domain2" -DateRange "Last30Days"
|
||||||
{{ Fill DateFrom Description }}
|
```
|
||||||
|
|
||||||
```yaml
|
Description:
|
||||||
Type: DateTime
|
Retrieves GPO information from the forest "example.com" for domains "domain1" and "domain2" created or modified in the last 30 days.
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
## PARAMETERS
|
||||||
|
|
||||||
Required: False
|
### -DateFrom
|
||||||
Position: Named
|
Specifies the start date for filtering GPOs based on creation or modification date.
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
```yaml
|
||||||
Accept wildcard characters: False
|
Type: DateTime
|
||||||
```
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
|
Aliases:
|
||||||
### -DateProperty
|
Possible values:
|
||||||
{{ Fill DateProperty Description }}
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: named
|
||||||
Type: String[]
|
Default value: None
|
||||||
Parameter Sets: (All)
|
Accept pipeline input: False
|
||||||
Aliases:
|
Accept wildcard characters: True
|
||||||
Accepted values: WhenCreated, WhenChanged
|
```
|
||||||
|
|
||||||
Required: False
|
### -DateProperty
|
||||||
Position: Named
|
Specifies the property (WhenCreated or WhenChanged) to use for filtering GPOs based on date.
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
```yaml
|
||||||
Accept wildcard characters: False
|
Type: String[]
|
||||||
```
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
|
Aliases:
|
||||||
### -DateRange
|
Possible values: WhenCreated, WhenChanged
|
||||||
{{ Fill DateRange Description }}
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: named
|
||||||
Type: String
|
Default value: WhenCreated
|
||||||
Parameter Sets: (All)
|
Accept pipeline input: False
|
||||||
Aliases:
|
Accept wildcard characters: True
|
||||||
Accepted values: PastHour, CurrentHour, PastDay, CurrentDay, PastMonth, CurrentMonth, PastQuarter, CurrentQuarter, Last14Days, Last21Days, Last30Days, Last7Days, Last3Days, Last1Days
|
```
|
||||||
|
|
||||||
Required: False
|
### -DateRange
|
||||||
Position: Named
|
Specifies a predefined date range for filtering GPOs based on creation or modification date.
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
```yaml
|
||||||
Accept wildcard characters: False
|
Type: String
|
||||||
```
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
|
Aliases:
|
||||||
### -DateTo
|
Possible values: PastHour, CurrentHour, PastDay, CurrentDay, PastMonth, CurrentMonth, PastQuarter, CurrentQuarter, Last14Days, Last21Days, Last30Days, Last7Days, Last3Days, Last1Days
|
||||||
{{ Fill DateTo Description }}
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: named
|
||||||
Type: DateTime
|
Default value: None
|
||||||
Parameter Sets: (All)
|
Accept pipeline input: False
|
||||||
Aliases:
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
Required: False
|
|
||||||
Position: Named
|
### -DateTo
|
||||||
Default value: None
|
Specifies the end date for filtering GPOs based on creation or modification date.
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
```yaml
|
||||||
```
|
Type: DateTime
|
||||||
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
### -ExcludeDomains
|
Aliases:
|
||||||
{{ Fill ExcludeDomains Description }}
|
Possible values:
|
||||||
|
|
||||||
```yaml
|
Required: False
|
||||||
Type: String[]
|
Position: named
|
||||||
Parameter Sets: (All)
|
Default value: None
|
||||||
Aliases:
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
Required: False
|
```
|
||||||
Position: Named
|
|
||||||
Default value: None
|
### -ExcludeDomains
|
||||||
Accept pipeline input: False
|
Specifies an array of domains to exclude from the search.
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
```yaml
|
||||||
|
Type: String[]
|
||||||
### -ExtendedForestInformation
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
Aliases:
|
||||||
|
Possible values:
|
||||||
```yaml
|
|
||||||
Type: IDictionary
|
Required: False
|
||||||
Parameter Sets: (All)
|
Position: named
|
||||||
Aliases:
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
Required: False
|
Accept wildcard characters: True
|
||||||
Position: Named
|
```
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
### -ExtendedForestInformation
|
||||||
Accept wildcard characters: False
|
Specifies additional forest information to include in the output.
|
||||||
```
|
|
||||||
|
```yaml
|
||||||
### -Forest
|
Type: IDictionary
|
||||||
{{ Fill Forest Description }}
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
|
Aliases:
|
||||||
```yaml
|
Possible values:
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
Required: False
|
||||||
Aliases: ForestName
|
Position: named
|
||||||
|
Default value: None
|
||||||
Required: False
|
Accept pipeline input: False
|
||||||
Position: Named
|
Accept wildcard characters: True
|
||||||
Default value: None
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -Forest
|
||||||
```
|
Specifies the forest name to search for GPOs.
|
||||||
|
|
||||||
### -GPOGuid
|
```yaml
|
||||||
{{ Fill GPOGuid Description }}
|
Type: String
|
||||||
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
```yaml
|
Aliases: ForestName
|
||||||
Type: String
|
Possible values:
|
||||||
Parameter Sets: GPOGUID
|
|
||||||
Aliases: GUID, GPOID
|
Required: False
|
||||||
|
Position: named
|
||||||
Required: False
|
Default value: None
|
||||||
Position: Named
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -GPOGuid
|
||||||
|
Specifies the GUID of the GPO to retrieve.
|
||||||
### -GPOName
|
|
||||||
{{ Fill GPOName Description }}
|
```yaml
|
||||||
|
Type: String
|
||||||
```yaml
|
Parameter Sets: GPOGUID
|
||||||
Type: String
|
Aliases: GUID, GPOID
|
||||||
Parameter Sets: GPOName
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: named
|
||||||
Position: Named
|
Default value: None
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -GPOName
|
||||||
### -IncludeDomains
|
Specifies the name of the GPO to retrieve.
|
||||||
{{ Fill IncludeDomains Description }}
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String
|
||||||
Type: String[]
|
Parameter Sets: GPOName
|
||||||
Parameter Sets: (All)
|
Aliases:
|
||||||
Aliases: Domain, Domains
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: Named
|
Position: named
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### CommonParameters
|
### -IncludeDomains
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
Specifies an array of domains to include in the search.
|
||||||
|
|
||||||
## INPUTS
|
```yaml
|
||||||
|
Type: String[]
|
||||||
### None
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
|
Aliases: Domain, Domains
|
||||||
## OUTPUTS
|
Possible values:
|
||||||
|
|
||||||
### System.Object
|
Required: False
|
||||||
## NOTES
|
Position: named
|
||||||
|
Default value: None
|
||||||
## RELATED LINKS
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
|
## INPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
@@ -1,60 +1,70 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrBackupInformation
|
||||||
# Get-GPOZaurrBackupInformation
|
## SYNOPSIS
|
||||||
|
Retrieves backup information from GPOZaurr manifest files.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrBackupInformation [[-BackupFolder] <string[]>] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Get-GPOZaurrBackupInformation [[-BackupFolder] <String[]>] [<CommonParameters>]
|
|
||||||
```
|
## DESCRIPTION
|
||||||
|
This function retrieves backup information from GPOZaurr manifest files located in the specified BackupFolder(s).
|
||||||
## DESCRIPTION
|
|
||||||
{{ Fill in the Description }}
|
## EXAMPLES
|
||||||
|
|
||||||
## EXAMPLES
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
### Example 1
|
PS > Get-GPOZaurrBackupInformation -BackupFolder "C:\Backups"
|
||||||
```powershell
|
```
|
||||||
PS C:\> {{ Add example code here }}
|
|
||||||
```
|
Description:
|
||||||
|
Retrieves backup information from GPOZaurr manifest files located in the "C:\Backups" folder.
|
||||||
{{ Add example description here }}
|
|
||||||
|
### EXAMPLE 2
|
||||||
## PARAMETERS
|
```powershell
|
||||||
|
PS > Get-GPOZaurrBackupInformation -BackupFolder "C:\Backups", "D:\Archives"
|
||||||
### -BackupFolder
|
```
|
||||||
{{ Fill BackupFolder Description }}
|
|
||||||
|
Description:
|
||||||
```yaml
|
Retrieves backup information from GPOZaurr manifest files located in both "C:\Backups" and "D:\Archives" folders.
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
## PARAMETERS
|
||||||
Aliases:
|
|
||||||
|
### -BackupFolder
|
||||||
Required: False
|
Specifies the path(s) to the folder containing GPOZaurr manifest files.
|
||||||
Position: 0
|
|
||||||
Default value: None
|
```yaml
|
||||||
Accept pipeline input: False
|
Type: String[]
|
||||||
Accept wildcard characters: False
|
Parameter Sets: __AllParameterSets
|
||||||
```
|
Aliases:
|
||||||
|
Possible values:
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
Required: False
|
||||||
|
Position: 0
|
||||||
## INPUTS
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
### None
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
## OUTPUTS
|
|
||||||
|
### CommonParameters
|
||||||
### System.Object
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
## NOTES
|
|
||||||
|
## INPUTS
|
||||||
## RELATED LINKS
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+172
-166
@@ -1,172 +1,178 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrBroken
|
||||||
# Get-GPOZaurrBroken
|
## SYNOPSIS
|
||||||
|
Detects broken or otherwise damaged Group Policies
|
||||||
## SYNOPSIS
|
|
||||||
Detects broken or otherwise damaged Group Policies
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrBroken [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-ExcludeDomainControllers] <string[]>] [[-IncludeDomains] <string[]>] [[-IncludeDomainControllers] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [-SkipRODC] [-VerifyDomainControllers] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Get-GPOZaurrBroken [[-Forest] <String>] [[-ExcludeDomains] <String[]>] [[-ExcludeDomainControllers] <String[]>]
|
|
||||||
[[-IncludeDomains] <String[]>] [[-IncludeDomainControllers] <String[]>] [-SkipRODC]
|
## DESCRIPTION
|
||||||
[[-ExtendedForestInformation] <IDictionary>] [-VerifyDomainControllers] [<CommonParameters>]
|
|
||||||
```
|
|
||||||
|
|
||||||
## DESCRIPTION
|
|
||||||
Detects broken or otherwise damaged Group Policies providing insight whether GPO exists in both AD and SYSVOL.
|
Detects broken or otherwise damaged Group Policies providing insight whether GPO exists in both AD and SYSVOL.
|
||||||
It provides few statuses:
|
It provides few statuses:
|
||||||
- Permissions issue - means account couldn't read GPO due to permissions
|
- Permissions issue - means account couldn't read GPO due to permissions
|
||||||
- ObjectClass issue - means that ObjectClass is of type Container, rather than expected groupPolicyContainer
|
- ObjectClass issue - means that ObjectClass is of type Container, rather than expected groupPolicyContainer
|
||||||
- Not available on SYSVOL - means SYSVOL data is missing, yet AD metadata is available
|
- Not available on SYSVOL - means SYSVOL data is missing, yet AD metadata is available
|
||||||
- Not available in AD - means AD metadata is missing, yet SYSVOL data is available
|
- Not available in AD - means AD metadata is missing, yet SYSVOL data is available
|
||||||
- Exists - means AD metadata and SYSVOL data are available
|
- Exists - means AD metadata and SYSVOL data are available
|
||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
### EXAMPLE 1
|
### EXAMPLE 1
|
||||||
```
|
```powershell
|
||||||
Get-GPOZaurrBroken -Verbose | Format-Table
|
PS > Get-GPOZaurrBroken -Verbose | Format-Table
|
||||||
```
|
```
|
||||||
|
|
||||||
## PARAMETERS
|
|
||||||
|
## PARAMETERS
|
||||||
### -Forest
|
|
||||||
Target different Forest, by default current forest is used
|
### -ExcludeDomainControllers
|
||||||
|
Exclude specific domain controllers, by default there are no exclusions, as long as VerifyDomainControllers switch is enabled. Otherwise this parameter is ignored.
|
||||||
```yaml
|
|
||||||
Type: String
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: String[]
|
||||||
Aliases: ForestName
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
Required: False
|
Possible values:
|
||||||
Position: 1
|
|
||||||
Default value: None
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: 2
|
||||||
Accept wildcard characters: False
|
Default value: None
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -ExcludeDomains
|
```
|
||||||
Exclude domain from search, by default whole forest is scanned
|
|
||||||
|
### -ExcludeDomains
|
||||||
```yaml
|
Exclude domain from search, by default whole forest is scanned
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
```yaml
|
||||||
Aliases:
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
Required: False
|
Aliases:
|
||||||
Position: 2
|
Possible values:
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
Required: False
|
||||||
Accept wildcard characters: False
|
Position: 1
|
||||||
```
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
### -ExcludeDomainControllers
|
Accept wildcard characters: True
|
||||||
Exclude specific domain controllers, by default there are no exclusions, as long as VerifyDomainControllers switch is enabled.
|
```
|
||||||
Otherwise this parameter is ignored.
|
|
||||||
|
### -ExtendedForestInformation
|
||||||
```yaml
|
Ability to provide Forest Information from another command to speed up processing
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
```yaml
|
||||||
Aliases:
|
Type: IDictionary
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
Required: False
|
Aliases:
|
||||||
Position: 3
|
Possible values:
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
Required: False
|
||||||
Accept wildcard characters: False
|
Position: 5
|
||||||
```
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
### -IncludeDomains
|
Accept wildcard characters: True
|
||||||
Include only specific domains, by default whole forest is scanned
|
```
|
||||||
|
|
||||||
```yaml
|
### -Forest
|
||||||
Type: String[]
|
Target different Forest, by default current forest is used
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: Domain, Domains
|
```yaml
|
||||||
|
Type: String
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: 4
|
Aliases: ForestName
|
||||||
Default value: None
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: 0
|
||||||
|
Default value: None
|
||||||
### -IncludeDomainControllers
|
Accept pipeline input: False
|
||||||
Include only specific domain controllers, by default all domain controllers are included, as long as VerifyDomainControllers switch is enabled.
|
Accept wildcard characters: True
|
||||||
Otherwise this parameter is ignored.
|
```
|
||||||
|
|
||||||
```yaml
|
### -IncludeDomainControllers
|
||||||
Type: String[]
|
Include only specific domain controllers, by default all domain controllers are included, as long as VerifyDomainControllers switch is enabled. Otherwise this parameter is ignored.
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: DomainControllers
|
```yaml
|
||||||
|
Type: String[]
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: 5
|
Aliases: DomainControllers
|
||||||
Default value: None
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: 4
|
||||||
|
Default value: None
|
||||||
### -SkipRODC
|
Accept pipeline input: False
|
||||||
Skip Read-Only Domain Controllers.
|
Accept wildcard characters: True
|
||||||
By default all domain controllers are included.
|
```
|
||||||
|
|
||||||
```yaml
|
### -IncludeDomains
|
||||||
Type: SwitchParameter
|
Include only specific domains, by default whole forest is scanned
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
```yaml
|
||||||
|
Type: String[]
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: Named
|
Aliases: Domain, Domains
|
||||||
Default value: False
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: 3
|
||||||
|
Default value: None
|
||||||
### -ExtendedForestInformation
|
Accept pipeline input: False
|
||||||
Ability to provide Forest Information from another command to speed up processing
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: IDictionary
|
### -SkipRODC
|
||||||
Parameter Sets: (All)
|
Skip Read-Only Domain Controllers. By default all domain controllers are included.
|
||||||
Aliases:
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: SwitchParameter
|
||||||
Position: 6
|
Parameter Sets: __AllParameterSets
|
||||||
Default value: None
|
Aliases:
|
||||||
Accept pipeline input: False
|
Possible values:
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: named
|
||||||
### -VerifyDomainControllers
|
Default value: False
|
||||||
Forces cmdlet to check GPO Existance on Domain Controllers rather then per domain
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
### -VerifyDomainControllers
|
||||||
Aliases:
|
Forces cmdlet to check GPO Existance on Domain Controllers rather then per domain
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: Named
|
Type: SwitchParameter
|
||||||
Default value: False
|
Parameter Sets: __AllParameterSets
|
||||||
Accept pipeline input: False
|
Aliases:
|
||||||
Accept wildcard characters: False
|
Possible values:
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### CommonParameters
|
Position: named
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
Default value: False
|
||||||
|
Accept pipeline input: False
|
||||||
## INPUTS
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
## OUTPUTS
|
|
||||||
|
### CommonParameters
|
||||||
## NOTES
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
General notes
|
|
||||||
|
## INPUTS
|
||||||
## RELATED LINKS
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+114
-107
@@ -1,107 +1,114 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrBrokenLink
|
||||||
# Get-GPOZaurrBrokenLink
|
## SYNOPSIS
|
||||||
|
Finds any GPO link that doesn't have a matching GPO (already removed GPO).
|
||||||
## SYNOPSIS
|
|
||||||
Finds any GPO link that doesn't have a matching GPO (already removed GPO).
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrBrokenLink [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Get-GPOZaurrBrokenLink [[-Forest] <String>] [[-ExcludeDomains] <String[]>] [[-IncludeDomains] <String[]>]
|
|
||||||
[[-ExtendedForestInformation] <IDictionary>] [<CommonParameters>]
|
## DESCRIPTION
|
||||||
```
|
Finds any GPO link that doesn't have a matching GPO (already removed GPO).
|
||||||
|
|
||||||
## DESCRIPTION
|
## EXAMPLES
|
||||||
Finds any GPO link that doesn't have a matching GPO (already removed GPO).
|
|
||||||
|
### EXAMPLE 1
|
||||||
## EXAMPLES
|
```powershell
|
||||||
|
PS > Get-GPOZaurrBrokenLink -Verbose | Format-Table -AutoSize *
|
||||||
### EXAMPLE 1
|
```
|
||||||
```
|
|
||||||
Get-GPOZaurrBrokenLink -Verbose | Format-Table -AutoSize *
|
|
||||||
```
|
### EXAMPLE 2
|
||||||
|
```powershell
|
||||||
### EXAMPLE 2
|
PS > Get-GPOZaurrBrokenLink -Verbose -IncludeDomains ad.evotec.pl | Format-Table -AutoSize *
|
||||||
```
|
```
|
||||||
Get-GPOZaurrBrokenLink -Verbose -IncludeDomains ad.evotec.pl | Format-Table -AutoSize *
|
|
||||||
```
|
|
||||||
|
## PARAMETERS
|
||||||
## PARAMETERS
|
|
||||||
|
### -ExcludeDomains
|
||||||
### -Forest
|
Exclude domain from search, by default whole forest is scanned
|
||||||
Target different Forest, by default current forest is used
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String[]
|
||||||
Type: String
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases:
|
||||||
Aliases: ForestName
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 1
|
Position: 1
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -ExcludeDomains
|
### -ExtendedForestInformation
|
||||||
Exclude domain from search, by default whole forest is scanned
|
Ability to provide Forest Information from another command to speed up processing
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: String[]
|
Type: IDictionary
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases:
|
Aliases:
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 2
|
Required: False
|
||||||
Default value: None
|
Position: 3
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -IncludeDomains
|
|
||||||
Include only specific domains, by default whole forest is scanned
|
### -Forest
|
||||||
|
Target different Forest, by default current forest is used
|
||||||
```yaml
|
|
||||||
Type: String[]
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: String
|
||||||
Aliases: Domain, Domains
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases: ForestName
|
||||||
Required: False
|
Possible values:
|
||||||
Position: 3
|
|
||||||
Default value: None
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: 0
|
||||||
Accept wildcard characters: False
|
Default value: None
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -ExtendedForestInformation
|
```
|
||||||
Ability to provide Forest Information from another command to speed up processing
|
|
||||||
|
### -IncludeDomains
|
||||||
```yaml
|
Include only specific domains, by default whole forest is scanned
|
||||||
Type: IDictionary
|
|
||||||
Parameter Sets: (All)
|
```yaml
|
||||||
Aliases:
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
Required: False
|
Aliases: Domain, Domains
|
||||||
Position: 4
|
Possible values:
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
Required: False
|
||||||
Accept wildcard characters: False
|
Position: 2
|
||||||
```
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
### CommonParameters
|
Accept wildcard characters: True
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
```
|
||||||
|
|
||||||
## INPUTS
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
## OUTPUTS
|
|
||||||
|
## INPUTS
|
||||||
## NOTES
|
|
||||||
General notes
|
- `None`
|
||||||
|
|
||||||
## RELATED LINKS
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
@@ -1,60 +1,68 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrDictionary
|
||||||
# Get-GPOZaurrDictionary
|
## SYNOPSIS
|
||||||
|
Retrieves a dictionary of Group Policy Objects (GPOs) with their associated types and paths.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrDictionary [[-Splitter] <string>] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Get-GPOZaurrDictionary [[-Splitter] <String>] [<CommonParameters>]
|
|
||||||
```
|
## DESCRIPTION
|
||||||
|
This function retrieves a dictionary of Group Policy Objects (GPOs) along with their associated types and paths. It iterates through the GPOs stored in the $Script:GPODitionary variable and constructs a custom object for each GPO containing its name, types, and path.
|
||||||
## DESCRIPTION
|
|
||||||
{{ Fill in the Description }}
|
## EXAMPLES
|
||||||
|
|
||||||
## EXAMPLES
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
### Example 1
|
PS > Get-GPOZaurrDictionary
|
||||||
```powershell
|
Retrieves the dictionary of GPOs with their types and paths using the default newline delimiter.
|
||||||
PS C:\> {{ Add example code here }}
|
```
|
||||||
```
|
|
||||||
|
|
||||||
{{ Add example description here }}
|
### EXAMPLE 2
|
||||||
|
```powershell
|
||||||
## PARAMETERS
|
PS > Get-GPOZaurrDictionary -Splitter ","
|
||||||
|
Retrieves the dictionary of GPOs with their types and paths using a comma as the delimiter.
|
||||||
### -Splitter
|
```
|
||||||
{{ Fill Splitter Description }}
|
|
||||||
|
|
||||||
```yaml
|
## PARAMETERS
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
### -Splitter
|
||||||
Aliases:
|
Specifies the delimiter used to separate multiple types or paths. Default value is [System.Environment]::NewLine.
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: 0
|
Type: String
|
||||||
Default value: None
|
Parameter Sets: __AllParameterSets
|
||||||
Accept pipeline input: False
|
Aliases:
|
||||||
Accept wildcard characters: False
|
Possible values:
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### CommonParameters
|
Position: 0
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
Default value: [System.Environment]::NewLine
|
||||||
|
Accept pipeline input: False
|
||||||
## INPUTS
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### None
|
|
||||||
|
### CommonParameters
|
||||||
## OUTPUTS
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
### System.Object
|
## INPUTS
|
||||||
## NOTES
|
|
||||||
|
- `None`
|
||||||
## RELATED LINKS
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+111
-106
@@ -1,106 +1,111 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrDuplicateObject
|
||||||
# Get-GPOZaurrDuplicateObject
|
## SYNOPSIS
|
||||||
|
Retrieves duplicate Group Policy Objects (GPOs) within a specified forest.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrDuplicateObject [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Get-GPOZaurrDuplicateObject [[-Forest] <String>] [[-ExcludeDomains] <String[]>] [[-IncludeDomains] <String[]>]
|
|
||||||
[[-ExtendedForestInformation] <IDictionary>] [<CommonParameters>]
|
## DESCRIPTION
|
||||||
```
|
This function retrieves duplicate Group Policy Objects (GPOs) within a specified forest by comparing GPOs based on partial distinguished name matching.
|
||||||
|
|
||||||
## DESCRIPTION
|
## EXAMPLES
|
||||||
{{ Fill in the Description }}
|
|
||||||
|
### EXAMPLE 1
|
||||||
## EXAMPLES
|
```powershell
|
||||||
|
PS > Get-GPOZaurrDuplicateObject -Forest "contoso.com" -IncludeDomains "child1.contoso.com", "child2.contoso.com" -ExcludeDomains "child3.contoso.com" -ExtendedForestInformation $additionalInfo
|
||||||
### Example 1
|
```
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
Description
|
||||||
```
|
-----------
|
||||||
|
Retrieves duplicate GPOs within the "contoso.com" forest, including domains "child1.contoso.com" and "child2.contoso.com" while excluding "child3.contoso.com". Additional forest information is provided for the search.
|
||||||
{{ Add example description here }}
|
|
||||||
|
## PARAMETERS
|
||||||
## PARAMETERS
|
|
||||||
|
### -ExcludeDomains
|
||||||
### -ExcludeDomains
|
Specifies an array of domain names to exclude from the search for duplicate GPOs.
|
||||||
{{ Fill ExcludeDomains Description }}
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String[]
|
||||||
Type: String[]
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases:
|
||||||
Aliases:
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 1
|
Position: 1
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -ExtendedForestInformation
|
### -ExtendedForestInformation
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
Specifies additional information about the forest to aid in the search for duplicate GPOs.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: IDictionary
|
Type: IDictionary
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases:
|
Aliases:
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 3
|
Required: False
|
||||||
Default value: None
|
Position: 3
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -Forest
|
|
||||||
{{ Fill Forest Description }}
|
### -Forest
|
||||||
|
Specifies the name of the forest to search for duplicate GPOs.
|
||||||
```yaml
|
|
||||||
Type: String
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: String
|
||||||
Aliases: ForestName
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases: ForestName
|
||||||
Required: False
|
Possible values:
|
||||||
Position: 0
|
|
||||||
Default value: None
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: 0
|
||||||
Accept wildcard characters: False
|
Default value: None
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -IncludeDomains
|
```
|
||||||
{{ Fill IncludeDomains Description }}
|
|
||||||
|
### -IncludeDomains
|
||||||
```yaml
|
Specifies an array of domain names to include in the search for duplicate GPOs.
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
```yaml
|
||||||
Aliases: Domain, Domains
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
Required: False
|
Aliases: Domain, Domains
|
||||||
Position: 2
|
Possible values:
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
Required: False
|
||||||
Accept wildcard characters: False
|
Position: 2
|
||||||
```
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
### CommonParameters
|
Accept wildcard characters: True
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
```
|
||||||
|
|
||||||
## INPUTS
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
### None
|
|
||||||
|
## INPUTS
|
||||||
## OUTPUTS
|
|
||||||
|
- `None`
|
||||||
### System.Object
|
|
||||||
## NOTES
|
## OUTPUTS
|
||||||
|
|
||||||
## RELATED LINKS
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+212
-199
@@ -1,199 +1,212 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrFiles
|
||||||
# Get-GPOZaurrFiles
|
## SYNOPSIS
|
||||||
|
Retrieves information about Group Policy Objects (GPOs) stored in SYSVOL and NETLOGON folders.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrFiles [[-Type] <string[]>] [[-HashAlgorithm] <string>] [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [-Signature] [-AsHashTable] [-Extended] [-ExtendedMetaData] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Get-GPOZaurrFiles [[-Type] <String[]>] [[-HashAlgorithm] <String>] [-Signature] [-AsHashTable] [-Extended]
|
|
||||||
[-ExtendedMetaData] [[-Forest] <String>] [[-ExcludeDomains] <String[]>] [[-IncludeDomains] <String[]>]
|
## DESCRIPTION
|
||||||
[[-ExtendedForestInformation] <IDictionary>] [<CommonParameters>]
|
This function retrieves information about GPOs stored in SYSVOL and NETLOGON folders of specified domains. It can filter by type of files and hash algorithms used for verification.
|
||||||
```
|
|
||||||
|
## EXAMPLES
|
||||||
## DESCRIPTION
|
|
||||||
{{ Fill in the Description }}
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
## EXAMPLES
|
PS > Get-GPOZaurrFiles -Type 'All' -HashAlgorithm 'SHA256' -Signature
|
||||||
|
Retrieves all files from SYSVOL and NETLOGON folders with SHA256 hash algorithm and includes file signatures.
|
||||||
### Example 1
|
```
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
|
||||||
```
|
### EXAMPLE 2
|
||||||
|
```powershell
|
||||||
{{ Add example description here }}
|
PS > Get-GPOZaurrFiles -Type 'Sysvol' -HashAlgorithm 'MD5' -AsHashTable
|
||||||
|
Retrieves only SYSVOL files with MD5 hash algorithm and returns the results as a hashtable.
|
||||||
## PARAMETERS
|
```
|
||||||
|
|
||||||
### -AsHashTable
|
|
||||||
{{ Fill AsHashTable Description }}
|
## PARAMETERS
|
||||||
|
|
||||||
```yaml
|
### -AsHashTable
|
||||||
Type: SwitchParameter
|
Indicates whether to return the results as a hashtable.
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
```yaml
|
||||||
|
Type: SwitchParameter
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: Named
|
Aliases:
|
||||||
Default value: None
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: named
|
||||||
|
Default value: False
|
||||||
### -ExcludeDomains
|
Accept pipeline input: False
|
||||||
{{ Fill ExcludeDomains Description }}
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: String[]
|
### -ExcludeDomains
|
||||||
Parameter Sets: (All)
|
Specifies an array of domains to exclude from the search.
|
||||||
Aliases:
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: String[]
|
||||||
Position: 3
|
Parameter Sets: __AllParameterSets
|
||||||
Default value: None
|
Aliases:
|
||||||
Accept pipeline input: False
|
Possible values:
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: 3
|
||||||
### -Extended
|
Default value: None
|
||||||
{{ Fill Extended Description }}
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
### -Extended
|
||||||
Aliases:
|
Indicates whether to include extended information about the forest.
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: Named
|
Type: SwitchParameter
|
||||||
Default value: None
|
Parameter Sets: __AllParameterSets
|
||||||
Accept pipeline input: False
|
Aliases:
|
||||||
Accept wildcard characters: False
|
Possible values:
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### -ExtendedForestInformation
|
Position: named
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
Default value: False
|
||||||
|
Accept pipeline input: False
|
||||||
```yaml
|
Accept wildcard characters: True
|
||||||
Type: IDictionary
|
```
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
### -ExtendedForestInformation
|
||||||
|
Specifies additional forest information to include.
|
||||||
Required: False
|
|
||||||
Position: 5
|
```yaml
|
||||||
Default value: None
|
Type: IDictionary
|
||||||
Accept pipeline input: False
|
Parameter Sets: __AllParameterSets
|
||||||
Accept wildcard characters: False
|
Aliases:
|
||||||
```
|
Possible values:
|
||||||
|
|
||||||
### -ExtendedMetaData
|
Required: False
|
||||||
{{ Fill ExtendedMetaData Description }}
|
Position: 5
|
||||||
|
Default value: None
|
||||||
```yaml
|
Accept pipeline input: False
|
||||||
Type: SwitchParameter
|
Accept wildcard characters: True
|
||||||
Parameter Sets: (All)
|
```
|
||||||
Aliases:
|
|
||||||
|
### -ExtendedMetaData
|
||||||
Required: False
|
Indicates whether to include extended metadata information.
|
||||||
Position: Named
|
|
||||||
Default value: None
|
```yaml
|
||||||
Accept pipeline input: False
|
Type: SwitchParameter
|
||||||
Accept wildcard characters: False
|
Parameter Sets: __AllParameterSets
|
||||||
```
|
Aliases:
|
||||||
|
Possible values:
|
||||||
### -Forest
|
|
||||||
{{ Fill Forest Description }}
|
Required: False
|
||||||
|
Position: named
|
||||||
```yaml
|
Default value: False
|
||||||
Type: String
|
Accept pipeline input: False
|
||||||
Parameter Sets: (All)
|
Accept wildcard characters: True
|
||||||
Aliases: ForestName
|
```
|
||||||
|
|
||||||
Required: False
|
### -Forest
|
||||||
Position: 2
|
Specifies the forest name to retrieve GPO information from.
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
```yaml
|
||||||
Accept wildcard characters: False
|
Type: String
|
||||||
```
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases: ForestName
|
||||||
### -HashAlgorithm
|
Possible values:
|
||||||
{{ Fill HashAlgorithm Description }}
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: 2
|
||||||
Type: String
|
Default value: None
|
||||||
Parameter Sets: (All)
|
Accept pipeline input: False
|
||||||
Aliases:
|
Accept wildcard characters: True
|
||||||
Accepted values: None, MACTripleDES, MD5, RIPEMD160, SHA1, SHA256, SHA384, SHA512
|
```
|
||||||
|
|
||||||
Required: False
|
### -HashAlgorithm
|
||||||
Position: 1
|
Specifies the hash algorithm to use for file verification. Valid values are 'None', 'MACTripleDES', 'MD5', 'RIPEMD160', 'SHA1', 'SHA256', 'SHA384', 'SHA512'.
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
```yaml
|
||||||
Accept wildcard characters: False
|
Type: String
|
||||||
```
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
### -IncludeDomains
|
Possible values: None, MACTripleDES, MD5, RIPEMD160, SHA1, SHA256, SHA384, SHA512
|
||||||
{{ Fill IncludeDomains Description }}
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: 1
|
||||||
Type: String[]
|
Default value: None
|
||||||
Parameter Sets: (All)
|
Accept pipeline input: False
|
||||||
Aliases: Domain, Domains
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
Required: False
|
|
||||||
Position: 4
|
### -IncludeDomains
|
||||||
Default value: None
|
Specifies an array of domains to include in the search.
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
```yaml
|
||||||
```
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
### -Signature
|
Aliases: Domain, Domains
|
||||||
{{ Fill Signature Description }}
|
Possible values:
|
||||||
|
|
||||||
```yaml
|
Required: False
|
||||||
Type: SwitchParameter
|
Position: 4
|
||||||
Parameter Sets: (All)
|
Default value: None
|
||||||
Aliases:
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
Required: False
|
```
|
||||||
Position: Named
|
|
||||||
Default value: None
|
### -Signature
|
||||||
Accept pipeline input: False
|
Indicates whether to include file signatures for verification.
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
```yaml
|
||||||
|
Type: SwitchParameter
|
||||||
### -Type
|
Parameter Sets: __AllParameterSets
|
||||||
{{ Fill Type Description }}
|
Aliases:
|
||||||
|
Possible values:
|
||||||
```yaml
|
|
||||||
Type: String[]
|
Required: False
|
||||||
Parameter Sets: (All)
|
Position: named
|
||||||
Aliases:
|
Default value: False
|
||||||
Accepted values: All, Netlogon, Sysvol
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
Required: False
|
```
|
||||||
Position: 0
|
|
||||||
Default value: None
|
### -Type
|
||||||
Accept pipeline input: False
|
Specifies the type of files to retrieve. Valid values are 'All', 'Netlogon', and 'Sysvol'.
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
```yaml
|
||||||
|
Type: String[]
|
||||||
### CommonParameters
|
Parameter Sets: __AllParameterSets
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
Aliases:
|
||||||
|
Possible values: All, Netlogon, Sysvol
|
||||||
## INPUTS
|
|
||||||
|
Required: False
|
||||||
### None
|
Position: 0
|
||||||
|
Default value: All
|
||||||
## OUTPUTS
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### System.Object
|
```
|
||||||
## NOTES
|
|
||||||
|
### CommonParameters
|
||||||
## RELATED LINKS
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
|
## INPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
@@ -1,121 +1,125 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrFilesPolicyDefinition
|
||||||
# Get-GPOZaurrFilesPolicyDefinition
|
## SYNOPSIS
|
||||||
|
Retrieves policy definitions for Group Policy Objects (GPOs) within specified domains.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrFilesPolicyDefinition [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [-Signature] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Get-GPOZaurrFilesPolicyDefinition [[-Forest] <String>] [[-ExcludeDomains] <String[]>]
|
|
||||||
[[-IncludeDomains] <String[]>] [[-ExtendedForestInformation] <IDictionary>] [-Signature] [<CommonParameters>]
|
## DESCRIPTION
|
||||||
```
|
This function retrieves policy definitions for GPOs within specified domains. It collects information about policy files, including their attributes and digital signatures.
|
||||||
|
|
||||||
## DESCRIPTION
|
## EXAMPLES
|
||||||
{{ Fill in the Description }}
|
|
||||||
|
### EXAMPLE 1
|
||||||
## EXAMPLES
|
```powershell
|
||||||
|
PS > Get-GPOZaurrFilesPolicyDefinition -Forest "contoso.com" -IncludeDomains "domain1", "domain2" -ExcludeDomains "domain3" -Signature
|
||||||
### Example 1
|
Retrieves policy definitions for GPOs within the "contoso.com" forest, including domains "domain1" and "domain2" while excluding "domain3". Digital signature information is also retrieved.
|
||||||
```powershell
|
```
|
||||||
PS C:\> {{ Add example code here }}
|
|
||||||
```
|
|
||||||
|
## PARAMETERS
|
||||||
{{ Add example description here }}
|
|
||||||
|
### -ExcludeDomains
|
||||||
## PARAMETERS
|
Specifies an array of domains to exclude from the search.
|
||||||
|
|
||||||
### -ExcludeDomains
|
```yaml
|
||||||
{{ Fill ExcludeDomains Description }}
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases:
|
||||||
Type: String[]
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
Required: False
|
||||||
|
Position: 1
|
||||||
Required: False
|
Default value: None
|
||||||
Position: 1
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -ExtendedForestInformation
|
||||||
|
Specifies additional forest information to include in the output.
|
||||||
### -ExtendedForestInformation
|
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
```yaml
|
||||||
|
Type: IDictionary
|
||||||
```yaml
|
Parameter Sets: __AllParameterSets
|
||||||
Type: IDictionary
|
Aliases:
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: 3
|
||||||
Position: 3
|
Default value: None
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -Forest
|
||||||
### -Forest
|
Specifies the forest name to retrieve GPO policy definitions from.
|
||||||
{{ Fill Forest Description }}
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String
|
||||||
Type: String
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases: ForestName
|
||||||
Aliases: ForestName
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 0
|
Position: 0
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -IncludeDomains
|
### -IncludeDomains
|
||||||
{{ Fill IncludeDomains Description }}
|
Specifies an array of domains to include in the search.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: String[]
|
Type: String[]
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases: Domain, Domains
|
Aliases: Domain, Domains
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 2
|
Required: False
|
||||||
Default value: None
|
Position: 2
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -Signature
|
|
||||||
{{ Fill Signature Description }}
|
### -Signature
|
||||||
|
Indicates whether to retrieve digital signature information for policy files.
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: SwitchParameter
|
||||||
Aliases:
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
Required: False
|
Possible values:
|
||||||
Position: Named
|
|
||||||
Default value: None
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: named
|
||||||
Accept wildcard characters: False
|
Default value: False
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### CommonParameters
|
```
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
### CommonParameters
|
||||||
## INPUTS
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
### None
|
## INPUTS
|
||||||
|
|
||||||
## OUTPUTS
|
- `None`
|
||||||
|
|
||||||
### System.Object
|
## OUTPUTS
|
||||||
## NOTES
|
|
||||||
|
- `None`
|
||||||
## RELATED LINKS
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+164
-154
@@ -1,154 +1,164 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrFolders
|
||||||
# Get-GPOZaurrFolders
|
## SYNOPSIS
|
||||||
|
Retrieves information about GPO folders within specified domains.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrFolders [[-Type] <string[]>] [[-FolderType] <string>] [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [-AsHashTable] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Get-GPOZaurrFolders [[-Type] <String[]>] [[-FolderType] <String>] [[-Forest] <String>]
|
|
||||||
[[-ExcludeDomains] <String[]>] [[-IncludeDomains] <String[]>] [[-ExtendedForestInformation] <IDictionary>]
|
## DESCRIPTION
|
||||||
[-AsHashTable] [<CommonParameters>]
|
This function retrieves information about various GPO folders within specified domains, such as PolicyDefinitions, Policies, Scripts, GPO Starters, NETLOGON Scripts, DfsrPrivate, and SYSVOL Root.
|
||||||
```
|
|
||||||
|
## EXAMPLES
|
||||||
## DESCRIPTION
|
|
||||||
{{ Fill in the Description }}
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
## EXAMPLES
|
PS > Get-GPOZaurrFolders -Type All -FolderType All -Forest 'example.com' -IncludeDomains 'domain1', 'domain2' -ExcludeDomains 'domain3' -ExtendedForestInformation $info -AsHashTable
|
||||||
|
Retrieves information about all types of GPO folders within the specified domains in the forest 'example.com', excluding 'domain3', and including 'domain1' and 'domain2', with extended forest information.
|
||||||
### Example 1
|
```
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
|
||||||
```
|
### EXAMPLE 2
|
||||||
|
```powershell
|
||||||
{{ Add example description here }}
|
PS > Get-GPOZaurrFolders -Type Sysvol -FolderType NTFRS -Forest 'example.com' -IncludeDomains 'domain1' -AsHashTable
|
||||||
|
Retrieves information about Sysvol folders using NTFRS type within the specified domain 'domain1' in the forest 'example.com' and returns the output as a hashtable.
|
||||||
## PARAMETERS
|
```
|
||||||
|
|
||||||
### -AsHashTable
|
|
||||||
{{ Fill AsHashTable Description }}
|
## PARAMETERS
|
||||||
|
|
||||||
```yaml
|
### -AsHashTable
|
||||||
Type: SwitchParameter
|
Indicates whether to return the output as a hashtable.
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
```yaml
|
||||||
|
Type: SwitchParameter
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: Named
|
Aliases:
|
||||||
Default value: None
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: named
|
||||||
|
Default value: False
|
||||||
### -ExcludeDomains
|
Accept pipeline input: False
|
||||||
{{ Fill ExcludeDomains Description }}
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: String[]
|
### -ExcludeDomains
|
||||||
Parameter Sets: (All)
|
Specifies domains to exclude from the retrieval.
|
||||||
Aliases:
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: String[]
|
||||||
Position: 3
|
Parameter Sets: __AllParameterSets
|
||||||
Default value: None
|
Aliases:
|
||||||
Accept pipeline input: False
|
Possible values:
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: 3
|
||||||
### -ExtendedForestInformation
|
Default value: None
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: IDictionary
|
|
||||||
Parameter Sets: (All)
|
### -ExtendedForestInformation
|
||||||
Aliases:
|
Specifies additional information about the forest.
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: 5
|
Type: IDictionary
|
||||||
Default value: None
|
Parameter Sets: __AllParameterSets
|
||||||
Accept pipeline input: False
|
Aliases:
|
||||||
Accept wildcard characters: False
|
Possible values:
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### -FolderType
|
Position: 5
|
||||||
{{ Fill FolderType Description }}
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
```yaml
|
Accept wildcard characters: True
|
||||||
Type: String
|
```
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
### -FolderType
|
||||||
Accepted values: All, NTFRS, Empty
|
Specifies the type of folders to retrieve. Valid values are 'All', 'NTFRS', 'Empty'.
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: 1
|
Type: String
|
||||||
Default value: None
|
Parameter Sets: __AllParameterSets
|
||||||
Accept pipeline input: False
|
Aliases:
|
||||||
Accept wildcard characters: False
|
Possible values: All, NTFRS, Empty
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### -Forest
|
Position: 1
|
||||||
{{ Fill Forest Description }}
|
Default value: All
|
||||||
|
Accept pipeline input: False
|
||||||
```yaml
|
Accept wildcard characters: True
|
||||||
Type: String
|
```
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: ForestName
|
### -Forest
|
||||||
|
Specifies the forest name to retrieve information for.
|
||||||
Required: False
|
|
||||||
Position: 2
|
```yaml
|
||||||
Default value: None
|
Type: String
|
||||||
Accept pipeline input: False
|
Parameter Sets: __AllParameterSets
|
||||||
Accept wildcard characters: False
|
Aliases: ForestName
|
||||||
```
|
Possible values:
|
||||||
|
|
||||||
### -IncludeDomains
|
Required: False
|
||||||
{{ Fill IncludeDomains Description }}
|
Position: 2
|
||||||
|
Default value: None
|
||||||
```yaml
|
Accept pipeline input: False
|
||||||
Type: String[]
|
Accept wildcard characters: True
|
||||||
Parameter Sets: (All)
|
```
|
||||||
Aliases: Domain, Domains
|
|
||||||
|
### -IncludeDomains
|
||||||
Required: False
|
Specifies domains to include in the retrieval.
|
||||||
Position: 4
|
|
||||||
Default value: None
|
```yaml
|
||||||
Accept pipeline input: False
|
Type: String[]
|
||||||
Accept wildcard characters: False
|
Parameter Sets: __AllParameterSets
|
||||||
```
|
Aliases: Domain, Domains
|
||||||
|
Possible values:
|
||||||
### -Type
|
|
||||||
{{ Fill Type Description }}
|
Required: False
|
||||||
|
Position: 4
|
||||||
```yaml
|
Default value: None
|
||||||
Type: String[]
|
Accept pipeline input: False
|
||||||
Parameter Sets: (All)
|
Accept wildcard characters: True
|
||||||
Aliases:
|
```
|
||||||
Accepted values: All, Netlogon, Sysvol
|
|
||||||
|
### -Type
|
||||||
Required: False
|
Specifies the type of folders to retrieve. Valid values are 'All', 'Netlogon', 'Sysvol'.
|
||||||
Position: 0
|
|
||||||
Default value: None
|
```yaml
|
||||||
Accept pipeline input: False
|
Type: String[]
|
||||||
Accept wildcard characters: False
|
Parameter Sets: __AllParameterSets
|
||||||
```
|
Aliases:
|
||||||
|
Possible values: All, Netlogon, Sysvol
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
Required: False
|
||||||
|
Position: 0
|
||||||
## INPUTS
|
Default value: All
|
||||||
|
Accept pipeline input: False
|
||||||
### None
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
## OUTPUTS
|
|
||||||
|
### CommonParameters
|
||||||
### System.Object
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
## NOTES
|
|
||||||
|
## INPUTS
|
||||||
## RELATED LINKS
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+189
-184
@@ -1,184 +1,189 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrInheritance
|
||||||
# Get-GPOZaurrInheritance
|
## SYNOPSIS
|
||||||
|
Retrieves inheritance information for Group Policy Objects (GPOs) within specified Organizational Units (OUs).
|
||||||
## SYNOPSIS
|
|
||||||
Short description
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrInheritance [[-Exclusions] <string[]>] [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [-IncludeBlockedObjects] [-OnlyBlockedInheritance] [-IncludeExcludedObjects] [-IncludeGroupPoliciesForBlockedObjects] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Get-GPOZaurrInheritance [-IncludeBlockedObjects] [-OnlyBlockedInheritance] [-IncludeExcludedObjects]
|
|
||||||
[-IncludeGroupPoliciesForBlockedObjects] [[-Exclusions] <String[]>] [[-Forest] <String>]
|
## DESCRIPTION
|
||||||
[[-ExcludeDomains] <String[]>] [[-IncludeDomains] <String[]>] [[-ExtendedForestInformation] <IDictionary>]
|
This function retrieves and displays inheritance information for GPOs within specified OUs. It provides details on blocked inheritance, excluded objects, and group policies associated with blocked objects.
|
||||||
[<CommonParameters>]
|
|
||||||
```
|
## EXAMPLES
|
||||||
|
|
||||||
## DESCRIPTION
|
### EXAMPLE 1
|
||||||
Long description
|
```powershell
|
||||||
|
PS > $Objects = Get-GPOZaurrInheritance -IncludeBlockedObjects -IncludeExcludedObjects -OnlyBlockedInheritance -Exclusions $ExcludedOU
|
||||||
## EXAMPLES
|
$Objects | Format-Table
|
||||||
|
```
|
||||||
### EXAMPLE 1
|
|
||||||
```
|
|
||||||
$Objects = Get-GPOZaurrInheritance -IncludeBlockedObjects -IncludeExcludedObjects -OnlyBlockedInheritance -Exclusions $ExcludedOU
|
## PARAMETERS
|
||||||
```
|
|
||||||
|
### -ExcludeDomains
|
||||||
$Objects | Format-Table
|
Specifies the domain to exclude from the search. By default, the entire forest is scanned.
|
||||||
|
|
||||||
## PARAMETERS
|
```yaml
|
||||||
|
Type: String[]
|
||||||
### -IncludeBlockedObjects
|
Parameter Sets: __AllParameterSets
|
||||||
Include OU's with blocked inheritance.
|
Aliases:
|
||||||
Default disabled
|
Possible values:
|
||||||
|
|
||||||
```yaml
|
Required: False
|
||||||
Type: SwitchParameter
|
Position: 2
|
||||||
Parameter Sets: (All)
|
Default value: None
|
||||||
Aliases:
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
Required: False
|
```
|
||||||
Position: Named
|
|
||||||
Default value: False
|
### -Exclusions
|
||||||
Accept pipeline input: False
|
Specifies the OUs approved by IT to be excluded. You can provide OUs by canonical name or distinguishedName.
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
```yaml
|
||||||
|
Type: String[]
|
||||||
### -OnlyBlockedInheritance
|
Parameter Sets: __AllParameterSets
|
||||||
Show only OU's with blocked inheritance
|
Aliases:
|
||||||
|
Possible values:
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
Required: False
|
||||||
Parameter Sets: (All)
|
Position: 0
|
||||||
Aliases:
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
Required: False
|
Accept wildcard characters: True
|
||||||
Position: Named
|
```
|
||||||
Default value: False
|
|
||||||
Accept pipeline input: False
|
### -ExtendedForestInformation
|
||||||
Accept wildcard characters: False
|
Allows providing Forest Information from another command to speed up processing.
|
||||||
```
|
|
||||||
|
```yaml
|
||||||
### -IncludeExcludedObjects
|
Type: IDictionary
|
||||||
Show excluded objets.
|
Parameter Sets: __AllParameterSets
|
||||||
Default disabled
|
Aliases:
|
||||||
|
Possible values:
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
Required: False
|
||||||
Parameter Sets: (All)
|
Position: 4
|
||||||
Aliases:
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
Required: False
|
Accept wildcard characters: True
|
||||||
Position: Named
|
```
|
||||||
Default value: False
|
|
||||||
Accept pipeline input: False
|
### -Forest
|
||||||
Accept wildcard characters: False
|
Specifies the target forest. By default, the current forest is used.
|
||||||
```
|
|
||||||
|
```yaml
|
||||||
### -IncludeGroupPoliciesForBlockedObjects
|
Type: String
|
||||||
{{ Fill IncludeGroupPoliciesForBlockedObjects Description }}
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases: ForestName
|
||||||
```yaml
|
Possible values:
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
Required: False
|
||||||
Aliases:
|
Position: 1
|
||||||
|
Default value: None
|
||||||
Required: False
|
Accept pipeline input: False
|
||||||
Position: Named
|
Accept wildcard characters: True
|
||||||
Default value: False
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -IncludeBlockedObjects
|
||||||
```
|
Specifies whether to include OUs with blocked inheritance. By default, this is disabled.
|
||||||
|
|
||||||
### -Exclusions
|
```yaml
|
||||||
Provide exclusions for OU's approved by IT.
|
Type: SwitchParameter
|
||||||
You can provide OU by canonical name or distinguishedName
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
```yaml
|
Possible values:
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
Required: False
|
||||||
Aliases:
|
Position: named
|
||||||
|
Default value: False
|
||||||
Required: False
|
Accept pipeline input: False
|
||||||
Position: 1
|
Accept wildcard characters: True
|
||||||
Default value: None
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -IncludeDomains
|
||||||
```
|
Specifies specific domains to include. By default, the entire forest is scanned.
|
||||||
|
|
||||||
### -Forest
|
```yaml
|
||||||
Target different Forest, by default current forest is used
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases: Domain, Domains
|
||||||
Type: String
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: ForestName
|
Required: False
|
||||||
|
Position: 3
|
||||||
Required: False
|
Default value: None
|
||||||
Position: 2
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -IncludeExcludedObjects
|
||||||
|
Specifies whether to show excluded objects. By default, this is disabled.
|
||||||
### -ExcludeDomains
|
|
||||||
Exclude domain from search, by default whole forest is scanned
|
```yaml
|
||||||
|
Type: SwitchParameter
|
||||||
```yaml
|
Parameter Sets: __AllParameterSets
|
||||||
Type: String[]
|
Aliases:
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: named
|
||||||
Position: 3
|
Default value: False
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -IncludeGroupPoliciesForBlockedObjects
|
||||||
### -IncludeDomains
|
Specifies whether to include Group Policies for blocked objects. By default, this is disabled.
|
||||||
Include only specific domains, by default whole forest is scanned
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: SwitchParameter
|
||||||
Type: String[]
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases:
|
||||||
Aliases: Domain, Domains
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 4
|
Position: named
|
||||||
Default value: None
|
Default value: False
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -ExtendedForestInformation
|
### -OnlyBlockedInheritance
|
||||||
Ability to provide Forest Information from another command to speed up processing
|
Specifies whether to show only OUs with blocked inheritance.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: IDictionary
|
Type: SwitchParameter
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases:
|
Aliases:
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 5
|
Required: False
|
||||||
Default value: None
|
Position: named
|
||||||
Accept pipeline input: False
|
Default value: False
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
## INPUTS
|
|
||||||
|
## INPUTS
|
||||||
## OUTPUTS
|
|
||||||
|
- `None`
|
||||||
## NOTES
|
|
||||||
General notes
|
## OUTPUTS
|
||||||
|
|
||||||
## RELATED LINKS
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+109
-106
@@ -1,106 +1,109 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrLegacyFiles
|
||||||
# Get-GPOZaurrLegacyFiles
|
## SYNOPSIS
|
||||||
|
Retrieves legacy Group Policy Object (GPO) files from the SYSVOL directory of specified domains within a forest.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrLegacyFiles [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Get-GPOZaurrLegacyFiles [[-Forest] <String>] [[-ExcludeDomains] <String[]>] [[-IncludeDomains] <String[]>]
|
|
||||||
[[-ExtendedForestInformation] <IDictionary>] [<CommonParameters>]
|
## DESCRIPTION
|
||||||
```
|
The Get-GPOZaurrLegacyFiles function retrieves legacy GPO files, such as '*.adm' and 'admfiles.ini', from the SYSVOL directory of specified domains within a forest. It provides detailed information about these files including their name, full path, creation time, last write time, attributes, associated domain name, and directory name.
|
||||||
|
|
||||||
## DESCRIPTION
|
## EXAMPLES
|
||||||
{{ Fill in the Description }}
|
|
||||||
|
### EXAMPLE 1
|
||||||
## EXAMPLES
|
```powershell
|
||||||
|
PS > Get-GPOZaurrLegacyFiles -Forest "contoso.com" -IncludeDomains "domain1", "domain2" -ExcludeDomains "domain3" -ExtendedForestInformation $additionalInfo
|
||||||
### Example 1
|
```
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
Retrieves legacy GPO files from the "contoso.com" forest for "domain1" and "domain2" domains while excluding "domain3", using additional forest information.
|
||||||
```
|
|
||||||
|
## PARAMETERS
|
||||||
{{ Add example description here }}
|
|
||||||
|
### -ExcludeDomains
|
||||||
## PARAMETERS
|
Specifies an array of domain names to exclude from the search for legacy GPO files.
|
||||||
|
|
||||||
### -ExcludeDomains
|
```yaml
|
||||||
{{ Fill ExcludeDomains Description }}
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases:
|
||||||
Type: String[]
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
Required: False
|
||||||
|
Position: 1
|
||||||
Required: False
|
Default value: None
|
||||||
Position: 1
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -ExtendedForestInformation
|
||||||
|
Specifies additional information about the forest to enhance the retrieval process.
|
||||||
### -ExtendedForestInformation
|
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
```yaml
|
||||||
|
Type: IDictionary
|
||||||
```yaml
|
Parameter Sets: __AllParameterSets
|
||||||
Type: IDictionary
|
Aliases:
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: 3
|
||||||
Position: 3
|
Default value: None
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -Forest
|
||||||
### -Forest
|
Specifies the name of the forest from which to retrieve legacy GPO files.
|
||||||
{{ Fill Forest Description }}
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String
|
||||||
Type: String
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases: ForestName
|
||||||
Aliases: ForestName
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 0
|
Position: 0
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -IncludeDomains
|
### -IncludeDomains
|
||||||
{{ Fill IncludeDomains Description }}
|
Specifies an array of domain names to include in the search for legacy GPO files.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: String[]
|
Type: String[]
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases: Domain, Domains
|
Aliases: Domain, Domains
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 2
|
Required: False
|
||||||
Default value: None
|
Position: 2
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
## INPUTS
|
|
||||||
|
## INPUTS
|
||||||
### None
|
|
||||||
|
- `None`
|
||||||
## OUTPUTS
|
|
||||||
|
## OUTPUTS
|
||||||
### System.Object
|
|
||||||
## NOTES
|
- `None`
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+311
-297
@@ -1,297 +1,311 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrLink
|
||||||
# Get-GPOZaurrLink
|
## SYNOPSIS
|
||||||
|
Retrieves Group Policy Object (GPO) links based on specified criteria.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### Linked (Default)
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrLink [-Linked <string[]>] [-Limited] [-SkipDuplicates] [-GPOCache <IDictionary>] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-AsHashTable] [-Summary] [<CommonParameters>]
|
||||||
### Linked (Default)
|
```
|
||||||
```
|
|
||||||
Get-GPOZaurrLink [-Linked <String[]>] [-Limited] [-SkipDuplicates] [-GPOCache <IDictionary>] [-Forest <String>]
|
### ADObject
|
||||||
[-ExcludeDomains <String[]>] [-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>]
|
```powershell
|
||||||
[-AsHashTable] [-Summary] [<CommonParameters>]
|
Get-GPOZaurrLink -ADObject <ADObject[]> [-Limited] [-SkipDuplicates] [-GPOCache <IDictionary>] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-AsHashTable] [-Summary] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
|
|
||||||
### ADObject
|
### Filter
|
||||||
```
|
```powershell
|
||||||
Get-GPOZaurrLink -ADObject <ADObject[]> [-Limited] [-SkipDuplicates] [-GPOCache <IDictionary>]
|
Get-GPOZaurrLink [-Filter <string>] [-SearchBase <string>] [-SearchScope <ADSearchScope>] [-Limited] [-SkipDuplicates] [-GPOCache <IDictionary>] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-AsHashTable] [-Summary] [<CommonParameters>]
|
||||||
[-Forest <String>] [-ExcludeDomains <String[]>] [-IncludeDomains <String[]>]
|
```
|
||||||
[-ExtendedForestInformation <IDictionary>] [-AsHashTable] [-Summary] [<CommonParameters>]
|
|
||||||
```
|
### Site
|
||||||
|
```powershell
|
||||||
### Filter
|
Get-GPOZaurrLink [-Site <string[]>] [-GPOCache <IDictionary>] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-AsHashTable] [-Summary] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Get-GPOZaurrLink [-Filter <String>] [-SearchBase <String>] [-SearchScope <ADSearchScope>] [-Limited]
|
|
||||||
[-SkipDuplicates] [-GPOCache <IDictionary>] [-Forest <String>] [-ExcludeDomains <String[]>]
|
## DESCRIPTION
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-AsHashTable] [-Summary]
|
This function retrieves GPO links based on various parameters such as ADObject, Filter, Linked, Site, etc. It provides flexibility in searching for GPO links within Active Directory.
|
||||||
[<CommonParameters>]
|
|
||||||
```
|
## EXAMPLES
|
||||||
|
|
||||||
### Site
|
### EXAMPLE 1
|
||||||
```
|
```powershell
|
||||||
Get-GPOZaurrLink [-Site <String[]>] [-GPOCache <IDictionary>] [-Forest <String>] [-ExcludeDomains <String[]>]
|
PS > Get-GPOZaurrLink -ADObject $ADObject -Linked 'All'
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-AsHashTable] [-Summary]
|
```
|
||||||
[<CommonParameters>]
|
|
||||||
```
|
Description
|
||||||
|
-----------
|
||||||
## DESCRIPTION
|
Retrieves all linked GPOZaurr links for the specified Active Directory object(s).
|
||||||
{{ Fill in the Description }}
|
|
||||||
|
### EXAMPLE 2
|
||||||
## EXAMPLES
|
```powershell
|
||||||
|
PS > Get-GPOZaurrLink -Filter "(objectClass -eq 'organizationalUnit')" -SearchBase 'CN=Configuration,DC=ad,DC=evotec,DC=xyz'
|
||||||
### Example 1
|
```
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
Description
|
||||||
```
|
-----------
|
||||||
|
Retrieves GPOZaurr links based on the specified filter and search base.
|
||||||
{{ Add example description here }}
|
|
||||||
|
## PARAMETERS
|
||||||
## PARAMETERS
|
|
||||||
|
### -ADObject
|
||||||
### -ADObject
|
Specifies the Active Directory object(s) to search for GPO links.
|
||||||
{{ Fill ADObject Description }}
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: ADObject[]
|
||||||
Type: ADObject[]
|
Parameter Sets: ADObject
|
||||||
Parameter Sets: ADObject
|
Aliases:
|
||||||
Aliases:
|
Possible values:
|
||||||
|
|
||||||
Required: True
|
Required: True
|
||||||
Position: Named
|
Position: named
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: True (ByPropertyName, ByValue)
|
Accept pipeline input: True (ByValue, ByPropertyName)
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -AsHashTable
|
### -AsHashTable
|
||||||
{{ Fill AsHashTable Description }}
|
{{ Fill AsHashTable Description }}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: SwitchParameter
|
Type: SwitchParameter
|
||||||
Parameter Sets: (All)
|
Parameter Sets: Linked, ADObject, Filter, Site
|
||||||
Aliases:
|
Aliases:
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: Named
|
Required: False
|
||||||
Default value: None
|
Position: named
|
||||||
Accept pipeline input: False
|
Default value: False
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -ExcludeDomains
|
|
||||||
{{ Fill ExcludeDomains Description }}
|
### -ExcludeDomains
|
||||||
|
Specifies the domains to exclude from the search.
|
||||||
```yaml
|
|
||||||
Type: String[]
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: String[]
|
||||||
Aliases:
|
Parameter Sets: Linked, ADObject, Filter, Site
|
||||||
|
Aliases:
|
||||||
Required: False
|
Possible values:
|
||||||
Position: Named
|
|
||||||
Default value: None
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: named
|
||||||
Accept wildcard characters: False
|
Default value: None
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -ExtendedForestInformation
|
```
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
|
||||||
|
### -ExtendedForestInformation
|
||||||
```yaml
|
{{ Fill ExtendedForestInformation Description }}
|
||||||
Type: IDictionary
|
|
||||||
Parameter Sets: (All)
|
```yaml
|
||||||
Aliases:
|
Type: IDictionary
|
||||||
|
Parameter Sets: Linked, ADObject, Filter, Site
|
||||||
Required: False
|
Aliases:
|
||||||
Position: Named
|
Possible values:
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
Required: False
|
||||||
Accept wildcard characters: False
|
Position: named
|
||||||
```
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
### -Filter
|
Accept wildcard characters: True
|
||||||
{{ Fill Filter Description }}
|
```
|
||||||
|
|
||||||
```yaml
|
### -Filter
|
||||||
Type: String
|
Specifies the filter criteria to search for GPO links.
|
||||||
Parameter Sets: Filter
|
|
||||||
Aliases:
|
```yaml
|
||||||
|
Type: String
|
||||||
Required: False
|
Parameter Sets: Filter
|
||||||
Position: Named
|
Aliases:
|
||||||
Default value: None
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: named
|
||||||
|
Default value: None
|
||||||
### -Forest
|
Accept pipeline input: False
|
||||||
{{ Fill Forest Description }}
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: String
|
### -Forest
|
||||||
Parameter Sets: (All)
|
Specifies the forest name for filtering GPO links.
|
||||||
Aliases: ForestName
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: String
|
||||||
Position: Named
|
Parameter Sets: Linked, ADObject, Filter, Site
|
||||||
Default value: None
|
Aliases: ForestName
|
||||||
Accept pipeline input: False
|
Possible values:
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: named
|
||||||
### -GPOCache
|
Default value: None
|
||||||
{{ Fill GPOCache Description }}
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: IDictionary
|
|
||||||
Parameter Sets: (All)
|
### -GPOCache
|
||||||
Aliases:
|
Specifies a cache for storing GPO information.
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: Named
|
Type: IDictionary
|
||||||
Default value: None
|
Parameter Sets: Linked, ADObject, Filter, Site
|
||||||
Accept pipeline input: False
|
Aliases:
|
||||||
Accept wildcard characters: False
|
Possible values:
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### -IncludeDomains
|
Position: named
|
||||||
{{ Fill IncludeDomains Description }}
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
```yaml
|
Accept wildcard characters: True
|
||||||
Type: String[]
|
```
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: Domain, Domains
|
### -IncludeDomains
|
||||||
|
Specifies the domains to include in the search.
|
||||||
Required: False
|
|
||||||
Position: Named
|
```yaml
|
||||||
Default value: None
|
Type: String[]
|
||||||
Accept pipeline input: False
|
Parameter Sets: Linked, ADObject, Filter, Site
|
||||||
Accept wildcard characters: False
|
Aliases: Domain, Domains
|
||||||
```
|
Possible values:
|
||||||
|
|
||||||
### -Limited
|
Required: False
|
||||||
{{ Fill Limited Description }}
|
Position: named
|
||||||
|
Default value: None
|
||||||
```yaml
|
Accept pipeline input: False
|
||||||
Type: SwitchParameter
|
Accept wildcard characters: True
|
||||||
Parameter Sets: Linked, ADObject, Filter
|
```
|
||||||
Aliases:
|
|
||||||
|
### -Limited
|
||||||
Required: False
|
Indicates whether to limit the search results.
|
||||||
Position: Named
|
|
||||||
Default value: None
|
```yaml
|
||||||
Accept pipeline input: False
|
Type: SwitchParameter
|
||||||
Accept wildcard characters: False
|
Parameter Sets: Linked, ADObject, Filter
|
||||||
```
|
Aliases:
|
||||||
|
Possible values:
|
||||||
### -Linked
|
|
||||||
{{ Fill Linked Description }}
|
Required: False
|
||||||
|
Position: named
|
||||||
```yaml
|
Default value: False
|
||||||
Type: String[]
|
Accept pipeline input: False
|
||||||
Parameter Sets: Linked
|
Accept wildcard characters: True
|
||||||
Aliases:
|
```
|
||||||
Accepted values: All, Root, DomainControllers, Site, OrganizationalUnit
|
|
||||||
|
### -Linked
|
||||||
Required: False
|
Specifies the type of linked GPOs to retrieve. Valid values are 'All', 'Root', 'DomainControllers', 'Site', and 'OrganizationalUnit'.
|
||||||
Position: Named
|
|
||||||
Default value: None
|
```yaml
|
||||||
Accept pipeline input: False
|
Type: String[]
|
||||||
Accept wildcard characters: False
|
Parameter Sets: Linked
|
||||||
```
|
Aliases:
|
||||||
|
Possible values: All, Root, DomainControllers, Site, OrganizationalUnit
|
||||||
### -SearchBase
|
|
||||||
{{ Fill SearchBase Description }}
|
Required: False
|
||||||
|
Position: named
|
||||||
```yaml
|
Default value: None
|
||||||
Type: String
|
Accept pipeline input: False
|
||||||
Parameter Sets: Filter
|
Accept wildcard characters: True
|
||||||
Aliases:
|
```
|
||||||
|
|
||||||
Required: False
|
### -SearchBase
|
||||||
Position: Named
|
Specifies the search base for filtering GPO links.
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
```yaml
|
||||||
Accept wildcard characters: False
|
Type: String
|
||||||
```
|
Parameter Sets: Filter
|
||||||
|
Aliases:
|
||||||
### -SearchScope
|
Possible values:
|
||||||
{{ Fill SearchScope Description }}
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: named
|
||||||
Type: ADSearchScope
|
Default value: None
|
||||||
Parameter Sets: Filter
|
Accept pipeline input: False
|
||||||
Aliases:
|
Accept wildcard characters: True
|
||||||
Accepted values: Base, OneLevel, Subtree
|
```
|
||||||
|
|
||||||
Required: False
|
### -SearchScope
|
||||||
Position: Named
|
Specifies the search scope for filtering GPO links.
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
```yaml
|
||||||
Accept wildcard characters: False
|
Type: ADSearchScope
|
||||||
```
|
Parameter Sets: Filter
|
||||||
|
Aliases:
|
||||||
### -Site
|
Possible values: Base, OneLevel, Subtree
|
||||||
{{ Fill Site Description }}
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: named
|
||||||
Type: String[]
|
Default value: None
|
||||||
Parameter Sets: Site
|
Accept pipeline input: False
|
||||||
Aliases:
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
Required: False
|
|
||||||
Position: Named
|
### -Site
|
||||||
Default value: None
|
Specifies the site(s) to search for GPO links.
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
```yaml
|
||||||
```
|
Type: String[]
|
||||||
|
Parameter Sets: Site
|
||||||
### -SkipDuplicates
|
Aliases:
|
||||||
{{ Fill SkipDuplicates Description }}
|
Possible values:
|
||||||
|
|
||||||
```yaml
|
Required: False
|
||||||
Type: SwitchParameter
|
Position: named
|
||||||
Parameter Sets: Linked, ADObject, Filter
|
Default value: None
|
||||||
Aliases:
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
Required: False
|
```
|
||||||
Position: Named
|
|
||||||
Default value: None
|
### -SkipDuplicates
|
||||||
Accept pipeline input: False
|
Indicates whether to skip duplicate search results.
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
```yaml
|
||||||
|
Type: SwitchParameter
|
||||||
### -Summary
|
Parameter Sets: Linked, ADObject, Filter
|
||||||
{{ Fill Summary Description }}
|
Aliases:
|
||||||
|
Possible values:
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
Required: False
|
||||||
Parameter Sets: (All)
|
Position: named
|
||||||
Aliases:
|
Default value: False
|
||||||
|
Accept pipeline input: False
|
||||||
Required: False
|
Accept wildcard characters: True
|
||||||
Position: Named
|
```
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
### -Summary
|
||||||
Accept wildcard characters: False
|
{{ Fill Summary Description }}
|
||||||
```
|
|
||||||
|
```yaml
|
||||||
### CommonParameters
|
Type: SwitchParameter
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
Parameter Sets: Linked, ADObject, Filter, Site
|
||||||
|
Aliases:
|
||||||
## INPUTS
|
Possible values:
|
||||||
|
|
||||||
### Microsoft.ActiveDirectory.Management.ADObject[]
|
Required: False
|
||||||
|
Position: named
|
||||||
## OUTPUTS
|
Default value: False
|
||||||
|
Accept pipeline input: False
|
||||||
### System.Object
|
Accept wildcard characters: True
|
||||||
## NOTES
|
```
|
||||||
|
|
||||||
## RELATED LINKS
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
|
## INPUTS
|
||||||
|
|
||||||
|
- `ADObject[]`
|
||||||
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+148
-138
@@ -1,138 +1,148 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrLinkSummary
|
||||||
# Get-GPOZaurrLinkSummary
|
## SYNOPSIS
|
||||||
|
Retrieves a summary of GPO links based on specified criteria.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrLinkSummary [[-Report] <string[]>] [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [-UnlimitedProperties] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Get-GPOZaurrLinkSummary [[-Report] <String[]>] [-UnlimitedProperties] [[-Forest] <String>]
|
|
||||||
[[-ExcludeDomains] <String[]>] [[-IncludeDomains] <String[]>] [[-ExtendedForestInformation] <IDictionary>]
|
## DESCRIPTION
|
||||||
[<CommonParameters>]
|
This function retrieves a summary of GPO links based on the provided parameters. It categorizes the links into different types and provides detailed information about each link.
|
||||||
```
|
|
||||||
|
## EXAMPLES
|
||||||
## DESCRIPTION
|
|
||||||
{{ Fill in the Description }}
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
## EXAMPLES
|
PS > Get-GPOZaurrLinkSummary -Forest "Contoso" -IncludeDomains "Domain1", "Domain2" -Report "MultipleLinks"
|
||||||
|
Retrieves a summary of GPO links for the specified forest and included domains, focusing on multiple links.
|
||||||
### Example 1
|
```
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
|
||||||
```
|
### EXAMPLE 2
|
||||||
|
```powershell
|
||||||
{{ Add example description here }}
|
PS > Get-GPOZaurrLinkSummary -Forest "Fabrikam" -ExcludeDomains "Domain3" -Report "OneLink"
|
||||||
|
Retrieves a summary of GPO links for the specified forest excluding Domain3, focusing on a single link.
|
||||||
## PARAMETERS
|
```
|
||||||
|
|
||||||
### -ExcludeDomains
|
|
||||||
{{ Fill ExcludeDomains Description }}
|
## PARAMETERS
|
||||||
|
|
||||||
```yaml
|
### -ExcludeDomains
|
||||||
Type: String[]
|
Specifies an array of domains to exclude from the report.
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
```yaml
|
||||||
|
Type: String[]
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: 2
|
Aliases:
|
||||||
Default value: None
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: 2
|
||||||
|
Default value: None
|
||||||
### -ExtendedForestInformation
|
Accept pipeline input: False
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: IDictionary
|
### -ExtendedForestInformation
|
||||||
Parameter Sets: (All)
|
Specifies additional information about the forest.
|
||||||
Aliases:
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: IDictionary
|
||||||
Position: 4
|
Parameter Sets: __AllParameterSets
|
||||||
Default value: None
|
Aliases:
|
||||||
Accept pipeline input: False
|
Possible values:
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: 4
|
||||||
### -Forest
|
Default value: None
|
||||||
{{ Fill Forest Description }}
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
### -Forest
|
||||||
Aliases: ForestName
|
Specifies the forest name to retrieve GPO links from.
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: 1
|
Type: String
|
||||||
Default value: None
|
Parameter Sets: __AllParameterSets
|
||||||
Accept pipeline input: False
|
Aliases: ForestName
|
||||||
Accept wildcard characters: False
|
Possible values:
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### -IncludeDomains
|
Position: 1
|
||||||
{{ Fill IncludeDomains Description }}
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
```yaml
|
Accept wildcard characters: True
|
||||||
Type: String[]
|
```
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: Domain, Domains
|
### -IncludeDomains
|
||||||
|
Specifies an array of domains to include in the report.
|
||||||
Required: False
|
|
||||||
Position: 3
|
```yaml
|
||||||
Default value: None
|
Type: String[]
|
||||||
Accept pipeline input: False
|
Parameter Sets: __AllParameterSets
|
||||||
Accept wildcard characters: False
|
Aliases: Domain, Domains
|
||||||
```
|
Possible values:
|
||||||
|
|
||||||
### -Report
|
Required: False
|
||||||
{{ Fill Report Description }}
|
Position: 3
|
||||||
|
Default value: None
|
||||||
```yaml
|
Accept pipeline input: False
|
||||||
Type: String[]
|
Accept wildcard characters: True
|
||||||
Parameter Sets: (All)
|
```
|
||||||
Aliases:
|
|
||||||
Accepted values: All, MultipleLinks, OneLink, LinksSummary
|
### -Report
|
||||||
|
Specifies the type of report to generate. Valid values are 'All', 'MultipleLinks', 'OneLink', and 'LinksSummary'. Default is 'All'.
|
||||||
Required: False
|
|
||||||
Position: 0
|
```yaml
|
||||||
Default value: None
|
Type: String[]
|
||||||
Accept pipeline input: False
|
Parameter Sets: __AllParameterSets
|
||||||
Accept wildcard characters: False
|
Aliases:
|
||||||
```
|
Possible values: All, MultipleLinks, OneLink, LinksSummary
|
||||||
|
|
||||||
### -UnlimitedProperties
|
Required: False
|
||||||
{{ Fill UnlimitedProperties Description }}
|
Position: 0
|
||||||
|
Default value: All
|
||||||
```yaml
|
Accept pipeline input: False
|
||||||
Type: SwitchParameter
|
Accept wildcard characters: True
|
||||||
Parameter Sets: (All)
|
```
|
||||||
Aliases:
|
|
||||||
|
### -UnlimitedProperties
|
||||||
Required: False
|
Indicates whether to include unlimited properties in the report.
|
||||||
Position: Named
|
|
||||||
Default value: None
|
```yaml
|
||||||
Accept pipeline input: False
|
Type: SwitchParameter
|
||||||
Accept wildcard characters: False
|
Parameter Sets: __AllParameterSets
|
||||||
```
|
Aliases:
|
||||||
|
Possible values:
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
Required: False
|
||||||
|
Position: named
|
||||||
## INPUTS
|
Default value: False
|
||||||
|
Accept pipeline input: False
|
||||||
### None
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
## OUTPUTS
|
|
||||||
|
### CommonParameters
|
||||||
### System.Object
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
## NOTES
|
|
||||||
|
## INPUTS
|
||||||
## RELATED LINKS
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,164 @@
|
|||||||
|
---
|
||||||
|
external help file: GPOZaurr-help.xml
|
||||||
|
Module Name: GPOZaurr
|
||||||
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
|
schema: 2.0.0
|
||||||
|
---
|
||||||
|
# Get-GPOZaurrMissingFiles
|
||||||
|
## SYNOPSIS
|
||||||
|
Retrieves information about missing files in Group Policy Objects (GPOs) within a specified forest.
|
||||||
|
|
||||||
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
|
```powershell
|
||||||
|
Get-GPOZaurrMissingFiles [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [[-GPOName] <string[]>] [[-GPOGUID] <string[]>] [-BrokenOnly] [<CommonParameters>]
|
||||||
|
```
|
||||||
|
|
||||||
|
## DESCRIPTION
|
||||||
|
This function queries Active Directory for GPOs and checks for missing files within them. It provides detailed information about any errors found.
|
||||||
|
|
||||||
|
## EXAMPLES
|
||||||
|
|
||||||
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
|
PS > Get-GPOZaurrMissingFiles -Forest "example.com" -IncludeDomains "domain1", "domain2" -ExcludeDomains "domain3" -GPOName "GPO1"
|
||||||
|
```
|
||||||
|
|
||||||
|
Retrieves information about missing files in the GPO named "GPO1" within the "example.com" forest, including only domains "domain1" and "domain2" while excluding "domain3".
|
||||||
|
|
||||||
|
### EXAMPLE 2
|
||||||
|
```powershell
|
||||||
|
PS > Get-GPOZaurrMissingFiles -Forest "example.com" -IncludeDomains "domain1", "domain2" -GPOGUID "12345678-1234-1234-1234-1234567890AB" -BrokenOnly
|
||||||
|
```
|
||||||
|
|
||||||
|
Retrieves information about GPOs with missing files in the "example.com" forest, including only domains "domain1" and "domain2" for the GPO with the specified GUID, displaying only GPOs with missing files.
|
||||||
|
|
||||||
|
## PARAMETERS
|
||||||
|
|
||||||
|
### -BrokenOnly
|
||||||
|
Indicates whether to only display GPOs with missing files.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: SwitchParameter
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: False
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -ExcludeDomains
|
||||||
|
Specifies an array of domains to exclude from the query.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: 1
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -ExtendedForestInformation
|
||||||
|
Specifies additional information about the forest.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: IDictionary
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: 3
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -Forest
|
||||||
|
Specifies the name of the forest to query for GPO information.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: String
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases: ForestName
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: 0
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -GPOGUID
|
||||||
|
Specifies the GUID of the GPO to retrieve information for.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: 5
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -GPOName
|
||||||
|
Specifies the name of the GPO to retrieve information for.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases: Name
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: 4
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -IncludeDomains
|
||||||
|
Specifies an array of domains to include in the query.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases: Domain, Domains
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: 2
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
|
## INPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
+165
-149
@@ -1,149 +1,165 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrNetLogon
|
||||||
# Get-GPOZaurrNetLogon
|
## SYNOPSIS
|
||||||
|
Retrieves information about Group Policy Objects (GPO) stored in the Netlogon and SYSVOL directories.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### Default (Default)
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrNetLogon [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [<CommonParameters>]
|
||||||
### Default (Default)
|
```
|
||||||
```
|
|
||||||
Get-GPOZaurrNetLogon [-Forest <String>] [-ExcludeDomains <String[]>] [-IncludeDomains <String[]>]
|
### OwnerOnly
|
||||||
[-ExtendedForestInformation <IDictionary>] [<CommonParameters>]
|
```powershell
|
||||||
```
|
Get-GPOZaurrNetLogon [-OwnerOnly] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [<CommonParameters>]
|
||||||
|
```
|
||||||
### OwnerOnly
|
|
||||||
```
|
### SkipOwner
|
||||||
Get-GPOZaurrNetLogon [-OwnerOnly] [-Forest <String>] [-ExcludeDomains <String[]>] [-IncludeDomains <String[]>]
|
```powershell
|
||||||
[-ExtendedForestInformation <IDictionary>] [<CommonParameters>]
|
Get-GPOZaurrNetLogon [-SkipOwner] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
|
|
||||||
### SkipOwner
|
## DESCRIPTION
|
||||||
```
|
The Get-GPOZaurrNetLogon function retrieves details about GPOs stored in the Netlogon and SYSVOL directories of specified domains within a forest. It provides information about file ownership, status, domain, extension, creation time, and more.
|
||||||
Get-GPOZaurrNetLogon [-SkipOwner] [-Forest <String>] [-ExcludeDomains <String[]>] [-IncludeDomains <String[]>]
|
|
||||||
[-ExtendedForestInformation <IDictionary>] [<CommonParameters>]
|
## EXAMPLES
|
||||||
```
|
|
||||||
|
### EXAMPLE 1
|
||||||
## DESCRIPTION
|
```powershell
|
||||||
{{ Fill in the Description }}
|
PS > Get-GPOZaurrNetLogon -Forest "contoso.com" -IncludeDomains "domain1", "domain2"
|
||||||
|
Retrieves GPO information for the specified forest and domains.
|
||||||
## EXAMPLES
|
```
|
||||||
|
|
||||||
### Example 1
|
|
||||||
```powershell
|
### EXAMPLE 2
|
||||||
PS C:\> {{ Add example code here }}
|
```powershell
|
||||||
```
|
PS > Get-GPOZaurrNetLogon -OwnerOnly
|
||||||
|
Retrieves GPO information only for GPOs with identified owners.
|
||||||
{{ Add example description here }}
|
```
|
||||||
|
|
||||||
## PARAMETERS
|
|
||||||
|
### EXAMPLE 3
|
||||||
### -ExcludeDomains
|
```powershell
|
||||||
{{ Fill ExcludeDomains Description }}
|
PS > Get-GPOZaurrNetLogon -SkipOwner
|
||||||
|
Retrieves GPO information while skipping the owner check.
|
||||||
```yaml
|
```
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
## PARAMETERS
|
||||||
|
|
||||||
Required: False
|
### -ExcludeDomains
|
||||||
Position: Named
|
Specifies an array of domains to exclude from GPO retrieval.
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
```yaml
|
||||||
Accept wildcard characters: False
|
Type: String[]
|
||||||
```
|
Parameter Sets: Default, OwnerOnly, SkipOwner
|
||||||
|
Aliases:
|
||||||
### -ExtendedForestInformation
|
Possible values:
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: named
|
||||||
Type: IDictionary
|
Default value: None
|
||||||
Parameter Sets: (All)
|
Accept pipeline input: False
|
||||||
Aliases:
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
Required: False
|
|
||||||
Position: Named
|
### -ExtendedForestInformation
|
||||||
Default value: None
|
Specifies additional forest information to include in the output.
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
```yaml
|
||||||
```
|
Type: IDictionary
|
||||||
|
Parameter Sets: Default, OwnerOnly, SkipOwner
|
||||||
### -Forest
|
Aliases:
|
||||||
{{ Fill Forest Description }}
|
Possible values:
|
||||||
|
|
||||||
```yaml
|
Required: False
|
||||||
Type: String
|
Position: named
|
||||||
Parameter Sets: (All)
|
Default value: None
|
||||||
Aliases: ForestName
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
Required: False
|
```
|
||||||
Position: Named
|
|
||||||
Default value: None
|
### -Forest
|
||||||
Accept pipeline input: False
|
Specifies the forest name to retrieve GPO information from.
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
```yaml
|
||||||
|
Type: String
|
||||||
### -IncludeDomains
|
Parameter Sets: Default, OwnerOnly, SkipOwner
|
||||||
{{ Fill IncludeDomains Description }}
|
Aliases: ForestName
|
||||||
|
Possible values:
|
||||||
```yaml
|
|
||||||
Type: String[]
|
Required: False
|
||||||
Parameter Sets: (All)
|
Position: named
|
||||||
Aliases: Domain, Domains
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
Required: False
|
Accept wildcard characters: True
|
||||||
Position: Named
|
```
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
### -IncludeDomains
|
||||||
Accept wildcard characters: False
|
Specifies an array of domains to include in GPO retrieval.
|
||||||
```
|
|
||||||
|
```yaml
|
||||||
### -OwnerOnly
|
Type: String[]
|
||||||
{{ Fill OwnerOnly Description }}
|
Parameter Sets: Default, OwnerOnly, SkipOwner
|
||||||
|
Aliases: Domain, Domains
|
||||||
```yaml
|
Possible values:
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: OwnerOnly
|
Required: False
|
||||||
Aliases:
|
Position: named
|
||||||
|
Default value: None
|
||||||
Required: False
|
Accept pipeline input: False
|
||||||
Position: Named
|
Accept wildcard characters: True
|
||||||
Default value: None
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -OwnerOnly
|
||||||
```
|
Specifies whether to include only GPOs with identified owners.
|
||||||
|
|
||||||
### -SkipOwner
|
```yaml
|
||||||
{{ Fill SkipOwner Description }}
|
Type: SwitchParameter
|
||||||
|
Parameter Sets: OwnerOnly
|
||||||
```yaml
|
Aliases:
|
||||||
Type: SwitchParameter
|
Possible values:
|
||||||
Parameter Sets: SkipOwner
|
|
||||||
Aliases:
|
Required: False
|
||||||
|
Position: named
|
||||||
Required: False
|
Default value: False
|
||||||
Position: Named
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -SkipOwner
|
||||||
|
Specifies whether to skip checking the owner of GPOs.
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
```yaml
|
||||||
|
Type: SwitchParameter
|
||||||
## INPUTS
|
Parameter Sets: SkipOwner
|
||||||
|
Aliases:
|
||||||
### None
|
Possible values:
|
||||||
|
|
||||||
## OUTPUTS
|
Required: False
|
||||||
|
Position: named
|
||||||
### System.Object
|
Default value: False
|
||||||
## NOTES
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
## RELATED LINKS
|
```
|
||||||
|
|
||||||
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
|
## INPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
@@ -1,138 +1,141 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrOrganizationalUnit
|
||||||
# Get-GPOZaurrOrganizationalUnit
|
## SYNOPSIS
|
||||||
|
Retrieves information about Group Policy Objects (GPOs) linked to Organizational Units (OUs) within a specified forest.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrOrganizationalUnit [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [[-Option] <string[]>] [[-ExcludeOrganizationalUnit] <string[]>] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Get-GPOZaurrOrganizationalUnit [[-Forest] <String>] [[-ExcludeDomains] <String[]>]
|
|
||||||
[[-IncludeDomains] <String[]>] [[-ExtendedForestInformation] <IDictionary>] [[-Option] <String[]>]
|
## DESCRIPTION
|
||||||
[[-ExcludeOrganizationalUnit] <String[]>] [<CommonParameters>]
|
This function retrieves detailed information about the GPOs linked to OUs within a specified forest. It provides information on linked GPOs, objects within OUs, and counts of objects at different levels.
|
||||||
```
|
|
||||||
|
## EXAMPLES
|
||||||
## DESCRIPTION
|
|
||||||
{{ Fill in the Description }}
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
## EXAMPLES
|
PS > Get-GPOZaurrOrganizationalUnit -Forest "contoso.com" -IncludeDomains "child.contoso.com" -ExcludeDomains "test.contoso.com" -ExtendedForestInformation $ExtendedInfo -Option "OK" -ExcludeOrganizationalUnit "OU=Test,DC=contoso,DC=com"
|
||||||
|
Retrieves information about GPOs linked to OUs in the "contoso.com" forest, including the "child.contoso.com" domain, excluding the "test.contoso.com" domain, with additional forest information, performing the 'OK' action, and excluding the "OU=Test,DC=contoso,DC=com" OU.
|
||||||
### Example 1
|
```
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
|
||||||
```
|
## PARAMETERS
|
||||||
|
|
||||||
{{ Add example description here }}
|
### -ExcludeDomains
|
||||||
|
Specifies an array of domains to exclude from processing.
|
||||||
## PARAMETERS
|
|
||||||
|
```yaml
|
||||||
### -ExcludeDomains
|
Type: String[]
|
||||||
{{ Fill ExcludeDomains Description }}
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
```yaml
|
Possible values:
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
Required: False
|
||||||
Aliases:
|
Position: 1
|
||||||
|
Default value: None
|
||||||
Required: False
|
Accept pipeline input: False
|
||||||
Position: 1
|
Accept wildcard characters: True
|
||||||
Default value: None
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -ExcludeOrganizationalUnit
|
||||||
```
|
Specifies an array of OUs to exclude from processing.
|
||||||
|
|
||||||
### -ExcludeOrganizationalUnit
|
```yaml
|
||||||
{{ Fill ExcludeOrganizationalUnit Description }}
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases: ExcludeOU, Exclusions
|
||||||
Type: String[]
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: ExcludeOU, Exclusions
|
Required: False
|
||||||
|
Position: 5
|
||||||
Required: False
|
Default value: None
|
||||||
Position: 5
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -ExtendedForestInformation
|
||||||
|
Specifies additional information about the forest.
|
||||||
### -ExtendedForestInformation
|
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
```yaml
|
||||||
|
Type: IDictionary
|
||||||
```yaml
|
Parameter Sets: __AllParameterSets
|
||||||
Type: IDictionary
|
Aliases:
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: 3
|
||||||
Position: 3
|
Default value: None
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -Forest
|
||||||
### -Forest
|
Specifies the name of the forest to retrieve information from.
|
||||||
{{ Fill Forest Description }}
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String
|
||||||
Type: String
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases: ForestName
|
||||||
Aliases: ForestName
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 0
|
Position: 0
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -IncludeDomains
|
### -IncludeDomains
|
||||||
{{ Fill IncludeDomains Description }}
|
Specifies an array of domains to include for processing.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: String[]
|
Type: String[]
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases: Domain, Domains
|
Aliases: Domain, Domains
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 2
|
Required: False
|
||||||
Default value: None
|
Position: 2
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -Option
|
|
||||||
{{ Fill Option Description }}
|
### -Option
|
||||||
|
Specifies the action to perform on the retrieved data. Valid values are 'OK', 'Unlink', or 'Delete'.
|
||||||
```yaml
|
|
||||||
Type: String[]
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: String[]
|
||||||
Aliases:
|
Parameter Sets: __AllParameterSets
|
||||||
Accepted values: OK, Unlink, Delete
|
Aliases:
|
||||||
|
Possible values: OK, Unlink, Delete
|
||||||
Required: False
|
|
||||||
Position: 4
|
Required: False
|
||||||
Default value: None
|
Position: 4
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
## INPUTS
|
|
||||||
|
## INPUTS
|
||||||
### None
|
|
||||||
|
- `None`
|
||||||
## OUTPUTS
|
|
||||||
|
## OUTPUTS
|
||||||
### System.Object
|
|
||||||
## NOTES
|
- `None`
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+220
-215
@@ -1,215 +1,220 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrOwner
|
||||||
# Get-GPOZaurrOwner
|
## SYNOPSIS
|
||||||
|
Gets owners of GPOs from Active Directory and SYSVOL
|
||||||
## SYNOPSIS
|
|
||||||
Gets owners of GPOs from Active Directory and SYSVOL
|
## SYNTAX
|
||||||
|
### Default (Default)
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrOwner [-IncludeSysvol] [-SkipBroken] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-ADAdministrativeGroups <IDictionary>] [-ApprovedOwner <string[]>] [<CommonParameters>]
|
||||||
### Default (Default)
|
```
|
||||||
```
|
|
||||||
Get-GPOZaurrOwner [-IncludeSysvol] [-SkipBroken] [-Forest <String>] [-ExcludeDomains <String[]>]
|
### GPOName
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>]
|
```powershell
|
||||||
[-ADAdministrativeGroups <IDictionary>] [-ApprovedOwner <String[]>] [<CommonParameters>]
|
Get-GPOZaurrOwner [-GPOName <string>] [-IncludeSysvol] [-SkipBroken] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-ADAdministrativeGroups <IDictionary>] [-ApprovedOwner <string[]>] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
|
|
||||||
### GPOName
|
### GPOGUID
|
||||||
```
|
```powershell
|
||||||
Get-GPOZaurrOwner [-GPOName <String>] [-IncludeSysvol] [-SkipBroken] [-Forest <String>]
|
Get-GPOZaurrOwner [-GPOGuid <string>] [-IncludeSysvol] [-SkipBroken] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-ADAdministrativeGroups <IDictionary>] [-ApprovedOwner <string[]>] [<CommonParameters>]
|
||||||
[-ExcludeDomains <String[]>] [-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>]
|
```
|
||||||
[-ADAdministrativeGroups <IDictionary>] [-ApprovedOwner <String[]>] [<CommonParameters>]
|
|
||||||
```
|
## DESCRIPTION
|
||||||
|
Gets owners of GPOs from Active Directory and SYSVOL
|
||||||
### GPOGUID
|
|
||||||
```
|
## EXAMPLES
|
||||||
Get-GPOZaurrOwner [-GPOGuid <String>] [-IncludeSysvol] [-SkipBroken] [-Forest <String>]
|
|
||||||
[-ExcludeDomains <String[]>] [-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>]
|
### EXAMPLE 1
|
||||||
[-ADAdministrativeGroups <IDictionary>] [-ApprovedOwner <String[]>] [<CommonParameters>]
|
```powershell
|
||||||
```
|
PS > Get-GPOZaurrOwner -Verbose -IncludeSysvol
|
||||||
|
```
|
||||||
## DESCRIPTION
|
|
||||||
Gets owners of GPOs from Active Directory and SYSVOL
|
|
||||||
|
### EXAMPLE 2
|
||||||
## EXAMPLES
|
```powershell
|
||||||
|
PS > Get-GPOZaurrOwner -Verbose -IncludeSysvol -SkipBroken
|
||||||
### EXAMPLE 1
|
```
|
||||||
```
|
|
||||||
Get-GPOZaurrOwner -Verbose -IncludeSysvol
|
|
||||||
```
|
## PARAMETERS
|
||||||
|
|
||||||
### EXAMPLE 2
|
### -ADAdministrativeGroups
|
||||||
```
|
Ability to provide AD Administrative Groups from another command to speed up processing
|
||||||
Get-GPOZaurrOwner -Verbose -IncludeSysvol -SkipBroken
|
|
||||||
```
|
```yaml
|
||||||
|
Type: IDictionary
|
||||||
## PARAMETERS
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
|
Aliases:
|
||||||
### -GPOName
|
Possible values:
|
||||||
Name of GPO.
|
|
||||||
By default all GPOs are returned
|
Required: False
|
||||||
|
Position: named
|
||||||
```yaml
|
Default value: None
|
||||||
Type: String
|
Accept pipeline input: False
|
||||||
Parameter Sets: GPOName
|
Accept wildcard characters: True
|
||||||
Aliases:
|
```
|
||||||
|
|
||||||
Required: False
|
### -ApprovedOwner
|
||||||
Position: Named
|
Ability to provide different owner (non administrative that still is approved for use)
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
```yaml
|
||||||
Accept wildcard characters: False
|
Type: String[]
|
||||||
```
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
|
Aliases: Exclusion, Exclusions
|
||||||
### -GPOGuid
|
Possible values:
|
||||||
GUID of GPO.
|
|
||||||
By default all GPOs are returned
|
Required: False
|
||||||
|
Position: named
|
||||||
```yaml
|
Default value: None
|
||||||
Type: String
|
Accept pipeline input: False
|
||||||
Parameter Sets: GPOGUID
|
Accept wildcard characters: True
|
||||||
Aliases: GUID, GPOID
|
```
|
||||||
|
|
||||||
Required: False
|
### -ExcludeDomains
|
||||||
Position: Named
|
Exclude domain from search, by default whole forest is scanned
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
```yaml
|
||||||
Accept wildcard characters: False
|
Type: String[]
|
||||||
```
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
|
Aliases:
|
||||||
### -IncludeSysvol
|
Possible values:
|
||||||
Includes Owner from SYSVOL as well
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: named
|
||||||
Type: SwitchParameter
|
Default value: None
|
||||||
Parameter Sets: (All)
|
Accept pipeline input: False
|
||||||
Aliases:
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
Required: False
|
|
||||||
Position: Named
|
### -ExtendedForestInformation
|
||||||
Default value: False
|
Ability to provide Forest Information from another command to speed up processing
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
```yaml
|
||||||
```
|
Type: IDictionary
|
||||||
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
### -SkipBroken
|
Aliases:
|
||||||
Doesn't display GPOs that have no SYSVOL content (orphaned GPOs)
|
Possible values:
|
||||||
|
|
||||||
```yaml
|
Required: False
|
||||||
Type: SwitchParameter
|
Position: named
|
||||||
Parameter Sets: (All)
|
Default value: None
|
||||||
Aliases:
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
Required: False
|
```
|
||||||
Position: Named
|
|
||||||
Default value: False
|
### -Forest
|
||||||
Accept pipeline input: False
|
Target different Forest, by default current forest is used
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
```yaml
|
||||||
|
Type: String
|
||||||
### -Forest
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
Target different Forest, by default current forest is used
|
Aliases: ForestName
|
||||||
|
Possible values:
|
||||||
```yaml
|
|
||||||
Type: String
|
Required: False
|
||||||
Parameter Sets: (All)
|
Position: named
|
||||||
Aliases: ForestName
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
Required: False
|
Accept wildcard characters: True
|
||||||
Position: Named
|
```
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
### -GPOGuid
|
||||||
Accept wildcard characters: False
|
GUID of GPO. By default all GPOs are returned
|
||||||
```
|
|
||||||
|
```yaml
|
||||||
### -ExcludeDomains
|
Type: String
|
||||||
Exclude domain from search, by default whole forest is scanned
|
Parameter Sets: GPOGUID
|
||||||
|
Aliases: GUID, GPOID
|
||||||
```yaml
|
Possible values:
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
Required: False
|
||||||
Aliases:
|
Position: named
|
||||||
|
Default value: None
|
||||||
Required: False
|
Accept pipeline input: False
|
||||||
Position: Named
|
Accept wildcard characters: True
|
||||||
Default value: None
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -GPOName
|
||||||
```
|
Name of GPO. By default all GPOs are returned
|
||||||
|
|
||||||
### -IncludeDomains
|
```yaml
|
||||||
Include only specific domains, by default whole forest is scanned
|
Type: String
|
||||||
|
Parameter Sets: GPOName
|
||||||
```yaml
|
Aliases:
|
||||||
Type: String[]
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: Domain, Domains
|
Required: False
|
||||||
|
Position: named
|
||||||
Required: False
|
Default value: None
|
||||||
Position: Named
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -IncludeDomains
|
||||||
|
Include only specific domains, by default whole forest is scanned
|
||||||
### -ExtendedForestInformation
|
|
||||||
Ability to provide Forest Information from another command to speed up processing
|
```yaml
|
||||||
|
Type: String[]
|
||||||
```yaml
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
Type: IDictionary
|
Aliases: Domain, Domains
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: named
|
||||||
Position: Named
|
Default value: None
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -IncludeSysvol
|
||||||
### -ADAdministrativeGroups
|
Includes Owner from SYSVOL as well
|
||||||
Ability to provide AD Administrative Groups from another command to speed up processing
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: SwitchParameter
|
||||||
Type: IDictionary
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
Parameter Sets: (All)
|
Aliases:
|
||||||
Aliases:
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: Named
|
Position: named
|
||||||
Default value: None
|
Default value: False
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -ApprovedOwner
|
### -SkipBroken
|
||||||
Ability to provide different owner (non administrative that still is approved for use)
|
Doesn't display GPOs that have no SYSVOL content (orphaned GPOs)
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: String[]
|
Type: SwitchParameter
|
||||||
Parameter Sets: (All)
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
Aliases: Exclusion, Exclusions
|
Aliases:
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: Named
|
Required: False
|
||||||
Default value: None
|
Position: named
|
||||||
Accept pipeline input: False
|
Default value: False
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
## INPUTS
|
|
||||||
|
## INPUTS
|
||||||
## OUTPUTS
|
|
||||||
|
- `None`
|
||||||
## NOTES
|
|
||||||
General notes
|
## OUTPUTS
|
||||||
|
|
||||||
## RELATED LINKS
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+130
-122
@@ -1,122 +1,130 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrPassword
|
||||||
# Get-GPOZaurrPassword
|
## SYNOPSIS
|
||||||
|
Tries to find CPassword in Group Policies or given path and translate it to readable value
|
||||||
## SYNOPSIS
|
|
||||||
Tries to find CPassword in Group Policies or given path and translate it to readable value
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrPassword [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [[-GPOPath] <string[]>] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Get-GPOZaurrPassword [[-Forest] <String>] [[-ExcludeDomains] <String[]>] [[-IncludeDomains] <String[]>]
|
|
||||||
[[-ExtendedForestInformation] <IDictionary>] [[-GPOPath] <String[]>] [<CommonParameters>]
|
## DESCRIPTION
|
||||||
```
|
Tries to find CPassword in Group Policies or given path and translate it to readable value
|
||||||
|
|
||||||
## DESCRIPTION
|
## EXAMPLES
|
||||||
Tries to find CPassword in Group Policies or given path and translate it to readable value
|
|
||||||
|
### EXAMPLE 1
|
||||||
## EXAMPLES
|
```powershell
|
||||||
|
PS > Get-GPOZaurrPassword -GPOPath 'C:\Users\przemyslaw.klys\Desktop\GPOExport_2020.10.12'
|
||||||
### EXAMPLE 1
|
```
|
||||||
```
|
|
||||||
Get-GPOZaurrPassword -GPOPath 'C:\Users\przemyslaw.klys\Desktop\GPOExport_2020.10.12'
|
|
||||||
```
|
### EXAMPLE 2
|
||||||
|
```powershell
|
||||||
### EXAMPLE 2
|
PS > Get-GPOZaurrPassword
|
||||||
```
|
```
|
||||||
Get-GPOZaurrPassword
|
|
||||||
```
|
|
||||||
|
## PARAMETERS
|
||||||
## PARAMETERS
|
|
||||||
|
### -ExcludeDomains
|
||||||
### -Forest
|
Exclude domain from search, by default whole forest is scanned
|
||||||
Target different Forest, by default current forest is used
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String[]
|
||||||
Type: String
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases:
|
||||||
Aliases: ForestName
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 1
|
Position: 1
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -ExcludeDomains
|
### -ExtendedForestInformation
|
||||||
Exclude domain from search, by default whole forest is scanned
|
Ability to provide Forest Information from another command to speed up processing
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: String[]
|
Type: IDictionary
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases:
|
Aliases:
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 2
|
Required: False
|
||||||
Default value: None
|
Position: 3
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -IncludeDomains
|
|
||||||
Include only specific domains, by default whole forest is scanned
|
### -Forest
|
||||||
|
Target different Forest, by default current forest is used
|
||||||
```yaml
|
|
||||||
Type: String[]
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: String
|
||||||
Aliases: Domain, Domains
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases: ForestName
|
||||||
Required: False
|
Possible values:
|
||||||
Position: 3
|
|
||||||
Default value: None
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: 0
|
||||||
Accept wildcard characters: False
|
Default value: None
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -ExtendedForestInformation
|
```
|
||||||
Ability to provide Forest Information from another command to speed up processing
|
|
||||||
|
### -GPOPath
|
||||||
```yaml
|
Path where Group Policy content is located or where backup is located
|
||||||
Type: IDictionary
|
|
||||||
Parameter Sets: (All)
|
```yaml
|
||||||
Aliases:
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
Required: False
|
Aliases:
|
||||||
Position: 4
|
Possible values:
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
Required: False
|
||||||
Accept wildcard characters: False
|
Position: 4
|
||||||
```
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
### -GPOPath
|
Accept wildcard characters: True
|
||||||
Path where Group Policy content is located or where backup is located
|
```
|
||||||
|
|
||||||
```yaml
|
### -IncludeDomains
|
||||||
Type: String[]
|
Include only specific domains, by default whole forest is scanned
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
```yaml
|
||||||
|
Type: String[]
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: 5
|
Aliases: Domain, Domains
|
||||||
Default value: None
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: 2
|
||||||
|
Default value: None
|
||||||
### CommonParameters
|
Accept pipeline input: False
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
## INPUTS
|
|
||||||
|
### CommonParameters
|
||||||
## OUTPUTS
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
## NOTES
|
## INPUTS
|
||||||
General notes
|
|
||||||
|
- `None`
|
||||||
## RELATED LINKS
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+43
-392
@@ -1,392 +1,43 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrPermission
|
||||||
# Get-GPOZaurrPermission
|
## SYNOPSIS
|
||||||
|
{{ Fill in the Synopsis }}
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
```powershell
|
||||||
## SYNTAX
|
Get-GPOZaurrPermission
|
||||||
|
```
|
||||||
### GPO (Default)
|
|
||||||
```
|
## DESCRIPTION
|
||||||
Get-GPOZaurrPermission [-Principal <String[]>] [-PrincipalType <String>] [-Type <String[]>] [-SkipWellKnown]
|
{{ Fill in the Description }}
|
||||||
[-SkipAdministrative] [-IncludeOwner] [-IncludePermissionType <GPPermissionType[]>]
|
|
||||||
[-ExcludePermissionType <GPPermissionType[]>] [-PermitType <String>] [-ExcludePrincipal <String[]>]
|
## EXAMPLES
|
||||||
[-ExcludePrincipalType <String>] [-IncludeGPOObject] [-Forest <String>] [-ExcludeDomains <String[]>]
|
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>]
|
### EXAMPLE 1
|
||||||
[-ADAdministrativeGroups <IDictionary>] [-ReturnSecurityWhenNoData] [-ReturnSingleObject] [<CommonParameters>]
|
```powershell
|
||||||
```
|
Get-GPOZaurrPermission
|
||||||
|
```
|
||||||
### GPOName
|
|
||||||
```
|
|
||||||
Get-GPOZaurrPermission [-GPOName <String>] [-Principal <String[]>] [-PrincipalType <String>] [-Type <String[]>]
|
## PARAMETERS
|
||||||
[-SkipWellKnown] [-SkipAdministrative] [-IncludeOwner] [-IncludePermissionType <GPPermissionType[]>]
|
|
||||||
[-ExcludePermissionType <GPPermissionType[]>] [-PermitType <String>] [-ExcludePrincipal <String[]>]
|
### CommonParameters
|
||||||
[-ExcludePrincipalType <String>] [-IncludeGPOObject] [-Forest <String>] [-ExcludeDomains <String[]>]
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>]
|
|
||||||
[-ADAdministrativeGroups <IDictionary>] [-ReturnSecurityWhenNoData] [-ReturnSingleObject] [<CommonParameters>]
|
## INPUTS
|
||||||
```
|
|
||||||
|
- `None`
|
||||||
### GPOGUID
|
|
||||||
```
|
## OUTPUTS
|
||||||
Get-GPOZaurrPermission [-GPOGuid <String>] [-Principal <String[]>] [-PrincipalType <String>] [-Type <String[]>]
|
|
||||||
[-SkipWellKnown] [-SkipAdministrative] [-IncludeOwner] [-IncludePermissionType <GPPermissionType[]>]
|
- `None`
|
||||||
[-ExcludePermissionType <GPPermissionType[]>] [-PermitType <String>] [-ExcludePrincipal <String[]>]
|
|
||||||
[-ExcludePrincipalType <String>] [-IncludeGPOObject] [-Forest <String>] [-ExcludeDomains <String[]>]
|
## RELATED LINKS
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>]
|
|
||||||
[-ADAdministrativeGroups <IDictionary>] [-ReturnSecurityWhenNoData] [-ReturnSingleObject] [<CommonParameters>]
|
- None
|
||||||
```
|
|
||||||
|
|
||||||
## DESCRIPTION
|
|
||||||
{{ Fill in the Description }}
|
|
||||||
|
|
||||||
## EXAMPLES
|
|
||||||
|
|
||||||
### Example 1
|
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
|
||||||
```
|
|
||||||
|
|
||||||
{{ Add example description here }}
|
|
||||||
|
|
||||||
## PARAMETERS
|
|
||||||
|
|
||||||
### -ADAdministrativeGroups
|
|
||||||
{{ Fill ADAdministrativeGroups Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: IDictionary
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ExcludeDomains
|
|
||||||
{{ Fill ExcludeDomains Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ExcludePermissionType
|
|
||||||
{{ Fill ExcludePermissionType Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: GPPermissionType[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: None, GpoApply, GpoRead, GpoEdit, GpoEditDeleteModifySecurity, GpoCustom, WmiFilterEdit, WmiFilterFullControl, WmiFilterCustom, StarterGpoRead, StarterGpoEdit, StarterGpoFullControl, StarterGpoCustom, SomCreateWmiFilter, SomWmiFilterFullControl, SomCreateGpo, SomCreateStarterGpo, SomLogging, SomPlanning, SomLink
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ExcludePrincipal
|
|
||||||
{{ Fill ExcludePrincipal Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ExcludePrincipalType
|
|
||||||
{{ Fill ExcludePrincipalType Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: DistinguishedName, Name, Sid
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ExtendedForestInformation
|
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: IDictionary
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Forest
|
|
||||||
{{ Fill Forest Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: ForestName
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -GPOGuid
|
|
||||||
{{ Fill GPOGuid Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: GPOGUID
|
|
||||||
Aliases: GUID, GPOID
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -GPOName
|
|
||||||
{{ Fill GPOName Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: GPOName
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -IncludeDomains
|
|
||||||
{{ Fill IncludeDomains Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: Domain, Domains
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -IncludeGPOObject
|
|
||||||
{{ Fill IncludeGPOObject Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -IncludeOwner
|
|
||||||
{{ Fill IncludeOwner Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -IncludePermissionType
|
|
||||||
{{ Fill IncludePermissionType Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: GPPermissionType[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: None, GpoApply, GpoRead, GpoEdit, GpoEditDeleteModifySecurity, GpoCustom, WmiFilterEdit, WmiFilterFullControl, WmiFilterCustom, StarterGpoRead, StarterGpoEdit, StarterGpoFullControl, StarterGpoCustom, SomCreateWmiFilter, SomWmiFilterFullControl, SomCreateGpo, SomCreateStarterGpo, SomLogging, SomPlanning, SomLink
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -PermitType
|
|
||||||
{{ Fill PermitType Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: Allow, Deny, All
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Principal
|
|
||||||
{{ Fill Principal Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -PrincipalType
|
|
||||||
{{ Fill PrincipalType Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: DistinguishedName, Name, NetbiosName, Sid
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ReturnSecurityWhenNoData
|
|
||||||
{{ Fill ReturnSecurityWhenNoData Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ReturnSingleObject
|
|
||||||
{{ Fill ReturnSingleObject Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -SkipAdministrative
|
|
||||||
{{ Fill SkipAdministrative Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -SkipWellKnown
|
|
||||||
{{ Fill SkipWellKnown Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Type
|
|
||||||
{{ Fill Type Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: AuthenticatedUsers, DomainComputers, Unknown, WellKnownAdministrative, NotWellKnown, NotWellKnownAdministrative, NotAdministrative, Administrative, All
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
### None
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
### System.Object
|
|
||||||
## NOTES
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
@@ -1,106 +1,109 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrPermissionAnalysis
|
||||||
# Get-GPOZaurrPermissionAnalysis
|
## SYNOPSIS
|
||||||
|
Analyzes permissions for Group Policy Objects (GPOs) and administrative groups.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrPermissionAnalysis [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-Permissions] <array>] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Get-GPOZaurrPermissionAnalysis [[-Forest] <String>] [[-ExcludeDomains] <String[]>]
|
|
||||||
[[-IncludeDomains] <String[]>] [[-Permissions] <Array>] [<CommonParameters>]
|
## DESCRIPTION
|
||||||
```
|
This function analyzes permissions for Group Policy Objects (GPOs) and identifies administrative groups with specific permissions.
|
||||||
|
|
||||||
## DESCRIPTION
|
## EXAMPLES
|
||||||
{{ Fill in the Description }}
|
|
||||||
|
### EXAMPLE 1
|
||||||
## EXAMPLES
|
```powershell
|
||||||
|
PS > Get-GPOZaurrPermissionAnalysis -Forest "ContosoForest" -IncludeDomains @("Domain1", "Domain2") -ExcludeDomains @("Domain3") -Permissions $PermissionsArray
|
||||||
### Example 1
|
Analyzes permissions for GPOs in the "ContosoForest" forest, including "Domain1" and "Domain2" while excluding "Domain3", using the specified permissions array.
|
||||||
```powershell
|
```
|
||||||
PS C:\> {{ Add example code here }}
|
|
||||||
```
|
|
||||||
|
## PARAMETERS
|
||||||
{{ Add example description here }}
|
|
||||||
|
### -ExcludeDomains
|
||||||
## PARAMETERS
|
Specifies an array of domains to exclude from the analysis.
|
||||||
|
|
||||||
### -ExcludeDomains
|
```yaml
|
||||||
{{ Fill ExcludeDomains Description }}
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases:
|
||||||
Type: String[]
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
Required: False
|
||||||
|
Position: 1
|
||||||
Required: False
|
Default value: None
|
||||||
Position: 1
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -Forest
|
||||||
|
Specifies the name of the forest to analyze.
|
||||||
### -Forest
|
|
||||||
{{ Fill Forest Description }}
|
```yaml
|
||||||
|
Type: String
|
||||||
```yaml
|
Parameter Sets: __AllParameterSets
|
||||||
Type: String
|
Aliases: ForestName
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases: ForestName
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: 0
|
||||||
Position: 0
|
Default value: None
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -IncludeDomains
|
||||||
### -IncludeDomains
|
Specifies an array of domains to include in the analysis.
|
||||||
{{ Fill IncludeDomains Description }}
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String[]
|
||||||
Type: String[]
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases: Domain, Domains
|
||||||
Aliases: Domain, Domains
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 2
|
Position: 2
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -Permissions
|
### -Permissions
|
||||||
{{ Fill Permissions Description }}
|
Specifies an array of permissions to analyze.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: Array
|
Type: Array
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases:
|
Aliases:
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 3
|
Required: False
|
||||||
Default value: None
|
Position: 3
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
## INPUTS
|
|
||||||
|
## INPUTS
|
||||||
### None
|
|
||||||
|
- `None`
|
||||||
## OUTPUTS
|
|
||||||
|
## OUTPUTS
|
||||||
### System.Object
|
|
||||||
## NOTES
|
- `None`
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
@@ -1,198 +1,206 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrPermissionConsistency
|
||||||
# Get-GPOZaurrPermissionConsistency
|
## SYNOPSIS
|
||||||
|
Retrieves information about Group Policy Objects (GPOs) and checks permission consistency across domains.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### Type (Default)
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrPermissionConsistency [-Type <string[]>] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-IncludeGPOObject] [-VerifyInheritance] [<CommonParameters>]
|
||||||
### Type (Default)
|
```
|
||||||
```
|
|
||||||
Get-GPOZaurrPermissionConsistency [-Type <String[]>] [-Forest <String>] [-ExcludeDomains <String[]>]
|
### GPOName
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-IncludeGPOObject]
|
```powershell
|
||||||
[-VerifyInheritance] [<CommonParameters>]
|
Get-GPOZaurrPermissionConsistency [-GPOName <string>] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-IncludeGPOObject] [-VerifyInheritance] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
|
|
||||||
### GPOName
|
### GPOGUID
|
||||||
```
|
```powershell
|
||||||
Get-GPOZaurrPermissionConsistency [-GPOName <String>] [-Forest <String>] [-ExcludeDomains <String[]>]
|
Get-GPOZaurrPermissionConsistency [-GPOGuid <string>] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-IncludeGPOObject] [-VerifyInheritance] [<CommonParameters>]
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-IncludeGPOObject]
|
```
|
||||||
[-VerifyInheritance] [<CommonParameters>]
|
|
||||||
```
|
## DESCRIPTION
|
||||||
|
The Get-GPOZaurrPermissionConsistency function retrieves information about GPOs and checks permission consistency across domains. It can filter by GPO name, GPO GUID, or type of consistency. It also provides options to include/exclude specific domains and verify inheritance.
|
||||||
### GPOGUID
|
|
||||||
```
|
## EXAMPLES
|
||||||
Get-GPOZaurrPermissionConsistency [-GPOGuid <String>] [-Forest <String>] [-ExcludeDomains <String[]>]
|
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-IncludeGPOObject]
|
### EXAMPLE 1
|
||||||
[-VerifyInheritance] [<CommonParameters>]
|
```powershell
|
||||||
```
|
PS > Get-GPOZaurrPermissionConsistency -GPOName "TestGPO" -Forest "Contoso" -IncludeDomains @("DomainA", "DomainB") -Type "Consistent"
|
||||||
|
Retrieves permission consistency information for the GPO named "TestGPO" in the forest "Contoso" for domains "DomainA" and "DomainB" with consistent permissions.
|
||||||
## DESCRIPTION
|
```
|
||||||
{{ Fill in the Description }}
|
|
||||||
|
|
||||||
## EXAMPLES
|
### EXAMPLE 2
|
||||||
|
```powershell
|
||||||
### Example 1
|
PS > Get-GPOZaurrPermissionConsistency -GPOGuid "12345678-1234-1234-1234-1234567890AB" -Forest "Fabrikam" -Type "Inconsistent" -VerifyInheritance
|
||||||
```powershell
|
Retrieves permission consistency information for the GPO with GUID "12345678-1234-1234-1234-1234567890AB" in the forest "Fabrikam" for all domains with inconsistent permissions and verifies inheritance.
|
||||||
PS C:\> {{ Add example code here }}
|
```
|
||||||
```
|
|
||||||
|
|
||||||
{{ Add example description here }}
|
## PARAMETERS
|
||||||
|
|
||||||
## PARAMETERS
|
### -ExcludeDomains
|
||||||
|
Specifies an array of domains to exclude from the search.
|
||||||
### -ExcludeDomains
|
|
||||||
{{ Fill ExcludeDomains Description }}
|
```yaml
|
||||||
|
Type: String[]
|
||||||
```yaml
|
Parameter Sets: Type, GPOName, GPOGUID
|
||||||
Type: String[]
|
Aliases:
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: named
|
||||||
Position: Named
|
Default value: None
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -ExtendedForestInformation
|
||||||
### -ExtendedForestInformation
|
Specifies additional information about the forest.
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: IDictionary
|
||||||
Type: IDictionary
|
Parameter Sets: Type, GPOName, GPOGUID
|
||||||
Parameter Sets: (All)
|
Aliases:
|
||||||
Aliases:
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: Named
|
Position: named
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -Forest
|
### -Forest
|
||||||
{{ Fill Forest Description }}
|
Specifies the forest name to retrieve GPO information from.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: String
|
Type: String
|
||||||
Parameter Sets: (All)
|
Parameter Sets: Type, GPOName, GPOGUID
|
||||||
Aliases: ForestName
|
Aliases: ForestName
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: Named
|
Required: False
|
||||||
Default value: None
|
Position: named
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -GPOGuid
|
|
||||||
{{ Fill GPOGuid Description }}
|
### -GPOGuid
|
||||||
|
Specifies the GUID of the GPO to retrieve.
|
||||||
```yaml
|
|
||||||
Type: String
|
```yaml
|
||||||
Parameter Sets: GPOGUID
|
Type: String
|
||||||
Aliases: GUID, GPOID
|
Parameter Sets: GPOGUID
|
||||||
|
Aliases: GUID, GPOID
|
||||||
Required: False
|
Possible values:
|
||||||
Position: Named
|
|
||||||
Default value: None
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: named
|
||||||
Accept wildcard characters: False
|
Default value: None
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -GPOName
|
```
|
||||||
{{ Fill GPOName Description }}
|
|
||||||
|
### -GPOName
|
||||||
```yaml
|
Specifies the name of the GPO to retrieve.
|
||||||
Type: String
|
|
||||||
Parameter Sets: GPOName
|
```yaml
|
||||||
Aliases:
|
Type: String
|
||||||
|
Parameter Sets: GPOName
|
||||||
Required: False
|
Aliases:
|
||||||
Position: Named
|
Possible values:
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
Required: False
|
||||||
Accept wildcard characters: False
|
Position: named
|
||||||
```
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
### -IncludeDomains
|
Accept wildcard characters: True
|
||||||
{{ Fill IncludeDomains Description }}
|
```
|
||||||
|
|
||||||
```yaml
|
### -IncludeDomains
|
||||||
Type: String[]
|
Specifies an array of domains to include in the search.
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: Domain, Domains
|
```yaml
|
||||||
|
Type: String[]
|
||||||
Required: False
|
Parameter Sets: Type, GPOName, GPOGUID
|
||||||
Position: Named
|
Aliases: Domain, Domains
|
||||||
Default value: None
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: named
|
||||||
|
Default value: None
|
||||||
### -IncludeGPOObject
|
Accept pipeline input: False
|
||||||
{{ Fill IncludeGPOObject Description }}
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
### -IncludeGPOObject
|
||||||
Parameter Sets: (All)
|
Indicates whether to include the GPO object in the output.
|
||||||
Aliases:
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: SwitchParameter
|
||||||
Position: Named
|
Parameter Sets: Type, GPOName, GPOGUID
|
||||||
Default value: None
|
Aliases:
|
||||||
Accept pipeline input: False
|
Possible values:
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: named
|
||||||
### -Type
|
Default value: False
|
||||||
{{ Fill Type Description }}
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: Type
|
### -Type
|
||||||
Aliases:
|
Specifies the type of consistency to check. Valid values are 'Consistent', 'Inconsistent', or 'All'.
|
||||||
Accepted values: Consistent, Inconsistent, All
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: String[]
|
||||||
Position: Named
|
Parameter Sets: Type
|
||||||
Default value: None
|
Aliases:
|
||||||
Accept pipeline input: False
|
Possible values: Consistent, Inconsistent, All
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: named
|
||||||
### -VerifyInheritance
|
Default value: All
|
||||||
{{ Fill VerifyInheritance Description }}
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
### -VerifyInheritance
|
||||||
Aliases:
|
Indicates whether to verify inheritance of permissions.
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: Named
|
Type: SwitchParameter
|
||||||
Default value: None
|
Parameter Sets: Type, GPOName, GPOGUID
|
||||||
Accept pipeline input: False
|
Aliases:
|
||||||
Accept wildcard characters: False
|
Possible values:
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### CommonParameters
|
Position: named
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
Default value: False
|
||||||
|
Accept pipeline input: False
|
||||||
## INPUTS
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### None
|
|
||||||
|
### CommonParameters
|
||||||
## OUTPUTS
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
### System.Object
|
## INPUTS
|
||||||
## NOTES
|
|
||||||
|
- `None`
|
||||||
## RELATED LINKS
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+109
-104
@@ -1,104 +1,109 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrPermissionIssue
|
||||||
# Get-GPOZaurrPermissionIssue
|
## SYNOPSIS
|
||||||
|
Detects Group Policy missing Authenticated Users permission while not having higher permissions.
|
||||||
## SYNOPSIS
|
|
||||||
Detects Group Policy missing Authenticated Users permission while not having higher permissions.
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrPermissionIssue [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Get-GPOZaurrPermissionIssue [[-Forest] <String>] [[-ExcludeDomains] <String[]>] [[-IncludeDomains] <String[]>]
|
|
||||||
[[-ExtendedForestInformation] <IDictionary>] [<CommonParameters>]
|
## DESCRIPTION
|
||||||
```
|
Detects Group Policy missing Authenticated Users permission while not having higher permissions.
|
||||||
|
|
||||||
## DESCRIPTION
|
## EXAMPLES
|
||||||
Detects Group Policy missing Authenticated Users permission while not having higher permissions.
|
|
||||||
|
### EXAMPLE 1
|
||||||
## EXAMPLES
|
```powershell
|
||||||
|
PS > $Issues = Get-GPOZaurrPermissionIssue
|
||||||
### EXAMPLE 1
|
$Issues | Format-Table
|
||||||
```
|
```
|
||||||
$Issues = Get-GPOZaurrPermissionIssue
|
|
||||||
```
|
|
||||||
|
## PARAMETERS
|
||||||
$Issues | Format-Table
|
|
||||||
|
### -ExcludeDomains
|
||||||
## PARAMETERS
|
Exclude domain from search, by default whole forest is scanned
|
||||||
|
|
||||||
### -Forest
|
```yaml
|
||||||
Target different Forest, by default current forest is used
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases:
|
||||||
Type: String
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: ForestName
|
Required: False
|
||||||
|
Position: 1
|
||||||
Required: False
|
Default value: None
|
||||||
Position: 1
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -ExtendedForestInformation
|
||||||
|
Ability to provide Forest Information from another command to speed up processing
|
||||||
### -ExcludeDomains
|
|
||||||
Exclude domain from search, by default whole forest is scanned
|
```yaml
|
||||||
|
Type: IDictionary
|
||||||
```yaml
|
Parameter Sets: __AllParameterSets
|
||||||
Type: String[]
|
Aliases:
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: 3
|
||||||
Position: 2
|
Default value: None
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -Forest
|
||||||
### -IncludeDomains
|
Target different Forest, by default current forest is used
|
||||||
Include only specific domains, by default whole forest is scanned
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String
|
||||||
Type: String[]
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases: ForestName
|
||||||
Aliases: Domain, Domains
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 3
|
Position: 0
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -ExtendedForestInformation
|
### -IncludeDomains
|
||||||
Ability to provide Forest Information from another command to speed up processing
|
Include only specific domains, by default whole forest is scanned
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: IDictionary
|
Type: String[]
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases:
|
Aliases: Domain, Domains
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 4
|
Required: False
|
||||||
Default value: None
|
Position: 2
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
## INPUTS
|
|
||||||
|
## INPUTS
|
||||||
## OUTPUTS
|
|
||||||
|
- `None`
|
||||||
## NOTES
|
|
||||||
General notes
|
## OUTPUTS
|
||||||
|
|
||||||
## RELATED LINKS
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+162
-154
@@ -1,154 +1,162 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrPermissionRoot
|
||||||
# Get-GPOZaurrPermissionRoot
|
## SYNOPSIS
|
||||||
|
Retrieves the root permissions of Group Policy Objects (GPOs) based on specified criteria.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrPermissionRoot [[-IncludePermissionType] <string[]>] [[-ExcludePermissionType] <string[]>] [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [-SkipNames] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Get-GPOZaurrPermissionRoot [[-IncludePermissionType] <String[]>] [[-ExcludePermissionType] <String[]>]
|
|
||||||
[[-Forest] <String>] [[-ExcludeDomains] <String[]>] [[-IncludeDomains] <String[]>]
|
## DESCRIPTION
|
||||||
[[-ExtendedForestInformation] <IDictionary>] [-SkipNames] [<CommonParameters>]
|
Retrieves the root permissions of GPOs based on the specified criteria, including filtering by permission types, forest, domains, and more.
|
||||||
```
|
|
||||||
|
## EXAMPLES
|
||||||
## DESCRIPTION
|
|
||||||
{{ Fill in the Description }}
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
## EXAMPLES
|
PS > Get-GPOZaurrPermissionRoot -IncludePermissionType 'GpoRootCreate' -ExcludePermissionType 'GpoRootOwner' -Forest 'ExampleForest' -IncludeDomains 'Domain1', 'Domain2' -ExtendedForestInformation $ForestInfo -SkipNames
|
||||||
|
```
|
||||||
### Example 1
|
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
### EXAMPLE 2
|
||||||
```
|
```powershell
|
||||||
|
PS > Get-GPOZaurrPermissionRoot -IncludePermissionType 'GpoRootOwner' -ExcludePermissionType 'GpoRootCreate' -Forest 'AnotherForest' -ExcludeDomains 'Domain3' -SkipNames
|
||||||
{{ Add example description here }}
|
```
|
||||||
|
|
||||||
## PARAMETERS
|
|
||||||
|
## PARAMETERS
|
||||||
### -ExcludeDomains
|
|
||||||
{{ Fill ExcludeDomains Description }}
|
### -ExcludeDomains
|
||||||
|
Specifies domains to exclude from the search.
|
||||||
```yaml
|
|
||||||
Type: String[]
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: String[]
|
||||||
Aliases:
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
Required: False
|
Possible values:
|
||||||
Position: 3
|
|
||||||
Default value: None
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: 3
|
||||||
Accept wildcard characters: False
|
Default value: None
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -ExcludePermissionType
|
```
|
||||||
{{ Fill ExcludePermissionType Description }}
|
|
||||||
|
### -ExcludePermissionType
|
||||||
```yaml
|
Specifies the root permission types to exclude from the search.
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
```yaml
|
||||||
Aliases:
|
Type: String[]
|
||||||
Accepted values: GpoRootCreate, GpoRootOwner
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
Required: False
|
Possible values: GpoRootCreate, GpoRootOwner
|
||||||
Position: 1
|
|
||||||
Default value: None
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: 1
|
||||||
Accept wildcard characters: False
|
Default value: None
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -ExtendedForestInformation
|
```
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
|
||||||
|
### -ExtendedForestInformation
|
||||||
```yaml
|
Provides additional forest information to speed up processing.
|
||||||
Type: IDictionary
|
|
||||||
Parameter Sets: (All)
|
```yaml
|
||||||
Aliases:
|
Type: IDictionary
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
Required: False
|
Aliases:
|
||||||
Position: 5
|
Possible values:
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
Required: False
|
||||||
Accept wildcard characters: False
|
Position: 5
|
||||||
```
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
### -Forest
|
Accept wildcard characters: True
|
||||||
{{ Fill Forest Description }}
|
```
|
||||||
|
|
||||||
```yaml
|
### -Forest
|
||||||
Type: String
|
Specifies the target forest. By default, the current forest is used.
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: ForestName
|
```yaml
|
||||||
|
Type: String
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: 2
|
Aliases: ForestName
|
||||||
Default value: None
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: 2
|
||||||
|
Default value: None
|
||||||
### -IncludeDomains
|
Accept pipeline input: False
|
||||||
{{ Fill IncludeDomains Description }}
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: String[]
|
### -IncludeDomains
|
||||||
Parameter Sets: (All)
|
Specifies domains to include in the search.
|
||||||
Aliases: Domain, Domains
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: String[]
|
||||||
Position: 4
|
Parameter Sets: __AllParameterSets
|
||||||
Default value: None
|
Aliases: Domain, Domains
|
||||||
Accept pipeline input: False
|
Possible values:
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: 4
|
||||||
### -IncludePermissionType
|
Default value: None
|
||||||
{{ Fill IncludePermissionType Description }}
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
### -IncludePermissionType
|
||||||
Aliases:
|
Specifies the root permission types to include in the search.
|
||||||
Accepted values: GpoRootCreate, GpoRootOwner
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: String[]
|
||||||
Position: 0
|
Parameter Sets: __AllParameterSets
|
||||||
Default value: None
|
Aliases:
|
||||||
Accept pipeline input: False
|
Possible values: GpoRootCreate, GpoRootOwner
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: 0
|
||||||
### -SkipNames
|
Default value: None
|
||||||
{{ Fill SkipNames Description }}
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
### -SkipNames
|
||||||
Aliases:
|
Skips processing names during the operation.
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: Named
|
Type: SwitchParameter
|
||||||
Default value: None
|
Parameter Sets: __AllParameterSets
|
||||||
Accept pipeline input: False
|
Aliases:
|
||||||
Accept wildcard characters: False
|
Possible values:
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### CommonParameters
|
Position: named
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
Default value: False
|
||||||
|
Accept pipeline input: False
|
||||||
## INPUTS
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### None
|
|
||||||
|
### CommonParameters
|
||||||
## OUTPUTS
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
### System.Object
|
## INPUTS
|
||||||
## NOTES
|
|
||||||
|
- `None`
|
||||||
## RELATED LINKS
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
@@ -1,187 +1,194 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrPermissionSummary
|
||||||
# Get-GPOZaurrPermissionSummary
|
## SYNOPSIS
|
||||||
|
Retrieves a summary of Group Policy Object (GPO) permissions based on specified criteria.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrPermissionSummary [[-Type] <string[]>] [[-PermitType] <string>] [[-IncludePermissionType] <string[]>] [[-ExcludePermissionType] <string[]>] [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [[-Separator] <string>] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Get-GPOZaurrPermissionSummary [[-Type] <String[]>] [[-PermitType] <String>]
|
|
||||||
[[-IncludePermissionType] <String[]>] [[-ExcludePermissionType] <String[]>] [[-Forest] <String>]
|
## DESCRIPTION
|
||||||
[[-ExcludeDomains] <String[]>] [[-IncludeDomains] <String[]>] [[-ExtendedForestInformation] <IDictionary>]
|
Retrieves a summary of GPO permissions based on the specified criteria, including filtering by permission types, permit types, and more.
|
||||||
[[-Separator] <String>] [<CommonParameters>]
|
|
||||||
```
|
## EXAMPLES
|
||||||
|
|
||||||
## DESCRIPTION
|
### EXAMPLE 1
|
||||||
{{ Fill in the Description }}
|
```powershell
|
||||||
|
PS > Get-GPOZaurrPermissionSummary -Type 'All' -PermitType 'Allow' -IncludePermissionType 'GpoApply', 'GpoEdit' -ExcludePermissionType 'GpoOwner' -Forest 'ExampleForest' -IncludeDomains 'Domain1', 'Domain2' -ExtendedForestInformation $ForestInfo -Separator '|'
|
||||||
## EXAMPLES
|
```
|
||||||
|
|
||||||
### Example 1
|
|
||||||
```powershell
|
### EXAMPLE 2
|
||||||
PS C:\> {{ Add example code here }}
|
```powershell
|
||||||
```
|
PS > Get-GPOZaurrPermissionSummary -Type 'Administrative' -PermitType 'All' -IncludePermissionType 'GpoRead' -ExcludePermissionType 'GpoRootOwner' -Forest 'AnotherForest' -ExcludeDomains 'Domain3' -Separator ','
|
||||||
|
```
|
||||||
{{ Add example description here }}
|
|
||||||
|
|
||||||
## PARAMETERS
|
## PARAMETERS
|
||||||
|
|
||||||
### -ExcludeDomains
|
### -ExcludeDomains
|
||||||
{{ Fill ExcludeDomains Description }}
|
Specifies domains to exclude from the search.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: String[]
|
Type: String[]
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases:
|
Aliases:
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 5
|
Required: False
|
||||||
Default value: None
|
Position: 5
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -ExcludePermissionType
|
|
||||||
{{ Fill ExcludePermissionType Description }}
|
### -ExcludePermissionType
|
||||||
|
Specifies the permission types to exclude from the summary.
|
||||||
```yaml
|
|
||||||
Type: String[]
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: String[]
|
||||||
Aliases:
|
Parameter Sets: __AllParameterSets
|
||||||
Accepted values: GpoApply, GpoEdit, GpoCustom, GpoEditDeleteModifySecurity, GpoRead, GpoOwner, GpoRootCreate, GpoRootOwner
|
Aliases:
|
||||||
|
Possible values: GpoApply, GpoEdit, GpoCustom, GpoEditDeleteModifySecurity, GpoRead, GpoOwner, GpoRootCreate, GpoRootOwner
|
||||||
Required: False
|
|
||||||
Position: 3
|
Required: False
|
||||||
Default value: None
|
Position: 3
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -ExtendedForestInformation
|
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
### -ExtendedForestInformation
|
||||||
|
Provides additional forest information to speed up processing.
|
||||||
```yaml
|
|
||||||
Type: IDictionary
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: IDictionary
|
||||||
Aliases:
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
Required: False
|
Possible values:
|
||||||
Position: 7
|
|
||||||
Default value: None
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: 7
|
||||||
Accept wildcard characters: False
|
Default value: None
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -Forest
|
```
|
||||||
{{ Fill Forest Description }}
|
|
||||||
|
### -Forest
|
||||||
```yaml
|
Specifies the target forest. By default, the current forest is used.
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
```yaml
|
||||||
Aliases: ForestName
|
Type: String
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
Required: False
|
Aliases: ForestName
|
||||||
Position: 4
|
Possible values:
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
Required: False
|
||||||
Accept wildcard characters: False
|
Position: 4
|
||||||
```
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
### -IncludeDomains
|
Accept wildcard characters: True
|
||||||
{{ Fill IncludeDomains Description }}
|
```
|
||||||
|
|
||||||
```yaml
|
### -IncludeDomains
|
||||||
Type: String[]
|
Specifies domains to include in the search.
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: Domain, Domains
|
```yaml
|
||||||
|
Type: String[]
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: 6
|
Aliases: Domain, Domains
|
||||||
Default value: None
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: 6
|
||||||
|
Default value: None
|
||||||
### -IncludePermissionType
|
Accept pipeline input: False
|
||||||
{{ Fill IncludePermissionType Description }}
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: String[]
|
### -IncludePermissionType
|
||||||
Parameter Sets: (All)
|
Specifies the permission types to include in the summary.
|
||||||
Aliases:
|
|
||||||
Accepted values: GpoApply, GpoEdit, GpoCustom, GpoEditDeleteModifySecurity, GpoRead, GpoOwner, GpoRootCreate, GpoRootOwner
|
```yaml
|
||||||
|
Type: String[]
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: 2
|
Aliases:
|
||||||
Default value: None
|
Possible values: GpoApply, GpoEdit, GpoCustom, GpoEditDeleteModifySecurity, GpoRead, GpoOwner, GpoRootCreate, GpoRootOwner
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: 2
|
||||||
|
Default value: None
|
||||||
### -PermitType
|
Accept pipeline input: False
|
||||||
{{ Fill PermitType Description }}
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: String
|
### -PermitType
|
||||||
Parameter Sets: (All)
|
Specifies the type of permission to permit. Options include 'Allow', 'Deny', and 'All'.
|
||||||
Aliases:
|
|
||||||
Accepted values: Allow, Deny, All
|
```yaml
|
||||||
|
Type: String
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: 1
|
Aliases:
|
||||||
Default value: None
|
Possible values: Allow, Deny, All
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: 1
|
||||||
|
Default value: All
|
||||||
### -Separator
|
Accept pipeline input: False
|
||||||
{{ Fill Separator Description }}
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: String
|
### -Separator
|
||||||
Parameter Sets: (All)
|
Specifies the separator to use in the output.
|
||||||
Aliases:
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: String
|
||||||
Position: 8
|
Parameter Sets: __AllParameterSets
|
||||||
Default value: None
|
Aliases:
|
||||||
Accept pipeline input: False
|
Possible values:
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: 8
|
||||||
### -Type
|
Default value: None
|
||||||
{{ Fill Type Description }}
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
### -Type
|
||||||
Aliases:
|
Specifies the type of permissions to include. Options include 'AuthenticatedUsers', 'DomainComputers', 'Unknown', 'WellKnownAdministrative', 'NotWellKnown', 'NotWellKnownAdministrative', 'NotAdministrative', 'Administrative', and 'All'.
|
||||||
Accepted values: AuthenticatedUsers, DomainComputers, Unknown, WellKnownAdministrative, NotWellKnown, NotWellKnownAdministrative, NotAdministrative, Administrative, All
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: String[]
|
||||||
Position: 0
|
Parameter Sets: __AllParameterSets
|
||||||
Default value: None
|
Aliases:
|
||||||
Accept pipeline input: False
|
Possible values: AuthenticatedUsers, DomainComputers, Unknown, WellKnownAdministrative, NotWellKnown, NotWellKnownAdministrative, NotAdministrative, Administrative, All
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: 0
|
||||||
### CommonParameters
|
Default value: All
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
## INPUTS
|
```
|
||||||
|
|
||||||
### None
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
## OUTPUTS
|
|
||||||
|
## INPUTS
|
||||||
### System.Object
|
|
||||||
## NOTES
|
- `None`
|
||||||
|
|
||||||
## RELATED LINKS
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,214 @@
|
|||||||
|
---
|
||||||
|
external help file: GPOZaurr-help.xml
|
||||||
|
Module Name: GPOZaurr
|
||||||
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
|
schema: 2.0.0
|
||||||
|
---
|
||||||
|
# Get-GPOZaurrRedirect
|
||||||
|
## SYNOPSIS
|
||||||
|
Command to detect if GPOs have correct path in SYSVOL, or someone changed it manually.
|
||||||
|
|
||||||
|
## SYNTAX
|
||||||
|
### Default (Default)
|
||||||
|
```powershell
|
||||||
|
Get-GPOZaurrRedirect [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-DateFrom <datetime>] [-DateTo <datetime>] [-DateRange <string>] [-DateProperty <string[]>] [-ExtendedForestInformation <IDictionary>] [<CommonParameters>]
|
||||||
|
```
|
||||||
|
|
||||||
|
### GPOName
|
||||||
|
```powershell
|
||||||
|
Get-GPOZaurrRedirect [-GPOName <string>] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-DateFrom <datetime>] [-DateTo <datetime>] [-DateRange <string>] [-DateProperty <string[]>] [-ExtendedForestInformation <IDictionary>] [<CommonParameters>]
|
||||||
|
```
|
||||||
|
|
||||||
|
### GPOGUID
|
||||||
|
```powershell
|
||||||
|
Get-GPOZaurrRedirect [-GPOGuid <string>] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-DateFrom <datetime>] [-DateTo <datetime>] [-DateRange <string>] [-DateProperty <string[]>] [-ExtendedForestInformation <IDictionary>] [<CommonParameters>]
|
||||||
|
```
|
||||||
|
|
||||||
|
## DESCRIPTION
|
||||||
|
Command to detect if GPOs have correct path in SYSVOL, or someone changed it manually.
|
||||||
|
|
||||||
|
## EXAMPLES
|
||||||
|
|
||||||
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
|
PS > Get-GPOZaurrRedirect | Format-Table
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## PARAMETERS
|
||||||
|
|
||||||
|
### -DateFrom
|
||||||
|
Provide a date from which to start the search, by default the last X days are used
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: DateTime
|
||||||
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
|
Aliases:
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -DateProperty
|
||||||
|
Choose a date property. It can be WhenCreated or WhenChanged or both. By default whenCreated is used for comparison purposes
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: String[]
|
||||||
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
|
Aliases:
|
||||||
|
Possible values: WhenCreated, WhenChanged
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: WhenCreated
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -DateRange
|
||||||
|
Provide a date range to search for, by default the last X days are used
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: String
|
||||||
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
|
Aliases:
|
||||||
|
Possible values: PastHour, CurrentHour, PastDay, CurrentDay, PastMonth, CurrentMonth, PastQuarter, CurrentQuarter, Last14Days, Last21Days, Last30Days, Last7Days, Last3Days, Last1Days
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -DateTo
|
||||||
|
Provide a date to which to end the search, by default the last X days are used
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: DateTime
|
||||||
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
|
Aliases:
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -ExcludeDomains
|
||||||
|
Exclude domain from search, by default whole forest is scanned
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: String[]
|
||||||
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
|
Aliases:
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -ExtendedForestInformation
|
||||||
|
Ability to provide Forest Information from another command to speed up processing
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: IDictionary
|
||||||
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
|
Aliases:
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -Forest
|
||||||
|
Target different Forest, by default current forest is used
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: String
|
||||||
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
|
Aliases: ForestName
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -GPOGuid
|
||||||
|
Provide GPO GUID to search for. By default command returns all GPOs
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: String
|
||||||
|
Parameter Sets: GPOGUID
|
||||||
|
Aliases: GUID, GPOID
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -GPOName
|
||||||
|
Provide GPO name to search for. By default command returns all GPOs
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: String
|
||||||
|
Parameter Sets: GPOName
|
||||||
|
Aliases:
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -IncludeDomains
|
||||||
|
Include only specific domains, by default whole forest is scanned
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: String[]
|
||||||
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
|
Aliases: Domain, Domains
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
|
## INPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
+173
-170
@@ -1,170 +1,173 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrSysvolDFSR
|
||||||
# Get-GPOZaurrSysvolDFSR
|
## SYNOPSIS
|
||||||
|
Gets DFSR information from the SYSVOL DFSR
|
||||||
## SYNOPSIS
|
|
||||||
Gets DFSR information from the SYSVOL DFSR
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrSysvolDFSR [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-ExcludeDomainControllers] <string[]>] [[-IncludeDomains] <string[]>] [[-IncludeDomainControllers] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [[-SearchDFSR] <string>] [-SkipRODC] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Get-GPOZaurrSysvolDFSR [[-Forest] <String>] [[-ExcludeDomains] <String[]>]
|
|
||||||
[[-ExcludeDomainControllers] <String[]>] [[-IncludeDomains] <String[]>]
|
## DESCRIPTION
|
||||||
[[-IncludeDomainControllers] <String[]>] [-SkipRODC] [[-ExtendedForestInformation] <IDictionary>]
|
Gets DFSR information from the SYSVOL DFSR
|
||||||
[[-SearchDFSR] <String>] [<CommonParameters>]
|
|
||||||
```
|
## EXAMPLES
|
||||||
|
|
||||||
## DESCRIPTION
|
### EXAMPLE 1
|
||||||
Gets DFSR information from the SYSVOL DFSR
|
```powershell
|
||||||
|
PS > $DFSR = Get-GPOZaurrSysvolDFSR
|
||||||
## EXAMPLES
|
$DFSR | Format-Table *
|
||||||
|
```
|
||||||
### EXAMPLE 1
|
|
||||||
```
|
|
||||||
$DFSR = Get-GPOZaurrSysvolDFSR
|
## PARAMETERS
|
||||||
```
|
|
||||||
|
### -ExcludeDomainControllers
|
||||||
$DFSR | Format-Table *
|
Exclude specific domain controllers, by default there are no exclusions, as long as VerifyDomainControllers switch is enabled. Otherwise this parameter is ignored.
|
||||||
|
|
||||||
## PARAMETERS
|
```yaml
|
||||||
|
Type: String[]
|
||||||
### -Forest
|
Parameter Sets: __AllParameterSets
|
||||||
Target different Forest, by default current forest is used
|
Aliases:
|
||||||
|
Possible values:
|
||||||
```yaml
|
|
||||||
Type: String
|
Required: False
|
||||||
Parameter Sets: (All)
|
Position: 2
|
||||||
Aliases: ForestName
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
Required: False
|
Accept wildcard characters: True
|
||||||
Position: 1
|
```
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
### -ExcludeDomains
|
||||||
Accept wildcard characters: False
|
Exclude domain from search, by default whole forest is scanned
|
||||||
```
|
|
||||||
|
```yaml
|
||||||
### -ExcludeDomains
|
Type: String[]
|
||||||
Exclude domain from search, by default whole forest is scanned
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
```yaml
|
Possible values:
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
Required: False
|
||||||
Aliases:
|
Position: 1
|
||||||
|
Default value: None
|
||||||
Required: False
|
Accept pipeline input: False
|
||||||
Position: 2
|
Accept wildcard characters: True
|
||||||
Default value: None
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -ExtendedForestInformation
|
||||||
```
|
Ability to provide Forest Information from another command to speed up processing
|
||||||
|
|
||||||
### -ExcludeDomainControllers
|
```yaml
|
||||||
Exclude specific domain controllers, by default there are no exclusions, as long as VerifyDomainControllers switch is enabled.
|
Type: IDictionary
|
||||||
Otherwise this parameter is ignored.
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
```yaml
|
Possible values:
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
Required: False
|
||||||
Aliases:
|
Position: 5
|
||||||
|
Default value: None
|
||||||
Required: False
|
Accept pipeline input: False
|
||||||
Position: 3
|
Accept wildcard characters: True
|
||||||
Default value: None
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -Forest
|
||||||
```
|
Target different Forest, by default current forest is used
|
||||||
|
|
||||||
### -IncludeDomains
|
```yaml
|
||||||
Include only specific domains, by default whole forest is scanned
|
Type: String
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases: ForestName
|
||||||
Type: String[]
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: Domain, Domains
|
Required: False
|
||||||
|
Position: 0
|
||||||
Required: False
|
Default value: None
|
||||||
Position: 4
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -IncludeDomainControllers
|
||||||
|
Include only specific domain controllers, by default all domain controllers are included, as long as VerifyDomainControllers switch is enabled. Otherwise this parameter is ignored.
|
||||||
### -IncludeDomainControllers
|
|
||||||
Include only specific domain controllers, by default all domain controllers are included, as long as VerifyDomainControllers switch is enabled.
|
```yaml
|
||||||
Otherwise this parameter is ignored.
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases: DomainControllers
|
||||||
Type: String[]
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: DomainControllers
|
Required: False
|
||||||
|
Position: 4
|
||||||
Required: False
|
Default value: None
|
||||||
Position: 5
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -IncludeDomains
|
||||||
|
Include only specific domains, by default whole forest is scanned
|
||||||
### -SkipRODC
|
|
||||||
Skip Read-Only Domain Controllers.
|
```yaml
|
||||||
By default all domain controllers are included.
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases: Domain, Domains
|
||||||
Type: SwitchParameter
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
Required: False
|
||||||
|
Position: 3
|
||||||
Required: False
|
Default value: None
|
||||||
Position: Named
|
Accept pipeline input: False
|
||||||
Default value: False
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -SearchDFSR
|
||||||
|
Define DFSR Share. By default it uses SYSVOL Share
|
||||||
### -ExtendedForestInformation
|
|
||||||
Ability to provide Forest Information from another command to speed up processing
|
```yaml
|
||||||
|
Type: String
|
||||||
```yaml
|
Parameter Sets: __AllParameterSets
|
||||||
Type: IDictionary
|
Aliases:
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: 6
|
||||||
Position: 6
|
Default value: SYSVOL Share
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -SkipRODC
|
||||||
### -SearchDFSR
|
Skip Read-Only Domain Controllers. By default all domain controllers are included.
|
||||||
Define DFSR Share.
|
|
||||||
By default it uses SYSVOL Share
|
```yaml
|
||||||
|
Type: SwitchParameter
|
||||||
```yaml
|
Parameter Sets: __AllParameterSets
|
||||||
Type: String
|
Aliases:
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: named
|
||||||
Position: 7
|
Default value: False
|
||||||
Default value: SYSVOL Share
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### CommonParameters
|
||||||
### CommonParameters
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
## INPUTS
|
||||||
## INPUTS
|
|
||||||
|
- `None`
|
||||||
## OUTPUTS
|
|
||||||
|
## OUTPUTS
|
||||||
## NOTES
|
|
||||||
General notes
|
- `None`
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+183
-178
@@ -1,178 +1,183 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrUpdates
|
||||||
# Get-GPOZaurrUpdates
|
## SYNOPSIS
|
||||||
|
Gets the list of GPOs created or updated in the last X number of days.
|
||||||
## SYNOPSIS
|
|
||||||
Gets the list of GPOs created or updated in the last X number of days.
|
## SYNTAX
|
||||||
|
### DateRange (Default)
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrUpdates -DateRange <string> [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-DateProperty <string[]>] [-ExtendedForestInformation <IDictionary>] [<CommonParameters>]
|
||||||
### DateRange (Default)
|
```
|
||||||
```
|
|
||||||
Get-GPOZaurrUpdates [-Forest <String>] [-ExcludeDomains <String[]>] [-IncludeDomains <String[]>]
|
### Dates
|
||||||
-DateRange <String> [-DateProperty <String[]>] [-ExtendedForestInformation <IDictionary>] [<CommonParameters>]
|
```powershell
|
||||||
```
|
Get-GPOZaurrUpdates -DateFrom <datetime> -DateTo <datetime> [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-DateProperty <string[]>] [-ExtendedForestInformation <IDictionary>] [<CommonParameters>]
|
||||||
|
```
|
||||||
### Dates
|
|
||||||
```
|
## DESCRIPTION
|
||||||
Get-GPOZaurrUpdates [-Forest <String>] [-ExcludeDomains <String[]>] [-IncludeDomains <String[]>]
|
Gets the list of GPOs created or updated in the last X number of days.
|
||||||
-DateFrom <DateTime> -DateTo <DateTime> [-DateProperty <String[]>] [-ExtendedForestInformation <IDictionary>]
|
|
||||||
[<CommonParameters>]
|
## EXAMPLES
|
||||||
```
|
|
||||||
|
### EXAMPLE 1
|
||||||
## DESCRIPTION
|
```powershell
|
||||||
Gets the list of GPOs created or updated in the last X number of days.
|
PS > Get-GPOZaurrUpdates -DateRange Last14Days -DateProperty WhenCreated, WhenChanged -Verbose -IncludeDomains 'ad.evotec.pl' | Format-List
|
||||||
|
```
|
||||||
## EXAMPLES
|
|
||||||
|
|
||||||
### EXAMPLE 1
|
### EXAMPLE 2
|
||||||
```
|
```powershell
|
||||||
Get-GPOZaurrUpdates -DateRange Last14Days -DateProperty WhenCreated, WhenChanged -Verbose -IncludeDomains 'ad.evotec.pl' | Format-List
|
PS > Get-GPOZaurrUpdates -DateRange Last14Days -DateProperty WhenCreated -Verbose | Format-Table
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 2
|
|
||||||
```
|
## PARAMETERS
|
||||||
Get-GPOZaurrUpdates -DateRange Last14Days -DateProperty WhenCreated -Verbose | Format-Table
|
|
||||||
```
|
### -DateFrom
|
||||||
|
Provide a date from which to start the search, by default the last X days are used
|
||||||
## PARAMETERS
|
|
||||||
|
```yaml
|
||||||
### -Forest
|
Type: DateTime
|
||||||
Target different Forest, by default current forest is used
|
Parameter Sets: Dates
|
||||||
|
Aliases:
|
||||||
```yaml
|
Possible values:
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
Required: True
|
||||||
Aliases: ForestName
|
Position: named
|
||||||
|
Default value: None
|
||||||
Required: False
|
Accept pipeline input: False
|
||||||
Position: Named
|
Accept wildcard characters: True
|
||||||
Default value: None
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -DateProperty
|
||||||
```
|
Choose a date property. It can be WhenCreated or WhenChanged or both. By default whenCreated is used for comparison purposes
|
||||||
|
|
||||||
### -ExcludeDomains
|
```yaml
|
||||||
Exclude domain from search, by default whole forest is scanned
|
Type: String[]
|
||||||
|
Parameter Sets: DateRange, Dates
|
||||||
```yaml
|
Aliases:
|
||||||
Type: String[]
|
Possible values: WhenCreated, WhenChanged
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
Required: False
|
||||||
|
Position: named
|
||||||
Required: False
|
Default value: WhenCreated
|
||||||
Position: Named
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -DateRange
|
||||||
|
Provide a date range to search for, by default the last X days are used
|
||||||
### -IncludeDomains
|
|
||||||
Include only specific domains, by default whole forest is scanned
|
```yaml
|
||||||
ą
|
Type: String
|
||||||
|
Parameter Sets: DateRange
|
||||||
```yaml
|
Aliases:
|
||||||
Type: String[]
|
Possible values: PastHour, CurrentHour, PastDay, CurrentDay, PastMonth, CurrentMonth, PastQuarter, CurrentQuarter, Last14Days, Last21Days, Last30Days, Last7Days, Last3Days, Last1Days
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: Domain, Domains
|
Required: True
|
||||||
|
Position: named
|
||||||
Required: False
|
Default value: None
|
||||||
Position: Named
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -DateTo
|
||||||
|
Provide a date to which to end the search, by default the last X days are used
|
||||||
### -DateFrom
|
|
||||||
Provide a date from which to start the search, by default the last X days are used
|
```yaml
|
||||||
|
Type: DateTime
|
||||||
```yaml
|
Parameter Sets: Dates
|
||||||
Type: DateTime
|
Aliases:
|
||||||
Parameter Sets: Dates
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: True
|
||||||
Required: True
|
Position: named
|
||||||
Position: Named
|
Default value: None
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -ExcludeDomains
|
||||||
### -DateTo
|
Exclude domain from search, by default whole forest is scanned
|
||||||
Provide a date to which to end the search, by default the last X days are used
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String[]
|
||||||
Type: DateTime
|
Parameter Sets: DateRange, Dates
|
||||||
Parameter Sets: Dates
|
Aliases:
|
||||||
Aliases:
|
Possible values:
|
||||||
|
|
||||||
Required: True
|
Required: False
|
||||||
Position: Named
|
Position: named
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -DateRange
|
### -ExtendedForestInformation
|
||||||
Provide a date range to search for, by default the last X days are used
|
Ability to provide Forest Information from another command to speed up processing
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: String
|
Type: IDictionary
|
||||||
Parameter Sets: DateRange
|
Parameter Sets: DateRange, Dates
|
||||||
Aliases:
|
Aliases:
|
||||||
|
Possible values:
|
||||||
Required: True
|
|
||||||
Position: Named
|
Required: False
|
||||||
Default value: None
|
Position: named
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -DateProperty
|
|
||||||
Choose a date property.
|
### -Forest
|
||||||
It can be WhenCreated or WhenChanged or both.
|
Target different Forest, by default current forest is used
|
||||||
By default whenCreated is used for comparison purposes
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String
|
||||||
Type: String[]
|
Parameter Sets: DateRange, Dates
|
||||||
Parameter Sets: (All)
|
Aliases: ForestName
|
||||||
Aliases:
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: Named
|
Position: named
|
||||||
Default value: WhenCreated
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -ExtendedForestInformation
|
### -IncludeDomains
|
||||||
Ability to provide Forest Information from another command to speed up processing
|
Include only specific domains, by default whole forest is scanned
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: IDictionary
|
Type: String[]
|
||||||
Parameter Sets: (All)
|
Parameter Sets: DateRange, Dates
|
||||||
Aliases:
|
Aliases: Domain, Domains
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: Named
|
Required: False
|
||||||
Default value: None
|
Position: named
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
## INPUTS
|
|
||||||
|
## INPUTS
|
||||||
## OUTPUTS
|
|
||||||
|
- `None`
|
||||||
## NOTES
|
|
||||||
General notes
|
## OUTPUTS
|
||||||
|
|
||||||
## RELATED LINKS
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+162
-153
@@ -1,153 +1,162 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Get-GPOZaurrWMI
|
||||||
# Get-GPOZaurrWMI
|
## SYNOPSIS
|
||||||
|
Get Group Policy WMI filter
|
||||||
## SYNOPSIS
|
|
||||||
Get Group Policy WMI filter
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Get-GPOZaurrWMI [[-Guid] <guid[]>] [[-Name] <string[]>] [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [-AsHashtable] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Get-GPOZaurrWMI [[-Guid] <Guid[]>] [[-Name] <String[]>] [[-Forest] <String>] [[-ExcludeDomains] <String[]>]
|
|
||||||
[[-IncludeDomains] <String[]>] [[-ExtendedForestInformation] <IDictionary>] [-AsHashtable]
|
## DESCRIPTION
|
||||||
[<CommonParameters>]
|
Get Group Policy WMI filter
|
||||||
```
|
|
||||||
|
## EXAMPLES
|
||||||
## DESCRIPTION
|
|
||||||
Get Group Policy WMI filter
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
## EXAMPLES
|
PS > Get-GPOZaurrWMI -AsHashtable
|
||||||
|
```
|
||||||
### EXAMPLE 1
|
|
||||||
```
|
|
||||||
Get-GPOZaurrWMI -AsHashtable
|
### EXAMPLE 2
|
||||||
```
|
```powershell
|
||||||
|
PS > Get-GPOZaurrWMI | Format-Table
|
||||||
### EXAMPLE 2
|
```
|
||||||
```
|
|
||||||
Get-GPOZaurrWMI | Format-Table
|
|
||||||
```
|
## PARAMETERS
|
||||||
|
|
||||||
## PARAMETERS
|
### -AsHashtable
|
||||||
|
Return output as hashtable
|
||||||
### -Guid
|
|
||||||
Search for specific filter using GUID
|
```yaml
|
||||||
|
Type: SwitchParameter
|
||||||
```yaml
|
Parameter Sets: __AllParameterSets
|
||||||
Type: Guid[]
|
Aliases:
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: named
|
||||||
Position: 1
|
Default value: False
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -ExcludeDomains
|
||||||
### -Name
|
Exclude domain from search, by default whole forest is scanned
|
||||||
Search for specific filter using Name
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String[]
|
||||||
Type: String[]
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases:
|
||||||
Aliases:
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 2
|
Position: 3
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -Forest
|
### -ExtendedForestInformation
|
||||||
Target different Forest, by default current forest is used
|
Ability to provide Forest Information from another command to speed up processing
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: String
|
Type: IDictionary
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases: ForestName
|
Aliases:
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 3
|
Required: False
|
||||||
Default value: None
|
Position: 5
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -ExcludeDomains
|
|
||||||
Exclude domain from search, by default whole forest is scanned
|
### -Forest
|
||||||
|
Target different Forest, by default current forest is used
|
||||||
```yaml
|
|
||||||
Type: String[]
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: String
|
||||||
Aliases:
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases: ForestName
|
||||||
Required: False
|
Possible values:
|
||||||
Position: 4
|
|
||||||
Default value: None
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: 2
|
||||||
Accept wildcard characters: False
|
Default value: None
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -IncludeDomains
|
```
|
||||||
Include only specific domains, by default whole forest is scanned
|
|
||||||
|
### -Guid
|
||||||
```yaml
|
Search for specific filter using GUID
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
```yaml
|
||||||
Aliases: Domain, Domains
|
Type: Guid[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
Required: False
|
Aliases:
|
||||||
Position: 5
|
Possible values:
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
Required: False
|
||||||
Accept wildcard characters: False
|
Position: 0
|
||||||
```
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
### -ExtendedForestInformation
|
Accept wildcard characters: True
|
||||||
Ability to provide Forest Information from another command to speed up processing
|
```
|
||||||
|
|
||||||
```yaml
|
### -IncludeDomains
|
||||||
Type: IDictionary
|
Include only specific domains, by default whole forest is scanned
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
```yaml
|
||||||
|
Type: String[]
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: 6
|
Aliases: Domain, Domains
|
||||||
Default value: None
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: 4
|
||||||
|
Default value: None
|
||||||
### -AsHashtable
|
Accept pipeline input: False
|
||||||
Return output as hashtable
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
### -Name
|
||||||
Parameter Sets: (All)
|
Search for specific filter using Name
|
||||||
Aliases:
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: String[]
|
||||||
Position: Named
|
Parameter Sets: __AllParameterSets
|
||||||
Default value: False
|
Aliases:
|
||||||
Accept pipeline input: False
|
Possible values:
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: 1
|
||||||
### CommonParameters
|
Default value: None
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
## INPUTS
|
```
|
||||||
|
|
||||||
## OUTPUTS
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
## NOTES
|
|
||||||
General notes
|
## INPUTS
|
||||||
|
|
||||||
## RELATED LINKS
|
- `None`
|
||||||
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+292
-249
@@ -1,253 +1,296 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Invoke-GPOZaurr
|
||||||
# Invoke-GPOZaurr
|
## SYNOPSIS
|
||||||
|
Single cmdlet that provides 360 degree overview of Group Policies in Active Directory Forest.
|
||||||
## SYNOPSIS
|
|
||||||
Single cmdlet that provides 360 degree overview of Group Policies in Active Directory Forest.
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Invoke-GPOZaurr [[-Type] <string[]>] [[-Exclusions] <Object>] [-FilePath <string>] [-PassThru] [-HideHTML] [-HideSteps] [-ShowError] [-ShowWarning] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-Online] [-SplitReports] [-GPOName <string[]>] [-GPOGUID <string[]>] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Invoke-GPOZaurr [[-Exclusions] <Object>] [-FilePath <String>] [[-Type] <String[]>] [-PassThru] [-HideHTML]
|
|
||||||
[-HideSteps] [-ShowError] [-ShowWarning] [-Forest <String>] [-ExcludeDomains <String[]>]
|
## DESCRIPTION
|
||||||
[-IncludeDomains <String[]>] [-Online] [-SplitReports] [<CommonParameters>]
|
Single cmdlet that provides 360 degree overview of Group Policies in Active Directory Forest with ability to pick reports and export to HTML.
|
||||||
```
|
|
||||||
|
## EXAMPLES
|
||||||
## DESCRIPTION
|
|
||||||
Single cmdlet that provides 360 degree overview of Group Policies in Active Directory Forest with ability to pick reports and export to HTML.
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
## EXAMPLES
|
PS > Invoke-GPOZaurr
|
||||||
|
```
|
||||||
### EXAMPLE 1
|
|
||||||
```
|
|
||||||
Invoke-GPOZaurr
|
### EXAMPLE 2
|
||||||
```
|
```powershell
|
||||||
|
PS > Invoke-GPOZaurr -Type GPOOrganizationalUnit -Online -FilePath $PSScriptRoot\Reports\GPOZaurrOU.html -Exclusions @(
|
||||||
### EXAMPLE 2
|
'*OU=Production,DC=ad,DC=evotec,DC=pl'
|
||||||
```
|
)
|
||||||
Invoke-GPOZaurr -Type GPOOrganizationalUnit -Online -FilePath $PSScriptRoot\Reports\GPOZaurrOU.html -Exclusions @(
|
```
|
||||||
```
|
|
||||||
|
|
||||||
'*OU=Production,DC=ad,DC=evotec,DC=pl'
|
## PARAMETERS
|
||||||
)
|
|
||||||
|
### -ExcludeDomains
|
||||||
## PARAMETERS
|
Exclude domain from search, by default whole forest is scanned
|
||||||
|
|
||||||
### -Exclusions
|
```yaml
|
||||||
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -Exclusions
|
||||||
Allows to mark as excluded some Group Policies or Organizational Units depending on type.
|
Allows to mark as excluded some Group Policies or Organizational Units depending on type.
|
||||||
Can be a scriptblock or array depending on supported way by underlying report.
|
Can be a scriptblock or array depending on supported way by underlying report.
|
||||||
Not every report support exclusions.
|
Not every report support exclusions.
|
||||||
Not every report support exclusions the same way.
|
Not every report support exclusions the same way.
|
||||||
Exclusions should be used only if there is single report being asked for.
|
Exclusions should be used only if there is single report being asked for.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: Object
|
Type: Object
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases: ExcludeGroupPolicies, ExclusionsCode
|
Aliases: ExcludeGroupPolicies, ExclusionsCode
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 2
|
Required: False
|
||||||
Default value: None
|
Position: 1
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -FilePath
|
|
||||||
Path to the file where the report will be saved.
|
### -FilePath
|
||||||
|
Path to the file where the report will be saved.
|
||||||
```yaml
|
|
||||||
Type: String
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: String
|
||||||
Aliases:
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
Required: False
|
Possible values:
|
||||||
Position: Named
|
|
||||||
Default value: None
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: named
|
||||||
Accept wildcard characters: False
|
Default value: None
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -Type
|
```
|
||||||
Type of report to be generated from a list of available reports.
|
|
||||||
|
### -Forest
|
||||||
```yaml
|
Target different Forest, by default current forest is used
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
```yaml
|
||||||
Aliases:
|
Type: String
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
Required: False
|
Aliases: ForestName
|
||||||
Position: 1
|
Possible values:
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
Required: False
|
||||||
Accept wildcard characters: False
|
Position: named
|
||||||
```
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
### -PassThru
|
Accept wildcard characters: True
|
||||||
Returns created objects after the report is done
|
```
|
||||||
|
|
||||||
```yaml
|
### -GPOGUID
|
||||||
Type: SwitchParameter
|
{{ Fill GPOGUID Description }}
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
```yaml
|
||||||
|
Type: String[]
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: Named
|
Aliases: GUID
|
||||||
Default value: False
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: named
|
||||||
|
Default value: None
|
||||||
### -HideHTML
|
Accept pipeline input: False
|
||||||
Do not auto open HTML report in default browser
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
### -GPOName
|
||||||
Parameter Sets: (All)
|
{{ Fill GPOName Description }}
|
||||||
Aliases:
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: String[]
|
||||||
Position: Named
|
Parameter Sets: __AllParameterSets
|
||||||
Default value: False
|
Aliases: Name
|
||||||
Accept pipeline input: False
|
Possible values:
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: named
|
||||||
### -HideSteps
|
Default value: None
|
||||||
Do not show steps in report
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
### -HideHTML
|
||||||
Aliases:
|
Do not auto open HTML report in default browser
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: Named
|
Type: SwitchParameter
|
||||||
Default value: False
|
Parameter Sets: __AllParameterSets
|
||||||
Accept pipeline input: False
|
Aliases:
|
||||||
Accept wildcard characters: False
|
Possible values:
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### -ShowError
|
Position: named
|
||||||
Show errors in HTML report.
|
Default value: False
|
||||||
Useful in case the report is being run as Scheduled Task
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
### -HideSteps
|
||||||
Aliases:
|
Do not show steps in report
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: Named
|
Type: SwitchParameter
|
||||||
Default value: False
|
Parameter Sets: __AllParameterSets
|
||||||
Accept pipeline input: False
|
Aliases:
|
||||||
Accept wildcard characters: False
|
Possible values:
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### -ShowWarning
|
Position: named
|
||||||
Show warnings in HTML report.
|
Default value: False
|
||||||
Useful in case the report is being run as Scheduled Task
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
### -IncludeDomains
|
||||||
Aliases:
|
Include only specific domains, by default whole forest is scanned
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: Named
|
Type: String[]
|
||||||
Default value: False
|
Parameter Sets: __AllParameterSets
|
||||||
Accept pipeline input: False
|
Aliases: Domain, Domains
|
||||||
Accept wildcard characters: False
|
Possible values:
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### -Forest
|
Position: named
|
||||||
Target different Forest, by default current forest is used
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
```yaml
|
Accept wildcard characters: True
|
||||||
Type: String
|
```
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: ForestName
|
### -Online
|
||||||
|
Forces report to use online resources in HTML (using CDN most of the time), by default it is run offline, and inlines all CSS/JS code.
|
||||||
Required: False
|
|
||||||
Position: Named
|
```yaml
|
||||||
Default value: None
|
Type: SwitchParameter
|
||||||
Accept pipeline input: False
|
Parameter Sets: __AllParameterSets
|
||||||
Accept wildcard characters: False
|
Aliases:
|
||||||
```
|
Possible values:
|
||||||
|
|
||||||
### -ExcludeDomains
|
Required: False
|
||||||
Exclude domain from search, by default whole forest is scanned
|
Position: named
|
||||||
|
Default value: False
|
||||||
```yaml
|
Accept pipeline input: False
|
||||||
Type: String[]
|
Accept wildcard characters: True
|
||||||
Parameter Sets: (All)
|
```
|
||||||
Aliases:
|
|
||||||
|
### -PassThru
|
||||||
Required: False
|
Returns created objects after the report is done
|
||||||
Position: Named
|
|
||||||
Default value: None
|
```yaml
|
||||||
Accept pipeline input: False
|
Type: SwitchParameter
|
||||||
Accept wildcard characters: False
|
Parameter Sets: __AllParameterSets
|
||||||
```
|
Aliases:
|
||||||
|
Possible values:
|
||||||
### -IncludeDomains
|
|
||||||
Include only specific domains, by default whole forest is scanned
|
Required: False
|
||||||
|
Position: named
|
||||||
```yaml
|
Default value: False
|
||||||
Type: String[]
|
Accept pipeline input: False
|
||||||
Parameter Sets: (All)
|
Accept wildcard characters: True
|
||||||
Aliases: Domain, Domains
|
```
|
||||||
|
|
||||||
Required: False
|
### -ShowError
|
||||||
Position: Named
|
Show errors in HTML report. Useful in case the report is being run as Scheduled Task
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
```yaml
|
||||||
Accept wildcard characters: False
|
Type: SwitchParameter
|
||||||
```
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
### -Online
|
Possible values:
|
||||||
Forces report to use online resources in HTML (using CDN most of the time), by default it is run offline, and inlines all CSS/JS code.
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: named
|
||||||
Type: SwitchParameter
|
Default value: False
|
||||||
Parameter Sets: (All)
|
Accept pipeline input: False
|
||||||
Aliases:
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
Required: False
|
|
||||||
Position: Named
|
### -ShowWarning
|
||||||
Default value: False
|
Show warnings in HTML report. Useful in case the report is being run as Scheduled Task
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
```yaml
|
||||||
```
|
Type: SwitchParameter
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
### -SplitReports
|
Aliases:
|
||||||
Split report into multiple files, one for each report.
|
Possible values:
|
||||||
This can be useful for large domains with huge reports.
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: named
|
||||||
Type: SwitchParameter
|
Default value: False
|
||||||
Parameter Sets: (All)
|
Accept pipeline input: False
|
||||||
Aliases:
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
Required: False
|
|
||||||
Position: Named
|
### -SplitReports
|
||||||
Default value: False
|
Split report into multiple files, one for each report. This can be useful for large domains with huge reports.
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
```yaml
|
||||||
```
|
Type: SwitchParameter
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
### CommonParameters
|
Aliases:
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
Possible values:
|
||||||
|
|
||||||
## INPUTS
|
Required: False
|
||||||
|
Position: named
|
||||||
## OUTPUTS
|
Default value: False
|
||||||
|
Accept pipeline input: False
|
||||||
## NOTES
|
Accept wildcard characters: True
|
||||||
General notes
|
```
|
||||||
|
|
||||||
## RELATED LINKS
|
### -Type
|
||||||
|
Type of report to be generated from a list of available reports.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: 0
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
|
## INPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+368
-367
@@ -1,367 +1,368 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Invoke-GPOZaurrContent
|
||||||
# Invoke-GPOZaurrContent
|
## SYNOPSIS
|
||||||
|
Invokes GPOZaurrContent function to retrieve Group Policy Objects information.
|
||||||
## SYNOPSIS
|
|
||||||
Invokes GPOZaurrContent function to retrieve Group Policy Objects information.
|
## SYNTAX
|
||||||
|
### Default (Default)
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Invoke-GPOZaurrContent [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-Type <string[]>] [-Splitter <string>] [-FullObjects] [-OutputType <string[]>] [-OutputPath <string>] [-Open] [-Online] [-CategoriesOnly] [-SingleObject] [-SkipNormalize] [-SkipCleanup] [-Extended] [-GPOName <string[]>] [-GPOGUID <string[]>] [<CommonParameters>]
|
||||||
### Default (Default)
|
```
|
||||||
```
|
|
||||||
Invoke-GPOZaurrContent [-Forest <String>] [-ExcludeDomains <String[]>] [-IncludeDomains <String[]>]
|
### Local
|
||||||
[-ExtendedForestInformation <IDictionary>] [-Type <String[]>] [-Splitter <String>] [-FullObjects]
|
```powershell
|
||||||
[-OutputType <String[]>] [-OutputPath <String>] [-Open] [-Online] [-CategoriesOnly] [-SingleObject]
|
Invoke-GPOZaurrContent [-GPOPath <string>] [-Type <string[]>] [-Splitter <string>] [-FullObjects] [-OutputType <string[]>] [-OutputPath <string>] [-Open] [-Online] [-CategoriesOnly] [-SingleObject] [-SkipNormalize] [-SkipCleanup] [-Extended] [<CommonParameters>]
|
||||||
[-SkipNormalize] [-SkipCleanup] [-Extended] [-GPOName <String[]>] [-GPOGUID <String[]>]
|
```
|
||||||
[-ProgressAction <ActionPreference>] [<CommonParameters>]
|
|
||||||
```
|
## DESCRIPTION
|
||||||
|
This function retrieves Group Policy Objects information based on the specified parameters. It can search for GPOs in a forest, exclude specific domains, include specific domains, and provide extended forest information.
|
||||||
### Local
|
|
||||||
```
|
## EXAMPLES
|
||||||
Invoke-GPOZaurrContent [-GPOPath <String>] [-Type <String[]>] [-Splitter <String>] [-FullObjects]
|
|
||||||
[-OutputType <String[]>] [-OutputPath <String>] [-Open] [-Online] [-CategoriesOnly] [-SingleObject]
|
### EXAMPLE 1
|
||||||
[-SkipNormalize] [-SkipCleanup] [-Extended] [-ProgressAction <ActionPreference>] [<CommonParameters>]
|
```powershell
|
||||||
```
|
PS > Invoke-GPOZaurrContent -Forest "Contoso" -IncludeDomains "Domain1", "Domain2" -Type "Security" -OutputType "HTML" -OutputPath "C:\Reports\GPOReport.html"
|
||||||
|
Retrieves security-related Group Policy Objects information for the specified domains and saves the output as an HTML file.
|
||||||
## DESCRIPTION
|
```
|
||||||
This function retrieves Group Policy Objects information based on the specified parameters.
|
|
||||||
It can search for GPOs in a forest, exclude specific domains, include specific domains, and provide extended forest information.
|
|
||||||
|
### EXAMPLE 2
|
||||||
## EXAMPLES
|
```powershell
|
||||||
|
PS > Invoke-GPOZaurrContent -GPOPath "CN={31B2F340-016D-11D2-945F-00C04FB984F9},CN=Policies,CN=System,DC=Contoso,DC=com" -Type "All" -OutputType "Object"
|
||||||
### EXAMPLE 1
|
Retrieves all information for a specific Group Policy Object and outputs the result as an object.
|
||||||
```
|
```
|
||||||
Invoke-GPOZaurrContent -Forest "Contoso" -IncludeDomains "Domain1", "Domain2" -Type "Security" -OutputType "HTML" -OutputPath "C:\Reports\GPOReport.html"
|
|
||||||
Retrieves security-related Group Policy Objects information for the specified domains and saves the output as an HTML file.
|
|
||||||
```
|
### EXAMPLE 3
|
||||||
|
```powershell
|
||||||
### EXAMPLE 2
|
PS > Invoke-GPOZaurrContent -GPOName "Group Policy Test" -SingleObject | ConvertTo-Json -Depth 3
|
||||||
```
|
Quickly view GPO settings by name in JSON format for easy inspection.
|
||||||
Invoke-GPOZaurrContent -GPOPath "CN={31B2F340-016D-11D2-945F-00C04FB984F9},CN=Policies,CN=System,DC=Contoso,DC=com" -Type "All" -OutputType "Object"
|
```
|
||||||
Retrieves all information for a specific Group Policy Object and outputs the result as an object.
|
|
||||||
```
|
|
||||||
|
## PARAMETERS
|
||||||
### EXAMPLE 3
|
|
||||||
```
|
### -CategoriesOnly
|
||||||
Invoke-GPOZaurrContent -GPOName "Group Policy Test" -SingleObject | ConvertTo-Json -Depth 3
|
Indicates whether to retrieve only categories.
|
||||||
Quickly view GPO settings by name in JSON format for easy inspection.
|
|
||||||
```
|
```yaml
|
||||||
|
Type: SwitchParameter
|
||||||
## PARAMETERS
|
Parameter Sets: Default, Local
|
||||||
|
Aliases:
|
||||||
### -Forest
|
Possible values:
|
||||||
Specifies the forest name to search for Group Policy Objects.
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: named
|
||||||
Type: String
|
Default value: False
|
||||||
Parameter Sets: Default
|
Accept pipeline input: False
|
||||||
Aliases: ForestName
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
Required: False
|
|
||||||
Position: Named
|
### -ExcludeDomains
|
||||||
Default value: None
|
Specifies an array of domains to exclude from the search.
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
```yaml
|
||||||
```
|
Type: String[]
|
||||||
|
Parameter Sets: Default
|
||||||
### -ExcludeDomains
|
Aliases:
|
||||||
Specifies an array of domains to exclude from the search.
|
Possible values:
|
||||||
|
|
||||||
```yaml
|
Required: False
|
||||||
Type: String[]
|
Position: named
|
||||||
Parameter Sets: Default
|
Default value: None
|
||||||
Aliases:
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
Required: False
|
```
|
||||||
Position: Named
|
|
||||||
Default value: None
|
### -Extended
|
||||||
Accept pipeline input: False
|
{{ Fill Extended Description }}
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
```yaml
|
||||||
|
Type: SwitchParameter
|
||||||
### -IncludeDomains
|
Parameter Sets: Default, Local
|
||||||
Specifies an array of domains to include in the search.
|
Aliases:
|
||||||
|
Possible values:
|
||||||
```yaml
|
|
||||||
Type: String[]
|
Required: False
|
||||||
Parameter Sets: Default
|
Position: named
|
||||||
Aliases: Domain, Domains
|
Default value: False
|
||||||
|
Accept pipeline input: False
|
||||||
Required: False
|
Accept wildcard characters: True
|
||||||
Position: Named
|
```
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
### -ExtendedForestInformation
|
||||||
Accept wildcard characters: False
|
Specifies additional information about the forest.
|
||||||
```
|
|
||||||
|
```yaml
|
||||||
### -ExtendedForestInformation
|
Type: IDictionary
|
||||||
Specifies additional information about the forest.
|
Parameter Sets: Default
|
||||||
|
Aliases:
|
||||||
```yaml
|
Possible values:
|
||||||
Type: IDictionary
|
|
||||||
Parameter Sets: Default
|
Required: False
|
||||||
Aliases:
|
Position: named
|
||||||
|
Default value: None
|
||||||
Required: False
|
Accept pipeline input: False
|
||||||
Position: Named
|
Accept wildcard characters: True
|
||||||
Default value: None
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -Forest
|
||||||
```
|
Specifies the forest name to search for Group Policy Objects.
|
||||||
|
|
||||||
### -GPOPath
|
```yaml
|
||||||
Specifies the path to a specific Group Policy Object.
|
Type: String
|
||||||
|
Parameter Sets: Default
|
||||||
```yaml
|
Aliases: ForestName
|
||||||
Type: String
|
Possible values:
|
||||||
Parameter Sets: Local
|
|
||||||
Aliases:
|
Required: False
|
||||||
|
Position: named
|
||||||
Required: False
|
Default value: None
|
||||||
Position: Named
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -FullObjects
|
||||||
|
Indicates whether to retrieve full objects.
|
||||||
### -Type
|
|
||||||
Specifies the type of information to retrieve.
|
```yaml
|
||||||
|
Type: SwitchParameter
|
||||||
```yaml
|
Parameter Sets: Default, Local
|
||||||
Type: String[]
|
Aliases:
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: named
|
||||||
Position: Named
|
Default value: False
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -GPOGUID
|
||||||
### -Splitter
|
{{ Fill GPOGUID Description }}
|
||||||
Specifies the delimiter to use for splitting information.
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String[]
|
||||||
Type: String
|
Parameter Sets: Default
|
||||||
Parameter Sets: (All)
|
Aliases:
|
||||||
Aliases:
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: Named
|
Position: named
|
||||||
Default value: [System.Environment]::NewLine
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -FullObjects
|
### -GPOName
|
||||||
Indicates whether to retrieve full objects.
|
{{ Fill GPOName Description }}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: SwitchParameter
|
Type: String[]
|
||||||
Parameter Sets: (All)
|
Parameter Sets: Default
|
||||||
Aliases:
|
Aliases: Name
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: Named
|
Required: False
|
||||||
Default value: False
|
Position: named
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -OutputType
|
|
||||||
Specifies the type of output (HTML or Object).
|
### -GPOPath
|
||||||
|
Specifies the path to a specific Group Policy Object.
|
||||||
```yaml
|
|
||||||
Type: String[]
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: String
|
||||||
Aliases:
|
Parameter Sets: Local
|
||||||
|
Aliases:
|
||||||
Required: False
|
Possible values:
|
||||||
Position: Named
|
|
||||||
Default value: Object
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: named
|
||||||
Accept wildcard characters: False
|
Default value: None
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -OutputPath
|
```
|
||||||
Specifies the path to save the output.
|
|
||||||
|
### -IncludeDomains
|
||||||
```yaml
|
Specifies an array of domains to include in the search.
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
```yaml
|
||||||
Aliases:
|
Type: String[]
|
||||||
|
Parameter Sets: Default
|
||||||
Required: False
|
Aliases: Domain, Domains
|
||||||
Position: Named
|
Possible values:
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
Required: False
|
||||||
Accept wildcard characters: False
|
Position: named
|
||||||
```
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
### -Open
|
Accept wildcard characters: True
|
||||||
Indicates whether to open the output after retrieval.
|
```
|
||||||
|
|
||||||
```yaml
|
### -Online
|
||||||
Type: SwitchParameter
|
Indicates whether to retrieve information online.
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
```yaml
|
||||||
|
Type: SwitchParameter
|
||||||
Required: False
|
Parameter Sets: Default, Local
|
||||||
Position: Named
|
Aliases:
|
||||||
Default value: False
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: named
|
||||||
|
Default value: False
|
||||||
### -Online
|
Accept pipeline input: False
|
||||||
Indicates whether to retrieve information online.
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
### -Open
|
||||||
Parameter Sets: (All)
|
Indicates whether to open the output after retrieval.
|
||||||
Aliases:
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: SwitchParameter
|
||||||
Position: Named
|
Parameter Sets: Default, Local
|
||||||
Default value: False
|
Aliases:
|
||||||
Accept pipeline input: False
|
Possible values:
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: named
|
||||||
### -CategoriesOnly
|
Default value: False
|
||||||
Indicates whether to retrieve only categories.
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
### -OutputPath
|
||||||
Aliases:
|
Specifies the path to save the output.
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: Named
|
Type: String
|
||||||
Default value: False
|
Parameter Sets: Default, Local
|
||||||
Accept pipeline input: False
|
Aliases:
|
||||||
Accept wildcard characters: False
|
Possible values:
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### -SingleObject
|
Position: named
|
||||||
When enabled, returns a single consolidated object per GPO rather than multiple objects for each setting. For example, with drive mappings, instead of returning separate objects for each mapped drive in a GPO, it will return one object containing all drive mappings for that GPO. This affects how the data is structured in the output reports.
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
```yaml
|
Accept wildcard characters: True
|
||||||
Type: SwitchParameter
|
```
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
### -OutputType
|
||||||
|
Specifies the type of output (HTML or Object).
|
||||||
Required: False
|
|
||||||
Position: Named
|
```yaml
|
||||||
Default value: False
|
Type: String[]
|
||||||
Accept pipeline input: False
|
Parameter Sets: Default, Local
|
||||||
Accept wildcard characters: False
|
Aliases:
|
||||||
```
|
Possible values: HTML, Object
|
||||||
|
|
||||||
### -SkipNormalize
|
Required: False
|
||||||
Indicates whether to skip normalization.
|
Position: named
|
||||||
|
Default value: Object
|
||||||
```yaml
|
Accept pipeline input: False
|
||||||
Type: SwitchParameter
|
Accept wildcard characters: True
|
||||||
Parameter Sets: (All)
|
```
|
||||||
Aliases:
|
|
||||||
|
### -SingleObject
|
||||||
Required: False
|
Indicates whether to retrieve a single object.
|
||||||
Position: Named
|
|
||||||
Default value: False
|
```yaml
|
||||||
Accept pipeline input: False
|
Type: SwitchParameter
|
||||||
Accept wildcard characters: False
|
Parameter Sets: Default, Local
|
||||||
```
|
Aliases:
|
||||||
|
Possible values:
|
||||||
### -SkipCleanup
|
|
||||||
Indicates whether to skip cleanup of the output hashtable. When enabled, empty values in the output hashtable are preserved rather than being removed via Remove-EmptyValue. This parameter affects the final processing step before returning GPO analysis results.
|
Required: False
|
||||||
|
Position: named
|
||||||
```yaml
|
Default value: False
|
||||||
Type: SwitchParameter
|
Accept pipeline input: False
|
||||||
Parameter Sets: (All)
|
Accept wildcard characters: True
|
||||||
Aliases:
|
```
|
||||||
|
|
||||||
Required: False
|
### -SkipCleanup
|
||||||
Position: Named
|
{{ Fill SkipCleanup Description }}
|
||||||
Default value: False
|
|
||||||
Accept pipeline input: False
|
```yaml
|
||||||
Accept wildcard characters: False
|
Type: SwitchParameter
|
||||||
```
|
Parameter Sets: Default, Local
|
||||||
|
Aliases:
|
||||||
### -Extended
|
Possible values:
|
||||||
When enabled, returns the complete output hashtable containing all GPO analysis data, including both the processed reports and raw categories. By default, only the processed reports are returned. This parameter is useful for debugging or when you need access to the underlying data structure.
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: named
|
||||||
Type: SwitchParameter
|
Default value: False
|
||||||
Parameter Sets: (All)
|
Accept pipeline input: False
|
||||||
Aliases:
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
Required: False
|
|
||||||
Position: Named
|
### -SkipNormalize
|
||||||
Default value: False
|
Indicates whether to skip normalization.
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
```yaml
|
||||||
```
|
Type: SwitchParameter
|
||||||
|
Parameter Sets: Default, Local
|
||||||
### -GPOName
|
Aliases:
|
||||||
Specifies the name of the Group Policy Object to retrieve. The alias of this parameter is `Name`.
|
Possible values:
|
||||||
|
|
||||||
```yaml
|
Required: False
|
||||||
Type: String[]
|
Position: named
|
||||||
Parameter Sets: Default
|
Default value: False
|
||||||
Aliases: Name
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
Required: False
|
```
|
||||||
Position: Named
|
|
||||||
Default value: None
|
### -Splitter
|
||||||
Accept pipeline input: False
|
Specifies the delimiter to use for splitting information.
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
```yaml
|
||||||
|
Type: String
|
||||||
### -GPOGUID
|
Parameter Sets: Default, Local
|
||||||
Specifies one or more Group Policy Object GUIDs to retrieve. This parameter allows you to target specific GPOs by their unique identifier rather than display name.
|
Aliases:
|
||||||
|
Possible values:
|
||||||
|
|
||||||
```yaml
|
Required: False
|
||||||
Type: String[]
|
Position: named
|
||||||
Parameter Sets: Default
|
Default value: [System.Environment]::NewLine
|
||||||
Aliases:
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
Required: False
|
```
|
||||||
Position: Named
|
|
||||||
Default value: None
|
### -Type
|
||||||
Accept pipeline input: False
|
Specifies the type of information to retrieve.
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
```yaml
|
||||||
|
Type: String[]
|
||||||
### -ProgressAction
|
Parameter Sets: Default, Local
|
||||||
Specifies the action to take when progress is reported.
|
Aliases:
|
||||||
|
Possible values:
|
||||||
```yaml
|
|
||||||
Type: ActionPreference
|
Required: False
|
||||||
Parameter Sets: (All)
|
Position: named
|
||||||
Aliases: proga
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
Required: False
|
Accept wildcard characters: True
|
||||||
Position: Named
|
```
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
### CommonParameters
|
||||||
Accept wildcard characters: False
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
```
|
|
||||||
|
## INPUTS
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
- `None`
|
||||||
|
|
||||||
## INPUTS
|
## OUTPUTS
|
||||||
|
|
||||||
## OUTPUTS
|
- `None`
|
||||||
|
|
||||||
## NOTES
|
## RELATED LINKS
|
||||||
|
|
||||||
## RELATED LINKS
|
- None
|
||||||
|
|
||||||
|
|||||||
@@ -1,462 +1,43 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Invoke-GPOZaurrPermission
|
||||||
# Invoke-GPOZaurrPermission
|
## SYNOPSIS
|
||||||
|
{{ Fill in the Synopsis }}
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
```powershell
|
||||||
## SYNTAX
|
Invoke-GPOZaurrPermission
|
||||||
|
```
|
||||||
### Level
|
|
||||||
```
|
## DESCRIPTION
|
||||||
Invoke-GPOZaurrPermission [[-PermissionRules] <ScriptBlock>] -Level <Int32> -Limit <Int32> [-Type <String[]>]
|
{{ Fill in the Description }}
|
||||||
[-ApprovedGroups <Array>] [-Trustee <Array>] [-TrusteePermissionType <GPPermissionType>]
|
|
||||||
[-TrusteeType <String>] [-GPOCache <IDictionary>] [-Forest <String>] [-ExcludeDomains <String[]>]
|
## EXAMPLES
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-LimitAdministrativeGroupsToDomain]
|
|
||||||
[-WhatIf] [-Confirm] [<CommonParameters>]
|
### EXAMPLE 1
|
||||||
```
|
```powershell
|
||||||
|
Invoke-GPOZaurrPermission
|
||||||
### Linked
|
```
|
||||||
```
|
|
||||||
Invoke-GPOZaurrPermission [[-PermissionRules] <ScriptBlock>] -Linked <String> [-Type <String[]>]
|
|
||||||
[-ApprovedGroups <Array>] [-Trustee <Array>] [-TrusteePermissionType <GPPermissionType>]
|
## PARAMETERS
|
||||||
[-TrusteeType <String>] [-GPOCache <IDictionary>] [-Forest <String>] [-ExcludeDomains <String[]>]
|
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-LimitAdministrativeGroupsToDomain]
|
### CommonParameters
|
||||||
[-SkipDuplicates] [-WhatIf] [-Confirm] [<CommonParameters>]
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
```
|
|
||||||
|
## INPUTS
|
||||||
### ADObject
|
|
||||||
```
|
- `None`
|
||||||
Invoke-GPOZaurrPermission [[-PermissionRules] <ScriptBlock>] -ADObject <ADObject[]> [-Type <String[]>]
|
|
||||||
[-ApprovedGroups <Array>] [-Trustee <Array>] [-TrusteePermissionType <GPPermissionType>]
|
## OUTPUTS
|
||||||
[-TrusteeType <String>] [-GPOCache <IDictionary>] [-Forest <String>] [-ExcludeDomains <String[]>]
|
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-LimitAdministrativeGroupsToDomain]
|
- `None`
|
||||||
[-SkipDuplicates] [-WhatIf] [-Confirm] [<CommonParameters>]
|
|
||||||
```
|
## RELATED LINKS
|
||||||
|
|
||||||
### Filter
|
- None
|
||||||
```
|
|
||||||
Invoke-GPOZaurrPermission [[-PermissionRules] <ScriptBlock>] [-Filter <String>] [-SearchBase <String>]
|
|
||||||
[-SearchScope <ADSearchScope>] [-Type <String[]>] [-ApprovedGroups <Array>] [-Trustee <Array>]
|
|
||||||
[-TrusteePermissionType <GPPermissionType>] [-TrusteeType <String>] [-GPOCache <IDictionary>]
|
|
||||||
[-Forest <String>] [-ExcludeDomains <String[]>] [-IncludeDomains <String[]>]
|
|
||||||
[-ExtendedForestInformation <IDictionary>] [-LimitAdministrativeGroupsToDomain] [-SkipDuplicates] [-WhatIf]
|
|
||||||
[-Confirm] [<CommonParameters>]
|
|
||||||
```
|
|
||||||
|
|
||||||
### GPOName
|
|
||||||
```
|
|
||||||
Invoke-GPOZaurrPermission [[-PermissionRules] <ScriptBlock>] [-GPOName <String>] [-Type <String[]>]
|
|
||||||
[-ApprovedGroups <Array>] [-Trustee <Array>] [-TrusteePermissionType <GPPermissionType>]
|
|
||||||
[-TrusteeType <String>] [-GPOCache <IDictionary>] [-Forest <String>] [-ExcludeDomains <String[]>]
|
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-LimitAdministrativeGroupsToDomain]
|
|
||||||
[-SkipDuplicates] [-WhatIf] [-Confirm] [<CommonParameters>]
|
|
||||||
```
|
|
||||||
|
|
||||||
### GPOGUID
|
|
||||||
```
|
|
||||||
Invoke-GPOZaurrPermission [[-PermissionRules] <ScriptBlock>] [-GPOGuid <String>] [-Type <String[]>]
|
|
||||||
[-ApprovedGroups <Array>] [-Trustee <Array>] [-TrusteePermissionType <GPPermissionType>]
|
|
||||||
[-TrusteeType <String>] [-GPOCache <IDictionary>] [-Forest <String>] [-ExcludeDomains <String[]>]
|
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-LimitAdministrativeGroupsToDomain]
|
|
||||||
[-SkipDuplicates] [-WhatIf] [-Confirm] [<CommonParameters>]
|
|
||||||
```
|
|
||||||
|
|
||||||
## DESCRIPTION
|
|
||||||
{{ Fill in the Description }}
|
|
||||||
|
|
||||||
## EXAMPLES
|
|
||||||
|
|
||||||
### Example 1
|
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
|
||||||
```
|
|
||||||
|
|
||||||
{{ Add example description here }}
|
|
||||||
|
|
||||||
## PARAMETERS
|
|
||||||
|
|
||||||
### -ADObject
|
|
||||||
{{ Fill ADObject Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: ADObject[]
|
|
||||||
Parameter Sets: ADObject
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: True
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: True (ByPropertyName, ByValue)
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ApprovedGroups
|
|
||||||
{{ Fill ApprovedGroups Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: Array
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Confirm
|
|
||||||
Prompts you for confirmation before running the cmdlet.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: cf
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ExcludeDomains
|
|
||||||
{{ Fill ExcludeDomains Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ExtendedForestInformation
|
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: IDictionary
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Filter
|
|
||||||
{{ Fill Filter Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: Filter
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Forest
|
|
||||||
{{ Fill Forest Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: ForestName
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -GPOCache
|
|
||||||
{{ Fill GPOCache Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: IDictionary
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -GPOGuid
|
|
||||||
{{ Fill GPOGuid Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: GPOGUID
|
|
||||||
Aliases: GUID, GPOID
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -GPOName
|
|
||||||
{{ Fill GPOName Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: GPOName
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -IncludeDomains
|
|
||||||
{{ Fill IncludeDomains Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: Domain, Domains
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Level
|
|
||||||
{{ Fill Level Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: Int32
|
|
||||||
Parameter Sets: Level
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: True
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Limit
|
|
||||||
{{ Fill Limit Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: Int32
|
|
||||||
Parameter Sets: Level
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: True
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -LimitAdministrativeGroupsToDomain
|
|
||||||
{{ Fill LimitAdministrativeGroupsToDomain Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Linked
|
|
||||||
{{ Fill Linked Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: Linked
|
|
||||||
Aliases:
|
|
||||||
Accepted values: Root, DomainControllers, Site, OrganizationalUnit
|
|
||||||
|
|
||||||
Required: True
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -PermissionRules
|
|
||||||
{{ Fill PermissionRules Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: ScriptBlock
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: 0
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -SearchBase
|
|
||||||
{{ Fill SearchBase Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: Filter
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -SearchScope
|
|
||||||
{{ Fill SearchScope Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: ADSearchScope
|
|
||||||
Parameter Sets: Filter
|
|
||||||
Aliases:
|
|
||||||
Accepted values: Base, OneLevel, Subtree
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -SkipDuplicates
|
|
||||||
{{ Fill SkipDuplicates Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: Linked, ADObject, Filter, GPOName, GPOGUID
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Trustee
|
|
||||||
{{ Fill Trustee Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: Array
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: Principal
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -TrusteePermissionType
|
|
||||||
{{ Fill TrusteePermissionType Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: GPPermissionType
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: None, GpoApply, GpoRead, GpoEdit, GpoEditDeleteModifySecurity, GpoCustom, WmiFilterEdit, WmiFilterFullControl, WmiFilterCustom, StarterGpoRead, StarterGpoEdit, StarterGpoFullControl, StarterGpoCustom, SomCreateWmiFilter, SomWmiFilterFullControl, SomCreateGpo, SomCreateStarterGpo, SomLogging, SomPlanning, SomLink
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -TrusteeType
|
|
||||||
{{ Fill TrusteeType Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: PrincipalType
|
|
||||||
Accepted values: DistinguishedName, Name, Sid
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Type
|
|
||||||
{{ Fill Type Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: Unknown, NotWellKnown, NotWellKnownAdministrative, NotAdministrative, All
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -WhatIf
|
|
||||||
Shows what would happen if the cmdlet runs.
|
|
||||||
The cmdlet is not run.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: wi
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
### Microsoft.ActiveDirectory.Management.ADObject[]
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
### System.Object
|
|
||||||
## NOTES
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
+164
-152
@@ -1,152 +1,164 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Invoke-GPOZaurrSupport
|
||||||
# Invoke-GPOZaurrSupport
|
## SYNOPSIS
|
||||||
|
Invokes GPOZaurrSupport function to retrieve Group Policy information.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Invoke-GPOZaurrSupport [[-Type] <string>] [[-ComputerName] <string>] [[-UserName] <string>] [[-Path] <string>] [[-Splitter] <string>] [-PreventShow] [-Online] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Invoke-GPOZaurrSupport [[-Type] <String>] [[-ComputerName] <String>] [[-UserName] <String>] [[-Path] <String>]
|
|
||||||
[[-Splitter] <String>] [-PreventShow] [-Online] [<CommonParameters>]
|
## DESCRIPTION
|
||||||
```
|
This function retrieves Group Policy information using either HTML, XML, or Object format. It can be run locally or on a remote computer.
|
||||||
|
|
||||||
## DESCRIPTION
|
## EXAMPLES
|
||||||
{{ Fill in the Description }}
|
|
||||||
|
### EXAMPLE 1
|
||||||
## EXAMPLES
|
```powershell
|
||||||
|
PS > Invoke-GPOZaurrSupport -Type HTML -ComputerName "RemoteComputer" -UserName "Admin" -Path (Join-Path $env:TEMP 'GPOReport.html')
|
||||||
### Example 1
|
Retrieves Group Policy information in HTML format from a remote computer and saves it to a specified path.
|
||||||
```powershell
|
```
|
||||||
PS C:\> {{ Add example code here }}
|
|
||||||
```
|
|
||||||
|
### EXAMPLE 2
|
||||||
{{ Add example description here }}
|
```powershell
|
||||||
|
PS > Invoke-GPOZaurrSupport -Type XML -Path (Join-Path $env:TEMP 'GPOReport.xml') -Online
|
||||||
## PARAMETERS
|
Retrieves the latest Group Policy information in XML format and saves it to a specified path.
|
||||||
|
```
|
||||||
### -ComputerName
|
|
||||||
{{ Fill ComputerName Description }}
|
|
||||||
|
## PARAMETERS
|
||||||
```yaml
|
|
||||||
Type: String
|
### -ComputerName
|
||||||
Parameter Sets: (All)
|
Specifies the name of the remote computer to retrieve Group Policy information from.
|
||||||
Aliases: Server
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: String
|
||||||
Position: 1
|
Parameter Sets: __AllParameterSets
|
||||||
Default value: None
|
Aliases: Server
|
||||||
Accept pipeline input: False
|
Possible values:
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: 1
|
||||||
### -Online
|
Default value: None
|
||||||
{{ Fill Online Description }}
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
### -Online
|
||||||
Aliases:
|
Runs the function online to retrieve the latest Group Policy information.
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: Named
|
Type: SwitchParameter
|
||||||
Default value: None
|
Parameter Sets: __AllParameterSets
|
||||||
Accept pipeline input: False
|
Aliases:
|
||||||
Accept wildcard characters: False
|
Possible values:
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### -Path
|
Position: named
|
||||||
{{ Fill Path Description }}
|
Default value: False
|
||||||
|
Accept pipeline input: False
|
||||||
```yaml
|
Accept wildcard characters: True
|
||||||
Type: String
|
```
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
### -Path
|
||||||
|
Specifies the path to save the output file. If not provided, a temporary file will be created.
|
||||||
Required: False
|
|
||||||
Position: 3
|
```yaml
|
||||||
Default value: None
|
Type: String
|
||||||
Accept pipeline input: False
|
Parameter Sets: __AllParameterSets
|
||||||
Accept wildcard characters: False
|
Aliases:
|
||||||
```
|
Possible values:
|
||||||
|
|
||||||
### -PreventShow
|
Required: False
|
||||||
{{ Fill PreventShow Description }}
|
Position: 3
|
||||||
|
Default value: None
|
||||||
```yaml
|
Accept pipeline input: False
|
||||||
Type: SwitchParameter
|
Accept wildcard characters: True
|
||||||
Parameter Sets: (All)
|
```
|
||||||
Aliases:
|
|
||||||
|
### -PreventShow
|
||||||
Required: False
|
Prevents displaying the output in the console.
|
||||||
Position: Named
|
|
||||||
Default value: None
|
```yaml
|
||||||
Accept pipeline input: False
|
Type: SwitchParameter
|
||||||
Accept wildcard characters: False
|
Parameter Sets: __AllParameterSets
|
||||||
```
|
Aliases:
|
||||||
|
Possible values:
|
||||||
### -Splitter
|
|
||||||
{{ Fill Splitter Description }}
|
Required: False
|
||||||
|
Position: named
|
||||||
```yaml
|
Default value: False
|
||||||
Type: String
|
Accept pipeline input: False
|
||||||
Parameter Sets: (All)
|
Accept wildcard characters: True
|
||||||
Aliases:
|
```
|
||||||
|
|
||||||
Required: False
|
### -Splitter
|
||||||
Position: 4
|
Specifies the delimiter for splitting output data. Default is a new line.
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
```yaml
|
||||||
Accept wildcard characters: False
|
Type: String
|
||||||
```
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
### -Type
|
Possible values:
|
||||||
{{ Fill Type Description }}
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: 4
|
||||||
Type: String
|
Default value: [System.Environment]::NewLine
|
||||||
Parameter Sets: (All)
|
Accept pipeline input: False
|
||||||
Aliases:
|
Accept wildcard characters: True
|
||||||
Accepted values: NativeHTML, HTML, XML, Object
|
```
|
||||||
|
|
||||||
Required: False
|
### -Type
|
||||||
Position: 0
|
Specifies the type of output format. Valid values are 'NativeHTML', 'HTML', 'XML', or 'Object'. Default is 'HTML'.
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
```yaml
|
||||||
Accept wildcard characters: False
|
Type: String
|
||||||
```
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
### -UserName
|
Possible values: NativeHTML, HTML, XML, Object
|
||||||
{{ Fill UserName Description }}
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: 0
|
||||||
Type: String
|
Default value: HTML
|
||||||
Parameter Sets: (All)
|
Accept pipeline input: False
|
||||||
Aliases: User
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
Required: False
|
|
||||||
Position: 2
|
### -UserName
|
||||||
Default value: None
|
Specifies the username to run the function as on the remote computer.
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
```yaml
|
||||||
```
|
Type: String
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
### CommonParameters
|
Aliases: User
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
Possible values:
|
||||||
|
|
||||||
## INPUTS
|
Required: False
|
||||||
|
Position: 2
|
||||||
### None
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
## OUTPUTS
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### System.Object
|
|
||||||
## NOTES
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
## RELATED LINKS
|
|
||||||
|
## INPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+212
-228
@@ -1,228 +1,212 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# New-GPOZaurrWMI
|
||||||
# New-GPOZaurrWMI
|
## SYNOPSIS
|
||||||
|
Creates a new WMI filter based on a WMI filter query.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
New-GPOZaurrWMI [-Name] <string> [[-Description] <string>] [[-Namespace] <string>] [-Query] <string> [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [-SkipQueryCheck] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
New-GPOZaurrWMI [-Name] <String> [[-Description] <String>] [[-Namespace] <String>] [-Query] <String>
|
|
||||||
[-SkipQueryCheck] [-Force] [[-Forest] <String>] [[-ExcludeDomains] <String[]>] [[-IncludeDomains] <String[]>]
|
## DESCRIPTION
|
||||||
[[-ExtendedForestInformation] <IDictionary>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
This function creates a new WMI filter in Active Directory based on a specified WMI filter query.
|
||||||
```
|
|
||||||
|
## EXAMPLES
|
||||||
## DESCRIPTION
|
|
||||||
{{ Fill in the Description }}
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
## EXAMPLES
|
PS > New-GPOZaurrWMI -Name "TestWMIFilter1" -Query "SELECT * FROM Win32_OperatingSystem" -Force
|
||||||
|
Creates a new WMI filter named "TestWMIFilter1" targeting all Windows operating systems.
|
||||||
### Example 1
|
```
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
|
||||||
```
|
### EXAMPLE 2
|
||||||
|
```powershell
|
||||||
{{ Add example description here }}
|
PS > New-GPOZaurrWMI -Name "TestWMIFilter2" -Query "SELECT * FROM Win32_Processor" -Forest "Contoso" -IncludeDomains "FinanceDomain"
|
||||||
|
Creates a new WMI filter named "TestWMIFilter2" targeting all processors in the "FinanceDomain" within the "Contoso" forest.
|
||||||
## PARAMETERS
|
```
|
||||||
|
|
||||||
### -Confirm
|
|
||||||
Prompts you for confirmation before running the cmdlet.
|
## PARAMETERS
|
||||||
|
|
||||||
```yaml
|
### -Description
|
||||||
Type: SwitchParameter
|
The description for the new WMI filter. Default is an empty string.
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: cf
|
```yaml
|
||||||
|
Type: String
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: Named
|
Aliases:
|
||||||
Default value: None
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: 1
|
||||||
|
Default value: None
|
||||||
### -Description
|
Accept pipeline input: False
|
||||||
{{ Fill Description Description }}
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: String
|
### -ExcludeDomains
|
||||||
Parameter Sets: (All)
|
An array of domains to exclude from WMI application.
|
||||||
Aliases:
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: String[]
|
||||||
Position: 1
|
Parameter Sets: __AllParameterSets
|
||||||
Default value: None
|
Aliases:
|
||||||
Accept pipeline input: False
|
Possible values:
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: 5
|
||||||
### -ExcludeDomains
|
Default value: None
|
||||||
{{ Fill ExcludeDomains Description }}
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
### -ExtendedForestInformation
|
||||||
Aliases:
|
Additional information about the forest for WMI customization.
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: 5
|
Type: IDictionary
|
||||||
Default value: None
|
Parameter Sets: __AllParameterSets
|
||||||
Accept pipeline input: False
|
Aliases:
|
||||||
Accept wildcard characters: False
|
Possible values:
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### -ExtendedForestInformation
|
Position: 7
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
```yaml
|
Accept wildcard characters: True
|
||||||
Type: IDictionary
|
```
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
### -Force
|
||||||
|
Switch to force the creation of the WMI entry without confirmation.
|
||||||
Required: False
|
|
||||||
Position: 7
|
```yaml
|
||||||
Default value: None
|
Type: SwitchParameter
|
||||||
Accept pipeline input: False
|
Parameter Sets: __AllParameterSets
|
||||||
Accept wildcard characters: False
|
Aliases:
|
||||||
```
|
Possible values:
|
||||||
|
|
||||||
### -Force
|
Required: False
|
||||||
{{ Fill Force Description }}
|
Position: named
|
||||||
|
Default value: False
|
||||||
```yaml
|
Accept pipeline input: False
|
||||||
Type: SwitchParameter
|
Accept wildcard characters: True
|
||||||
Parameter Sets: (All)
|
```
|
||||||
Aliases:
|
|
||||||
|
### -Forest
|
||||||
Required: False
|
The forest to target for WMI creation.
|
||||||
Position: Named
|
|
||||||
Default value: None
|
```yaml
|
||||||
Accept pipeline input: False
|
Type: String
|
||||||
Accept wildcard characters: False
|
Parameter Sets: __AllParameterSets
|
||||||
```
|
Aliases: ForestName
|
||||||
|
Possible values:
|
||||||
### -Forest
|
|
||||||
{{ Fill Forest Description }}
|
Required: False
|
||||||
|
Position: 4
|
||||||
```yaml
|
Default value: None
|
||||||
Type: String
|
Accept pipeline input: False
|
||||||
Parameter Sets: (All)
|
Accept wildcard characters: True
|
||||||
Aliases: ForestName
|
```
|
||||||
|
|
||||||
Required: False
|
### -IncludeDomains
|
||||||
Position: 4
|
An array of domains to include for WMI application.
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
```yaml
|
||||||
Accept wildcard characters: False
|
Type: String[]
|
||||||
```
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases: Domain, Domains
|
||||||
### -IncludeDomains
|
Possible values:
|
||||||
{{ Fill IncludeDomains Description }}
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: 6
|
||||||
Type: String[]
|
Default value: None
|
||||||
Parameter Sets: (All)
|
Accept pipeline input: False
|
||||||
Aliases: Domain, Domains
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
Required: False
|
|
||||||
Position: 6
|
### -Name
|
||||||
Default value: None
|
The name of the new WMI filter to be created.
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
```yaml
|
||||||
```
|
Type: String
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
### -Name
|
Aliases:
|
||||||
{{ Fill Name Description }}
|
Possible values:
|
||||||
|
|
||||||
```yaml
|
Required: True
|
||||||
Type: String
|
Position: 0
|
||||||
Parameter Sets: (All)
|
Default value: None
|
||||||
Aliases:
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
Required: True
|
```
|
||||||
Position: 0
|
|
||||||
Default value: None
|
### -Namespace
|
||||||
Accept pipeline input: False
|
The WMI namespace to target. Default is 'root\CIMv2'.
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
```yaml
|
||||||
|
Type: String
|
||||||
### -Namespace
|
Parameter Sets: __AllParameterSets
|
||||||
{{ Fill Namespace Description }}
|
Aliases:
|
||||||
|
Possible values:
|
||||||
```yaml
|
|
||||||
Type: String
|
Required: False
|
||||||
Parameter Sets: (All)
|
Position: 2
|
||||||
Aliases:
|
Default value: root\CIMv2
|
||||||
|
Accept pipeline input: False
|
||||||
Required: False
|
Accept wildcard characters: True
|
||||||
Position: 2
|
```
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
### -Query
|
||||||
Accept wildcard characters: False
|
The WMI filter query to be applied to the WMI entry.
|
||||||
```
|
|
||||||
|
```yaml
|
||||||
### -Query
|
Type: String
|
||||||
{{ Fill Query Description }}
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
```yaml
|
Possible values:
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
Required: True
|
||||||
Aliases:
|
Position: 3
|
||||||
|
Default value: None
|
||||||
Required: True
|
Accept pipeline input: False
|
||||||
Position: 3
|
Accept wildcard characters: True
|
||||||
Default value: None
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -SkipQueryCheck
|
||||||
```
|
Switch to skip the query check before creating the WMI entry.
|
||||||
|
|
||||||
### -SkipQueryCheck
|
```yaml
|
||||||
{{ Fill SkipQueryCheck Description }}
|
Type: SwitchParameter
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases:
|
||||||
Type: SwitchParameter
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
Required: False
|
||||||
|
Position: named
|
||||||
Required: False
|
Default value: False
|
||||||
Position: Named
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
### -WhatIf
|
|
||||||
Shows what would happen if the cmdlet runs.
|
## INPUTS
|
||||||
The cmdlet is not run.
|
|
||||||
|
- `None`
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
## OUTPUTS
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: wi
|
- `None`
|
||||||
|
|
||||||
Required: False
|
## RELATED LINKS
|
||||||
Position: Named
|
|
||||||
Default value: None
|
- None
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
### None
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
### System.Object
|
|
||||||
## NOTES
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
+207
-234
@@ -1,234 +1,207 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Optimize-GPOZaurr
|
||||||
# Optimize-GPOZaurr
|
## SYNOPSIS
|
||||||
|
Enables or disables user/computer section of group policy based on it's content.
|
||||||
## SYNOPSIS
|
|
||||||
Enables or disables user/computer section of group policy based on it's content.
|
## SYNTAX
|
||||||
|
### GPOName (Default)
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Optimize-GPOZaurr [[-ExcludeGroupPolicies] <scriptblock>] -GPOName <string> [-LimitProcessing <int>] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
### GPOName (Default)
|
```
|
||||||
```
|
|
||||||
Optimize-GPOZaurr [[-ExcludeGroupPolicies] <ScriptBlock>] -GPOName <String> [-LimitProcessing <Int32>]
|
### GPOGUID
|
||||||
[-Forest <String>] [-ExcludeDomains <String[]>] [-IncludeDomains <String[]>]
|
```powershell
|
||||||
[-ExtendedForestInformation <IDictionary>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
Optimize-GPOZaurr [[-ExcludeGroupPolicies] <scriptblock>] -GPOGuid <string> [-LimitProcessing <int>] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
|
|
||||||
### GPOGUID
|
### All
|
||||||
```
|
```powershell
|
||||||
Optimize-GPOZaurr [[-ExcludeGroupPolicies] <ScriptBlock>] -GPOGuid <String> [-LimitProcessing <Int32>]
|
Optimize-GPOZaurr [[-ExcludeGroupPolicies] <scriptblock>] -All [-LimitProcessing <int>] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
[-Forest <String>] [-ExcludeDomains <String[]>] [-IncludeDomains <String[]>]
|
```
|
||||||
[-ExtendedForestInformation <IDictionary>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
|
||||||
```
|
## DESCRIPTION
|
||||||
|
Enables or disables user/computer section of group policy based on it's content.
|
||||||
### All
|
|
||||||
```
|
## EXAMPLES
|
||||||
Optimize-GPOZaurr [[-ExcludeGroupPolicies] <ScriptBlock>] [-All] [-LimitProcessing <Int32>] [-Forest <String>]
|
|
||||||
[-ExcludeDomains <String[]>] [-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-WhatIf]
|
### EXAMPLE 1
|
||||||
[-Confirm] [<CommonParameters>]
|
```powershell
|
||||||
```
|
PS > Optimize-GPOZaurr -All -WhatIf -Verbose -LimitProcessing 2
|
||||||
|
```
|
||||||
## DESCRIPTION
|
|
||||||
Enables or disables user/computer section of group policy based on it's content.
|
|
||||||
|
### EXAMPLE 2
|
||||||
## EXAMPLES
|
```powershell
|
||||||
|
PS > Optimize-GPOZaurr -All -WhatIf -Verbose -LimitProcessing 2 {
|
||||||
### EXAMPLE 1
|
Skip-GroupPolicy -Name 'TEST | Drive Mapping 1'
|
||||||
```
|
Skip-GroupPolicy -Name 'TEST | Drive Mapping 2'
|
||||||
Optimize-GPOZaurr -All -WhatIf -Verbose -LimitProcessing 2
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 2
|
|
||||||
```
|
## PARAMETERS
|
||||||
Optimize-GPOZaurr -All -WhatIf -Verbose -LimitProcessing 2 {
|
|
||||||
```
|
### -All
|
||||||
|
{{ Fill All Description }}
|
||||||
Skip-GroupPolicy -Name 'TEST | Drive Mapping 1'
|
|
||||||
Skip-GroupPolicy -Name 'TEST | Drive Mapping 2'
|
```yaml
|
||||||
}
|
Type: SwitchParameter
|
||||||
|
Parameter Sets: All
|
||||||
## PARAMETERS
|
Aliases:
|
||||||
|
Possible values:
|
||||||
### -ExcludeGroupPolicies
|
|
||||||
Provide a list of group policies to skip using Skip-GroupPolicy cmdlet
|
Required: True
|
||||||
|
Position: named
|
||||||
```yaml
|
Default value: False
|
||||||
Type: ScriptBlock
|
Accept pipeline input: False
|
||||||
Parameter Sets: (All)
|
Accept wildcard characters: True
|
||||||
Aliases:
|
```
|
||||||
|
|
||||||
Required: False
|
### -ExcludeDomains
|
||||||
Position: 2
|
Exclude domain from search, by default whole forest is scanned
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
```yaml
|
||||||
Accept wildcard characters: False
|
Type: String[]
|
||||||
```
|
Parameter Sets: GPOName, GPOGUID, All
|
||||||
|
Aliases:
|
||||||
### -GPOName
|
Possible values:
|
||||||
{{ Fill GPOName Description }}
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: named
|
||||||
Type: String
|
Default value: None
|
||||||
Parameter Sets: GPOName
|
Accept pipeline input: False
|
||||||
Aliases: Name, DisplayName
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
Required: True
|
|
||||||
Position: Named
|
### -ExcludeGroupPolicies
|
||||||
Default value: None
|
Provide a list of group policies to skip using Skip-GroupPolicy cmdlet
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
```yaml
|
||||||
```
|
Type: ScriptBlock
|
||||||
|
Parameter Sets: GPOName, GPOGUID, All
|
||||||
### -GPOGuid
|
Aliases:
|
||||||
{{ Fill GPOGuid Description }}
|
Possible values:
|
||||||
|
|
||||||
```yaml
|
Required: False
|
||||||
Type: String
|
Position: 1
|
||||||
Parameter Sets: GPOGUID
|
Default value: None
|
||||||
Aliases: GUID, GPOID
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
Required: True
|
```
|
||||||
Position: Named
|
|
||||||
Default value: None
|
### -ExtendedForestInformation
|
||||||
Accept pipeline input: False
|
Ability to provide Forest Information from another command to speed up processing
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
```yaml
|
||||||
|
Type: IDictionary
|
||||||
### -All
|
Parameter Sets: GPOName, GPOGUID, All
|
||||||
{{ Fill All Description }}
|
Aliases:
|
||||||
|
Possible values:
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
Required: False
|
||||||
Parameter Sets: All
|
Position: named
|
||||||
Aliases:
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
Required: True
|
Accept wildcard characters: True
|
||||||
Position: Named
|
```
|
||||||
Default value: False
|
|
||||||
Accept pipeline input: False
|
### -Forest
|
||||||
Accept wildcard characters: False
|
Target different Forest, by default current forest is used
|
||||||
```
|
|
||||||
|
```yaml
|
||||||
### -LimitProcessing
|
Type: String
|
||||||
Allows to specify maximum number of items that will be fixed in a single run.
|
Parameter Sets: GPOName, GPOGUID, All
|
||||||
It doesn't affect amount of GPOs processed
|
Aliases: ForestName
|
||||||
|
Possible values:
|
||||||
```yaml
|
|
||||||
Type: Int32
|
Required: False
|
||||||
Parameter Sets: (All)
|
Position: named
|
||||||
Aliases:
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
Required: False
|
Accept wildcard characters: True
|
||||||
Position: Named
|
```
|
||||||
Default value: 0
|
|
||||||
Accept pipeline input: False
|
### -GPOGuid
|
||||||
Accept wildcard characters: False
|
{{ Fill GPOGuid Description }}
|
||||||
```
|
|
||||||
|
```yaml
|
||||||
### -Forest
|
Type: String
|
||||||
Target different Forest, by default current forest is used
|
Parameter Sets: GPOGUID
|
||||||
|
Aliases: GUID, GPOID
|
||||||
```yaml
|
Possible values:
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
Required: True
|
||||||
Aliases: ForestName
|
Position: named
|
||||||
|
Default value: None
|
||||||
Required: False
|
Accept pipeline input: False
|
||||||
Position: Named
|
Accept wildcard characters: True
|
||||||
Default value: None
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -GPOName
|
||||||
```
|
{{ Fill GPOName Description }}
|
||||||
|
|
||||||
### -ExcludeDomains
|
```yaml
|
||||||
Exclude domain from search, by default whole forest is scanned
|
Type: String
|
||||||
|
Parameter Sets: GPOName
|
||||||
```yaml
|
Aliases: Name, DisplayName
|
||||||
Type: String[]
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
Required: True
|
||||||
|
Position: named
|
||||||
Required: False
|
Default value: None
|
||||||
Position: Named
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -IncludeDomains
|
||||||
|
Include only specific domains, by default whole forest is scanned
|
||||||
### -IncludeDomains
|
|
||||||
Include only specific domains, by default whole forest is scanned
|
```yaml
|
||||||
|
Type: String[]
|
||||||
```yaml
|
Parameter Sets: GPOName, GPOGUID, All
|
||||||
Type: String[]
|
Aliases: Domain, Domains
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases: Domain, Domains
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: named
|
||||||
Position: Named
|
Default value: None
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -LimitProcessing
|
||||||
### -ExtendedForestInformation
|
Allows to specify maximum number of items that will be fixed in a single run. It doesn't affect amount of GPOs processed
|
||||||
Ability to provide Forest Information from another command to speed up processing
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: Int32
|
||||||
Type: IDictionary
|
Parameter Sets: GPOName, GPOGUID, All
|
||||||
Parameter Sets: (All)
|
Aliases:
|
||||||
Aliases:
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: Named
|
Position: named
|
||||||
Default value: None
|
Default value: 0
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -WhatIf
|
### CommonParameters
|
||||||
Shows what would happen if the cmdlet runs.
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
The cmdlet is not run.
|
|
||||||
|
## INPUTS
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
- `None`
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: wi
|
## OUTPUTS
|
||||||
|
|
||||||
Required: False
|
- `None`
|
||||||
Position: Named
|
|
||||||
Default value: None
|
## RELATED LINKS
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
- None
|
||||||
```
|
|
||||||
|
|
||||||
### -Confirm
|
|
||||||
Prompts you for confirmation before running the cmdlet.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: cf
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
## NOTES
|
|
||||||
General notes
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
+195
-193
@@ -1,193 +1,195 @@
|
|||||||
---
|
---
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
Module Guid: f7d4c9e4-0298-4f51-ad77-e8e3febebbde
|
Module Guid: f7d4c9e4-0298-4f51-ad77-e8e3febebbde
|
||||||
Download Help Link: {{ Update Download Link }}
|
Download Help Link: https://github.com/EvotecIT/GPOZaurr
|
||||||
Help Version: {{ Please enter version of help manually (X.X.X.X) format }}
|
Help Version: 1.1.10
|
||||||
Locale: en-US
|
Locale: en-US
|
||||||
---
|
---
|
||||||
|
# GPOZaurr Module
|
||||||
# GPOZaurr Module
|
## Description
|
||||||
## Description
|
Group Policy Eater is a PowerShell module that aims to gather information about Group Policies but also allows fixing issues that you may find in them.
|
||||||
{{ Fill in the Description }}
|
|
||||||
|
## GPOZaurr Cmdlets
|
||||||
## GPOZaurr Cmdlets
|
### [Add-GPOPermission](Add-GPOPermission.md)
|
||||||
### [Add-GPOPermission](Add-GPOPermission.md)
|
{{ Fill in the Description }}
|
||||||
{{ Fill in the Synopsis }}
|
|
||||||
|
### [Add-GPOZaurrPermission](Add-GPOZaurrPermission.md)
|
||||||
### [Add-GPOZaurrPermission](Add-GPOZaurrPermission.md)
|
{{ Fill in the Description }}
|
||||||
{{ Fill in the Synopsis }}
|
|
||||||
|
### [Backup-GPOZaurr](Backup-GPOZaurr.md)
|
||||||
### [Backup-GPOZaurr](Backup-GPOZaurr.md)
|
Provides Backup functionality to Group Policies
|
||||||
Provides Backup functionality to Group Policies
|
|
||||||
|
### [Clear-GPOZaurrSysvolDFSR](Clear-GPOZaurrSysvolDFSR.md)
|
||||||
### [Clear-GPOZaurrSysvolDFSR](Clear-GPOZaurrSysvolDFSR.md)
|
Clears the ConflictAndDeleted folder in DFSR for specified GPOs.
|
||||||
{{ Fill in the Synopsis }}
|
|
||||||
|
### [ConvertFrom-CSExtension](ConvertFrom-CSExtension.md)
|
||||||
### [ConvertFrom-CSExtension](ConvertFrom-CSExtension.md)
|
Converts Client-side Extension (CSE) GUIDs to their corresponding names.
|
||||||
{{ Fill in the Synopsis }}
|
|
||||||
|
### [Export-GPOZaurrContent](Export-GPOZaurrContent.md)
|
||||||
### [Export-GPOZaurrContent](Export-GPOZaurrContent.md)
|
Exports Group Policy Objects (GPOs) to XML or HTML files.
|
||||||
Saves GPOs to XML or HTML files.
|
|
||||||
|
### [Find-CSExtension](Find-CSExtension.md)
|
||||||
### [Find-CSExtension](Find-CSExtension.md)
|
This function retrieves Group Policy Client Side Extensions (CSEs) from a specified Windows computer.
|
||||||
{{ Fill in the Synopsis }}
|
|
||||||
|
### [Get-GPOZaurr](Get-GPOZaurr.md)
|
||||||
### [Get-GPOZaurr](Get-GPOZaurr.md)
|
Gets information about all Group Policies. Similar to what Get-GPO provides by default.
|
||||||
Gets information about all Group Policies.
|
|
||||||
Similar to what Get-GPO provides by default.
|
### [Get-GPOZaurrAD](Get-GPOZaurrAD.md)
|
||||||
|
Retrieves Group Policy Objects (GPOs) information from Active Directory.
|
||||||
### [Get-GPOZaurrAD](Get-GPOZaurrAD.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Get-GPOZaurrBackupInformation](Get-GPOZaurrBackupInformation.md)
|
||||||
|
Retrieves backup information from GPOZaurr manifest files.
|
||||||
### [Get-GPOZaurrBackupInformation](Get-GPOZaurrBackupInformation.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Get-GPOZaurrBroken](Get-GPOZaurrBroken.md)
|
||||||
|
Detects broken or otherwise damaged Group Policies
|
||||||
### [Get-GPOZaurrBroken](Get-GPOZaurrBroken.md)
|
|
||||||
Detects broken or otherwise damaged Group Policies
|
### [Get-GPOZaurrBrokenLink](Get-GPOZaurrBrokenLink.md)
|
||||||
|
Finds any GPO link that doesn't have a matching GPO (already removed GPO).
|
||||||
### [Get-GPOZaurrBrokenLink](Get-GPOZaurrBrokenLink.md)
|
|
||||||
Finds any GPO link that doesn't have a matching GPO (already removed GPO).
|
### [Get-GPOZaurrDictionary](Get-GPOZaurrDictionary.md)
|
||||||
|
Retrieves a dictionary of Group Policy Objects (GPOs) with their associated types and paths.
|
||||||
### [Get-GPOZaurrDictionary](Get-GPOZaurrDictionary.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Get-GPOZaurrDuplicateObject](Get-GPOZaurrDuplicateObject.md)
|
||||||
|
Retrieves duplicate Group Policy Objects (GPOs) within a specified forest.
|
||||||
### [Get-GPOZaurrDuplicateObject](Get-GPOZaurrDuplicateObject.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Get-GPOZaurrFiles](Get-GPOZaurrFiles.md)
|
||||||
|
Retrieves information about Group Policy Objects (GPOs) stored in SYSVOL and NETLOGON folders.
|
||||||
### [Get-GPOZaurrFiles](Get-GPOZaurrFiles.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Get-GPOZaurrFilesPolicyDefinition](Get-GPOZaurrFilesPolicyDefinition.md)
|
||||||
|
Retrieves policy definitions for Group Policy Objects (GPOs) within specified domains.
|
||||||
### [Get-GPOZaurrFilesPolicyDefinition](Get-GPOZaurrFilesPolicyDefinition.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Get-GPOZaurrFolders](Get-GPOZaurrFolders.md)
|
||||||
|
Retrieves information about GPO folders within specified domains.
|
||||||
### [Get-GPOZaurrFolders](Get-GPOZaurrFolders.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Get-GPOZaurrInheritance](Get-GPOZaurrInheritance.md)
|
||||||
|
Retrieves inheritance information for Group Policy Objects (GPOs) within specified Organizational Units (OUs).
|
||||||
### [Get-GPOZaurrInheritance](Get-GPOZaurrInheritance.md)
|
|
||||||
Short description
|
### [Get-GPOZaurrLegacyFiles](Get-GPOZaurrLegacyFiles.md)
|
||||||
|
Retrieves legacy Group Policy Object (GPO) files from the SYSVOL directory of specified domains within a forest.
|
||||||
### [Get-GPOZaurrLegacyFiles](Get-GPOZaurrLegacyFiles.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Get-GPOZaurrLink](Get-GPOZaurrLink.md)
|
||||||
|
Retrieves Group Policy Object (GPO) links based on specified criteria.
|
||||||
### [Get-GPOZaurrLink](Get-GPOZaurrLink.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Get-GPOZaurrLinkSummary](Get-GPOZaurrLinkSummary.md)
|
||||||
|
Retrieves a summary of GPO links based on specified criteria.
|
||||||
### [Get-GPOZaurrLinkSummary](Get-GPOZaurrLinkSummary.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Get-GPOZaurrMissingFiles](Get-GPOZaurrMissingFiles.md)
|
||||||
|
Retrieves information about missing files in Group Policy Objects (GPOs) within a specified forest.
|
||||||
### [Get-GPOZaurrNetLogon](Get-GPOZaurrNetLogon.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Get-GPOZaurrNetLogon](Get-GPOZaurrNetLogon.md)
|
||||||
|
Retrieves information about Group Policy Objects (GPO) stored in the Netlogon and SYSVOL directories.
|
||||||
### [Get-GPOZaurrOrganizationalUnit](Get-GPOZaurrOrganizationalUnit.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Get-GPOZaurrOrganizationalUnit](Get-GPOZaurrOrganizationalUnit.md)
|
||||||
|
Retrieves information about Group Policy Objects (GPOs) linked to Organizational Units (OUs) within a specified forest.
|
||||||
### [Get-GPOZaurrOwner](Get-GPOZaurrOwner.md)
|
|
||||||
Gets owners of GPOs from Active Directory and SYSVOL
|
### [Get-GPOZaurrOwner](Get-GPOZaurrOwner.md)
|
||||||
|
Gets owners of GPOs from Active Directory and SYSVOL
|
||||||
### [Get-GPOZaurrPassword](Get-GPOZaurrPassword.md)
|
|
||||||
Tries to find CPassword in Group Policies or given path and translate it to readable value
|
### [Get-GPOZaurrPassword](Get-GPOZaurrPassword.md)
|
||||||
|
Tries to find CPassword in Group Policies or given path and translate it to readable value
|
||||||
### [Get-GPOZaurrPermission](Get-GPOZaurrPermission.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Get-GPOZaurrPermission](Get-GPOZaurrPermission.md)
|
||||||
|
{{ Fill in the Description }}
|
||||||
### [Get-GPOZaurrPermissionAnalysis](Get-GPOZaurrPermissionAnalysis.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Get-GPOZaurrPermissionAnalysis](Get-GPOZaurrPermissionAnalysis.md)
|
||||||
|
Analyzes permissions for Group Policy Objects (GPOs) and administrative groups.
|
||||||
### [Get-GPOZaurrPermissionConsistency](Get-GPOZaurrPermissionConsistency.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Get-GPOZaurrPermissionConsistency](Get-GPOZaurrPermissionConsistency.md)
|
||||||
|
Retrieves information about Group Policy Objects (GPOs) and checks permission consistency across domains.
|
||||||
### [Get-GPOZaurrPermissionIssue](Get-GPOZaurrPermissionIssue.md)
|
|
||||||
Detects Group Policy missing Authenticated Users permission while not having higher permissions.
|
### [Get-GPOZaurrPermissionIssue](Get-GPOZaurrPermissionIssue.md)
|
||||||
|
Detects Group Policy missing Authenticated Users permission while not having higher permissions.
|
||||||
### [Get-GPOZaurrPermissionRoot](Get-GPOZaurrPermissionRoot.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Get-GPOZaurrPermissionRoot](Get-GPOZaurrPermissionRoot.md)
|
||||||
|
Retrieves the root permissions of Group Policy Objects (GPOs) based on specified criteria.
|
||||||
### [Get-GPOZaurrPermissionSummary](Get-GPOZaurrPermissionSummary.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Get-GPOZaurrPermissionSummary](Get-GPOZaurrPermissionSummary.md)
|
||||||
|
Retrieves a summary of Group Policy Object (GPO) permissions based on specified criteria.
|
||||||
### [Get-GPOZaurrSysvolDFSR](Get-GPOZaurrSysvolDFSR.md)
|
|
||||||
Gets DFSR information from the SYSVOL DFSR
|
### [Get-GPOZaurrRedirect](Get-GPOZaurrRedirect.md)
|
||||||
|
Command to detect if GPOs have correct path in SYSVOL, or someone changed it manually.
|
||||||
### [Get-GPOZaurrUpdates](Get-GPOZaurrUpdates.md)
|
|
||||||
Gets the list of GPOs created or updated in the last X number of days.
|
### [Get-GPOZaurrSysvolDFSR](Get-GPOZaurrSysvolDFSR.md)
|
||||||
|
Gets DFSR information from the SYSVOL DFSR
|
||||||
### [Get-GPOZaurrWMI](Get-GPOZaurrWMI.md)
|
|
||||||
Get Group Policy WMI filter
|
### [Get-GPOZaurrUpdates](Get-GPOZaurrUpdates.md)
|
||||||
|
Gets the list of GPOs created or updated in the last X number of days.
|
||||||
### [Invoke-GPOZaurr](Invoke-GPOZaurr.md)
|
|
||||||
Single cmdlet that provides 360 degree overview of Group Policies in Active Directory Forest.
|
### [Get-GPOZaurrWMI](Get-GPOZaurrWMI.md)
|
||||||
|
Get Group Policy WMI filter
|
||||||
### [Invoke-GPOZaurrContent](Invoke-GPOZaurrContent.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Invoke-GPOZaurr](Invoke-GPOZaurr.md)
|
||||||
|
Single cmdlet that provides 360 degree overview of Group Policies in Active Directory Forest.
|
||||||
### [Invoke-GPOZaurrPermission](Invoke-GPOZaurrPermission.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Invoke-GPOZaurrContent](Invoke-GPOZaurrContent.md)
|
||||||
|
Invokes GPOZaurrContent function to retrieve Group Policy Objects information.
|
||||||
### [Invoke-GPOZaurrSupport](Invoke-GPOZaurrSupport.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Invoke-GPOZaurrPermission](Invoke-GPOZaurrPermission.md)
|
||||||
|
{{ Fill in the Description }}
|
||||||
### [New-GPOZaurrWMI](New-GPOZaurrWMI.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Invoke-GPOZaurrSupport](Invoke-GPOZaurrSupport.md)
|
||||||
|
Invokes GPOZaurrSupport function to retrieve Group Policy information.
|
||||||
### [Optimize-GPOZaurr](Optimize-GPOZaurr.md)
|
|
||||||
Enables or disables user/computer section of group policy based on it's content.
|
### [New-GPOZaurrWMI](New-GPOZaurrWMI.md)
|
||||||
|
Creates a new WMI filter based on a WMI filter query.
|
||||||
### [Remove-GPOPermission](Remove-GPOPermission.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Optimize-GPOZaurr](Optimize-GPOZaurr.md)
|
||||||
|
Enables or disables user/computer section of group policy based on it's content.
|
||||||
### [Remove-GPOZaurr](Remove-GPOZaurr.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Remove-GPOPermission](Remove-GPOPermission.md)
|
||||||
|
{{ Fill in the Description }}
|
||||||
### [Remove-GPOZaurrBroken](Remove-GPOZaurrBroken.md)
|
|
||||||
Finds and removes broken Group Policies from SYSVOL or AD or both.
|
### [Remove-GPOZaurr](Remove-GPOZaurr.md)
|
||||||
|
Removes Group Policy Objects based on specified criteria.
|
||||||
### [Remove-GPOZaurrDuplicateObject](Remove-GPOZaurrDuplicateObject.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Remove-GPOZaurrBroken](Remove-GPOZaurrBroken.md)
|
||||||
|
Finds and removes broken Group Policies from SYSVOL or AD or both.
|
||||||
### [Remove-GPOZaurrFolders](Remove-GPOZaurrFolders.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Remove-GPOZaurrDuplicateObject](Remove-GPOZaurrDuplicateObject.md)
|
||||||
|
Removes duplicate Group Policy Objects (GPOs) identified by the Get-GPOZaurrDuplicateObject function.
|
||||||
### [Remove-GPOZaurrLegacyFiles](Remove-GPOZaurrLegacyFiles.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Remove-GPOZaurrFolders](Remove-GPOZaurrFolders.md)
|
||||||
|
Removes specified GPOZaurr folders and backs them up to a specified path.
|
||||||
### [Remove-GPOZaurrLinkEmptyOU](Remove-GPOZaurrLinkEmptyOU.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Remove-GPOZaurrLegacyFiles](Remove-GPOZaurrLegacyFiles.md)
|
||||||
|
Removes legacy Group Policy Objects (GPO) files from specified domains.
|
||||||
### [Remove-GPOZaurrPermission](Remove-GPOZaurrPermission.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Remove-GPOZaurrLinkEmptyOU](Remove-GPOZaurrLinkEmptyOU.md)
|
||||||
|
Removes Group Policy Object (GPO) links from empty Organizational Units (OUs) in a specified forest.
|
||||||
### [Remove-GPOZaurrWMI](Remove-GPOZaurrWMI.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Remove-GPOZaurrPermission](Remove-GPOZaurrPermission.md)
|
||||||
|
{{ Fill in the Description }}
|
||||||
### [Repair-GPOZaurrBrokenLink](Repair-GPOZaurrBrokenLink.md)
|
|
||||||
Removes any link to GPO that no longer exists.
|
### [Remove-GPOZaurrWMI](Remove-GPOZaurrWMI.md)
|
||||||
|
Removes Group Policy WMI filters based on specified criteria.
|
||||||
### [Repair-GPOZaurrNetLogonOwner](Repair-GPOZaurrNetLogonOwner.md)
|
|
||||||
Sets new owner to each file in NetLogon share.
|
### [Repair-GPOZaurrBrokenLink](Repair-GPOZaurrBrokenLink.md)
|
||||||
|
Removes any link to GPO that no longer exists.
|
||||||
### [Repair-GPOZaurrPermission](Repair-GPOZaurrPermission.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Repair-GPOZaurrNetLogonOwner](Repair-GPOZaurrNetLogonOwner.md)
|
||||||
|
Sets new owner to each file in NetLogon share.
|
||||||
### [Repair-GPOZaurrPermissionConsistency](Repair-GPOZaurrPermissionConsistency.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Repair-GPOZaurrPermission](Repair-GPOZaurrPermission.md)
|
||||||
|
Repairs permissions for Group Policy Objects (GPOs) based on specified criteria.
|
||||||
### [Restore-GPOZaurr](Restore-GPOZaurr.md)
|
|
||||||
{{ Fill in the Synopsis }}
|
### [Repair-GPOZaurrPermissionConsistency](Repair-GPOZaurrPermissionConsistency.md)
|
||||||
|
Repairs permission consistency for Group Policy Objects (GPOs) in a specified domain or forest.
|
||||||
### [Save-GPOZaurrFiles](Save-GPOZaurrFiles.md)
|
|
||||||
Exports GPO XML data to files and saves it to a given path
|
### [Restore-GPOZaurr](Restore-GPOZaurr.md)
|
||||||
|
Restores Group Policy Objects (GPOs) from a specified backup folder.
|
||||||
### [Set-GPOOwner](Set-GPOOwner.md)
|
|
||||||
Used within Invoke-GPOZaurrPermission only.
|
### [Save-GPOZaurrFiles](Save-GPOZaurrFiles.md)
|
||||||
Set new group policy owner.
|
Exports GPO XML data to files and saves it to a given path
|
||||||
|
|
||||||
### [Set-GPOZaurrOwner](Set-GPOZaurrOwner.md)
|
### [Set-GPOOwner](Set-GPOOwner.md)
|
||||||
Sets GPO Owner to Domain Admins or other choosen account
|
Used within Invoke-GPOZaurrPermission only. Set new group policy owner.
|
||||||
|
|
||||||
### [Set-GPOZaurrStatus](Set-GPOZaurrStatus.md)
|
### [Set-GPOZaurrOwner](Set-GPOZaurrOwner.md)
|
||||||
Enables or disables user/computer section of Group Policy.
|
Sets GPO Owner to Domain Admins or other choosen account
|
||||||
|
|
||||||
### [Skip-GroupPolicy](Skip-GroupPolicy.md)
|
### [Set-GPOZaurrStatus](Set-GPOZaurrStatus.md)
|
||||||
Used within ScriptBlocks only.
|
{{ Fill in the Description }}
|
||||||
Allows to exclude Group Policy from being affected by fixes
|
|
||||||
|
### [Skip-GroupPolicy](Skip-GroupPolicy.md)
|
||||||
|
Used within ScriptBlocks only. Allows to exclude Group Policy from being affected by fixes
|
||||||
|
|
||||||
|
|||||||
+43
-174
@@ -1,174 +1,43 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Remove-GPOPermission
|
||||||
# Remove-GPOPermission
|
## SYNOPSIS
|
||||||
|
{{ Fill in the Synopsis }}
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
```powershell
|
||||||
## SYNTAX
|
Remove-GPOPermission
|
||||||
|
```
|
||||||
```
|
|
||||||
Remove-GPOPermission [[-Type] <String[]>] [[-IncludePermissionType] <GPPermissionType[]>]
|
## DESCRIPTION
|
||||||
[[-ExcludePermissionType] <GPPermissionType[]>] [[-PermitType] <String>] [[-Principal] <String[]>]
|
{{ Fill in the Description }}
|
||||||
[[-PrincipalType] <String>] [[-ExcludePrincipal] <String[]>] [[-ExcludePrincipalType] <String>]
|
|
||||||
[<CommonParameters>]
|
## EXAMPLES
|
||||||
```
|
|
||||||
|
### EXAMPLE 1
|
||||||
## DESCRIPTION
|
```powershell
|
||||||
{{ Fill in the Description }}
|
Remove-GPOPermission
|
||||||
|
```
|
||||||
## EXAMPLES
|
|
||||||
|
|
||||||
### Example 1
|
## PARAMETERS
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
### CommonParameters
|
||||||
```
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
{{ Add example description here }}
|
## INPUTS
|
||||||
|
|
||||||
## PARAMETERS
|
- `None`
|
||||||
|
|
||||||
### -ExcludePermissionType
|
## OUTPUTS
|
||||||
{{ Fill ExcludePermissionType Description }}
|
|
||||||
|
- `None`
|
||||||
```yaml
|
|
||||||
Type: GPPermissionType[]
|
## RELATED LINKS
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
- None
|
||||||
Accepted values: None, GpoApply, GpoRead, GpoEdit, GpoEditDeleteModifySecurity, GpoCustom, WmiFilterEdit, WmiFilterFullControl, WmiFilterCustom, StarterGpoRead, StarterGpoEdit, StarterGpoFullControl, StarterGpoCustom, SomCreateWmiFilter, SomWmiFilterFullControl, SomCreateGpo, SomCreateStarterGpo, SomLogging, SomPlanning, SomLink
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: 2
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ExcludePrincipal
|
|
||||||
{{ Fill ExcludePrincipal Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: 6
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ExcludePrincipalType
|
|
||||||
{{ Fill ExcludePrincipalType Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: DistinguishedName, Name, Sid
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: 7
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -IncludePermissionType
|
|
||||||
{{ Fill IncludePermissionType Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: GPPermissionType[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: None, GpoApply, GpoRead, GpoEdit, GpoEditDeleteModifySecurity, GpoCustom, WmiFilterEdit, WmiFilterFullControl, WmiFilterCustom, StarterGpoRead, StarterGpoEdit, StarterGpoFullControl, StarterGpoCustom, SomCreateWmiFilter, SomWmiFilterFullControl, SomCreateGpo, SomCreateStarterGpo, SomLogging, SomPlanning, SomLink
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: 1
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -PermitType
|
|
||||||
{{ Fill PermitType Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: Allow, Deny, All
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: 3
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Principal
|
|
||||||
{{ Fill Principal Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: 4
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -PrincipalType
|
|
||||||
{{ Fill PrincipalType Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: DistinguishedName, Name, Sid
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: 5
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Type
|
|
||||||
{{ Fill Type Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: Unknown, NotWellKnown, NotWellKnownAdministrative, Administrative, NotAdministrative, All
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: 0
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
### None
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
### System.Object
|
|
||||||
## NOTES
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
+228
-245
@@ -1,245 +1,228 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Remove-GPOZaurr
|
||||||
# Remove-GPOZaurr
|
## SYNOPSIS
|
||||||
|
Removes Group Policy Objects based on specified criteria.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Remove-GPOZaurr [-Type] <string[]> [[-ExcludeGroupPolicies] <scriptblock>] [-LimitProcessing <int>] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-GPOPath <string[]>] [-BackupPath <string>] [-BackupDated] [-RequireDays <int>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Remove-GPOZaurr [[-ExcludeGroupPolicies] <ScriptBlock>] [-Type] <String[]> [-LimitProcessing <Int32>]
|
|
||||||
[-Forest <String>] [-ExcludeDomains <String[]>] [-IncludeDomains <String[]>]
|
## DESCRIPTION
|
||||||
[-ExtendedForestInformation <IDictionary>] [-GPOPath <String[]>] [-BackupPath <String>] [-BackupDated]
|
The Remove-GPOZaurr function removes Group Policy Objects (GPOs) based on the specified criteria. It allows for filtering by various parameters such as GPO type, forest, domains, and more.
|
||||||
[-RequireDays <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
|
||||||
```
|
## EXAMPLES
|
||||||
|
|
||||||
## DESCRIPTION
|
### EXAMPLE 1
|
||||||
{{ Fill in the Description }}
|
```powershell
|
||||||
|
PS > Remove-GPOZaurr -Type 'Empty' -Forest 'Contoso' -IncludeDomains 'Domain1', 'Domain2' -BackupPath 'C:\GPOBackups' -BackupDated -RequireDays 7
|
||||||
## EXAMPLES
|
Removes all empty GPOs from the 'Contoso' forest for 'Domain1' and 'Domain2', backs them up to 'C:\GPOBackups' with dated folders, and requires removal after 7 days.
|
||||||
|
```
|
||||||
### Example 1
|
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
### EXAMPLE 2
|
||||||
```
|
```powershell
|
||||||
|
PS > Remove-GPOZaurr -Type 'Disabled' -Forest 'Fabrikam' -ExcludeDomains 'Domain3' -LimitProcessing 10
|
||||||
{{ Add example description here }}
|
Removes all disabled GPOs from the 'Fabrikam' forest excluding 'Domain3' and processes only the first 10 GPOs.
|
||||||
|
```
|
||||||
## PARAMETERS
|
|
||||||
|
|
||||||
### -BackupDated
|
## PARAMETERS
|
||||||
{{ Fill BackupDated Description }}
|
|
||||||
|
### -BackupDated
|
||||||
```yaml
|
Indicates whether the backup should be dated.
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
```yaml
|
||||||
Aliases:
|
Type: SwitchParameter
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
Required: False
|
Aliases:
|
||||||
Position: Named
|
Possible values:
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
Required: False
|
||||||
Accept wildcard characters: False
|
Position: named
|
||||||
```
|
Default value: False
|
||||||
|
Accept pipeline input: False
|
||||||
### -BackupPath
|
Accept wildcard characters: True
|
||||||
{{ Fill BackupPath Description }}
|
```
|
||||||
|
|
||||||
```yaml
|
### -BackupPath
|
||||||
Type: String
|
Specifies the path for backing up GPOs before removal.
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
```yaml
|
||||||
|
Type: String
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: Named
|
Aliases:
|
||||||
Default value: None
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: named
|
||||||
|
Default value: None
|
||||||
### -Confirm
|
Accept pipeline input: False
|
||||||
Prompts you for confirmation before running the cmdlet.
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
### -ExcludeDomains
|
||||||
Parameter Sets: (All)
|
Specifies the domains to exclude from GPO removal.
|
||||||
Aliases: cf
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: String[]
|
||||||
Position: Named
|
Parameter Sets: __AllParameterSets
|
||||||
Default value: None
|
Aliases:
|
||||||
Accept pipeline input: False
|
Possible values:
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: named
|
||||||
### -ExcludeDomains
|
Default value: None
|
||||||
{{ Fill ExcludeDomains Description }}
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
### -ExcludeGroupPolicies
|
||||||
Aliases:
|
Specifies the Group Policies to exclude from removal.
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: Named
|
Type: ScriptBlock
|
||||||
Default value: None
|
Parameter Sets: __AllParameterSets
|
||||||
Accept pipeline input: False
|
Aliases:
|
||||||
Accept wildcard characters: False
|
Possible values:
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### -ExcludeGroupPolicies
|
Position: 1
|
||||||
{{ Fill ExcludeGroupPolicies Description }}
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
```yaml
|
Accept wildcard characters: True
|
||||||
Type: ScriptBlock
|
```
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
### -ExtendedForestInformation
|
||||||
|
Specifies additional information about the forest.
|
||||||
Required: False
|
|
||||||
Position: 1
|
```yaml
|
||||||
Default value: None
|
Type: IDictionary
|
||||||
Accept pipeline input: False
|
Parameter Sets: __AllParameterSets
|
||||||
Accept wildcard characters: False
|
Aliases:
|
||||||
```
|
Possible values:
|
||||||
|
|
||||||
### -ExtendedForestInformation
|
Required: False
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
Position: named
|
||||||
|
Default value: None
|
||||||
```yaml
|
Accept pipeline input: False
|
||||||
Type: IDictionary
|
Accept wildcard characters: True
|
||||||
Parameter Sets: (All)
|
```
|
||||||
Aliases:
|
|
||||||
|
### -Forest
|
||||||
Required: False
|
Specifies the forest to target for GPO removal.
|
||||||
Position: Named
|
|
||||||
Default value: None
|
```yaml
|
||||||
Accept pipeline input: False
|
Type: String
|
||||||
Accept wildcard characters: False
|
Parameter Sets: __AllParameterSets
|
||||||
```
|
Aliases: ForestName
|
||||||
|
Possible values:
|
||||||
### -Forest
|
|
||||||
{{ Fill Forest Description }}
|
Required: False
|
||||||
|
Position: named
|
||||||
```yaml
|
Default value: None
|
||||||
Type: String
|
Accept pipeline input: False
|
||||||
Parameter Sets: (All)
|
Accept wildcard characters: True
|
||||||
Aliases: ForestName
|
```
|
||||||
|
|
||||||
Required: False
|
### -GPOPath
|
||||||
Position: Named
|
Specifies the path to the GPOs to be removed.
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
```yaml
|
||||||
Accept wildcard characters: False
|
Type: String[]
|
||||||
```
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
### -GPOPath
|
Possible values:
|
||||||
{{ Fill GPOPath Description }}
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: named
|
||||||
Type: String[]
|
Default value: None
|
||||||
Parameter Sets: (All)
|
Accept pipeline input: False
|
||||||
Aliases:
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
Required: False
|
|
||||||
Position: Named
|
### -IncludeDomains
|
||||||
Default value: None
|
Specifies the domains to include for GPO removal.
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
```yaml
|
||||||
```
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
### -IncludeDomains
|
Aliases: Domain, Domains
|
||||||
{{ Fill IncludeDomains Description }}
|
Possible values:
|
||||||
|
|
||||||
```yaml
|
Required: False
|
||||||
Type: String[]
|
Position: named
|
||||||
Parameter Sets: (All)
|
Default value: None
|
||||||
Aliases: Domain, Domains
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
Required: False
|
```
|
||||||
Position: Named
|
|
||||||
Default value: None
|
### -LimitProcessing
|
||||||
Accept pipeline input: False
|
Specifies the maximum number of GPOs to process before stopping.
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
```yaml
|
||||||
|
Type: Int32
|
||||||
### -LimitProcessing
|
Parameter Sets: __AllParameterSets
|
||||||
{{ Fill LimitProcessing Description }}
|
Aliases:
|
||||||
|
Possible values:
|
||||||
```yaml
|
|
||||||
Type: Int32
|
Required: False
|
||||||
Parameter Sets: (All)
|
Position: named
|
||||||
Aliases:
|
Default value: 0
|
||||||
|
Accept pipeline input: False
|
||||||
Required: False
|
Accept wildcard characters: True
|
||||||
Position: Named
|
```
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
### -RequireDays
|
||||||
Accept wildcard characters: False
|
Specifies the number of days before GPO removal is required.
|
||||||
```
|
|
||||||
|
```yaml
|
||||||
### -RequireDays
|
Type: Int32
|
||||||
{{ Fill RequireDays Description }}
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
```yaml
|
Possible values:
|
||||||
Type: Int32
|
|
||||||
Parameter Sets: (All)
|
Required: False
|
||||||
Aliases:
|
Position: named
|
||||||
|
Default value: 0
|
||||||
Required: False
|
Accept pipeline input: False
|
||||||
Position: Named
|
Accept wildcard characters: True
|
||||||
Default value: None
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -Type
|
||||||
```
|
Specifies the type of GPOs to target for removal. Valid values are 'Empty', 'Unlinked', 'Disabled', 'NoApplyPermission'.
|
||||||
|
|
||||||
### -Type
|
```yaml
|
||||||
{{ Fill Type Description }}
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases:
|
||||||
Type: String[]
|
Possible values: Empty, Unlinked, Disabled, NoApplyPermission
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
Required: True
|
||||||
Accepted values: Empty, Unlinked, Disabled, NoApplyPermission
|
Position: 0
|
||||||
|
Default value: None
|
||||||
Required: True
|
Accept pipeline input: False
|
||||||
Position: 0
|
Accept wildcard characters: True
|
||||||
Default value: None
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### CommonParameters
|
||||||
```
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
### -WhatIf
|
## INPUTS
|
||||||
Shows what would happen if the cmdlet runs.
|
|
||||||
The cmdlet is not run.
|
- `None`
|
||||||
|
|
||||||
```yaml
|
## OUTPUTS
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
- `None`
|
||||||
Aliases: wi
|
|
||||||
|
## RELATED LINKS
|
||||||
Required: False
|
|
||||||
Position: Named
|
- None
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
### None
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
### System.Object
|
|
||||||
## NOTES
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
+185
-208
@@ -1,210 +1,187 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Remove-GPOZaurrBroken
|
||||||
# Remove-GPOZaurrBroken
|
## SYNOPSIS
|
||||||
|
Finds and removes broken Group Policies from SYSVOL or AD or both.
|
||||||
## SYNOPSIS
|
|
||||||
Finds and removes broken Group Policies from SYSVOL or AD or both.
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Remove-GPOZaurrBroken [-Type] <string[]> [-BackupPath <string>] [-BackupDated] [-LimitProcessing <int>] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Remove-GPOZaurrBroken [-Type] <String[]> [-BackupPath <String>] [-BackupDated] [-LimitProcessing <Int32>]
|
|
||||||
[-Forest <String>] [-ExcludeDomains <String[]>] [-IncludeDomains <String[]>]
|
## DESCRIPTION
|
||||||
[-ExtendedForestInformation <IDictionary>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
Finds and removes broken Group Policies from SYSVOL or AD or both. Assesment is based on Get-GPOZaurrBroken and there are 3 supported types:
|
||||||
```
|
|
||||||
|
|
||||||
## DESCRIPTION
|
|
||||||
Finds and removes broken Group Policies from SYSVOL or AD or both.
|
|
||||||
Assesment is based on Get-GPOZaurrBroken and there are 3 supported types:
|
|
||||||
- AD - meaning GPOs which have no SYSVOL content will be deleted from AD
|
- AD - meaning GPOs which have no SYSVOL content will be deleted from AD
|
||||||
- SYSVOL - meaning GPOs which have no AD content will be deleted from SYSVOL
|
- SYSVOL - meaning GPOs which have no AD content will be deleted from SYSVOL
|
||||||
- ObjectClass - meaning GPOs which have ObjectClass category of Container rather than groupPolicyContainer will be deleted from AD & SYSVOL
|
- ObjectClass - meaning GPOs which have ObjectClass category of Container rather than groupPolicyContainer will be deleted from AD & SYSVOL
|
||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
### EXAMPLE 1
|
### EXAMPLE 1
|
||||||
```
|
```powershell
|
||||||
Remove-GPOZaurrBroken -Verbose -WhatIf -Type AD, SYSVOL
|
PS > Remove-GPOZaurrBroken -Verbose -WhatIf -Type AD, SYSVOL
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 2
|
|
||||||
```
|
### EXAMPLE 2
|
||||||
Remove-GPOZaurrBroken -Verbose -WhatIf -Type AD, SYSVOL -IncludeDomains 'ad.evotec.pl' -LimitProcessing 2
|
```powershell
|
||||||
```
|
PS > Remove-GPOZaurrBroken -Verbose -WhatIf -Type AD, SYSVOL -IncludeDomains 'ad.evotec.pl' -LimitProcessing 2
|
||||||
|
```
|
||||||
### EXAMPLE 3
|
|
||||||
```
|
|
||||||
Remove-GPOZaurrBroken -Verbose -IncludeDomains 'ad.evotec.xyz' -BackupPath $Env:UserProfile\Desktop\MyBackup1 -WhatIf -Type AD, SYSVOL
|
### EXAMPLE 3
|
||||||
```
|
```powershell
|
||||||
|
PS > Remove-GPOZaurrBroken -Verbose -IncludeDomains 'ad.evotec.xyz' -BackupPath $Env:UserProfile\Desktop\MyBackup1 -WhatIf -Type AD, SYSVOL
|
||||||
## PARAMETERS
|
```
|
||||||
|
|
||||||
### -Type
|
|
||||||
Choose one or more types to delete.
|
## PARAMETERS
|
||||||
Options are AD, ObjectClass, SYSVOL
|
|
||||||
|
### -BackupDated
|
||||||
```yaml
|
Forces backup to be created within folder that has date in it
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
```yaml
|
||||||
Aliases:
|
Type: SwitchParameter
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
Required: True
|
Aliases:
|
||||||
Position: 1
|
Possible values:
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
Required: False
|
||||||
Accept wildcard characters: False
|
Position: named
|
||||||
```
|
Default value: False
|
||||||
|
Accept pipeline input: False
|
||||||
### -BackupPath
|
Accept wildcard characters: True
|
||||||
Path to optional backup of SYSVOL content before deletion
|
```
|
||||||
|
|
||||||
```yaml
|
### -BackupPath
|
||||||
Type: String
|
Path to optional backup of SYSVOL content before deletion
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
```yaml
|
||||||
|
Type: String
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: Named
|
Aliases:
|
||||||
Default value: None
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: named
|
||||||
|
Default value: None
|
||||||
### -BackupDated
|
Accept pipeline input: False
|
||||||
Forces backup to be created within folder that has date in it
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
### -ExcludeDomains
|
||||||
Parameter Sets: (All)
|
Exclude domain from search, by default whole forest is scanned
|
||||||
Aliases:
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: String[]
|
||||||
Position: Named
|
Parameter Sets: __AllParameterSets
|
||||||
Default value: False
|
Aliases:
|
||||||
Accept pipeline input: False
|
Possible values:
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: named
|
||||||
### -LimitProcessing
|
Default value: None
|
||||||
Allows to specify maximum number of items that will be fixed in a single run.
|
Accept pipeline input: False
|
||||||
It doesn't affect amount of GPOs processed
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: Int32
|
### -ExtendedForestInformation
|
||||||
Parameter Sets: (All)
|
Ability to provide Forest Information from another command to speed up processing
|
||||||
Aliases:
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: IDictionary
|
||||||
Position: Named
|
Parameter Sets: __AllParameterSets
|
||||||
Default value: 2147483647
|
Aliases:
|
||||||
Accept pipeline input: False
|
Possible values:
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: named
|
||||||
### -Forest
|
Default value: None
|
||||||
Target different Forest, by default current forest is used
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
### -Forest
|
||||||
Aliases: ForestName
|
Target different Forest, by default current forest is used
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: Named
|
Type: String
|
||||||
Default value: None
|
Parameter Sets: __AllParameterSets
|
||||||
Accept pipeline input: False
|
Aliases: ForestName
|
||||||
Accept wildcard characters: False
|
Possible values:
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### -ExcludeDomains
|
Position: named
|
||||||
Exclude domain from search, by default whole forest is scanned
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
```yaml
|
Accept wildcard characters: True
|
||||||
Type: String[]
|
```
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
### -IncludeDomains
|
||||||
|
Include only specific domains, by default whole forest is scanned
|
||||||
Required: False
|
|
||||||
Position: Named
|
```yaml
|
||||||
Default value: None
|
Type: String[]
|
||||||
Accept pipeline input: False
|
Parameter Sets: __AllParameterSets
|
||||||
Accept wildcard characters: False
|
Aliases: Domain, Domains
|
||||||
```
|
Possible values:
|
||||||
|
|
||||||
### -IncludeDomains
|
Required: False
|
||||||
Include only specific domains, by default whole forest is scanned
|
Position: named
|
||||||
|
Default value: None
|
||||||
```yaml
|
Accept pipeline input: False
|
||||||
Type: String[]
|
Accept wildcard characters: True
|
||||||
Parameter Sets: (All)
|
```
|
||||||
Aliases: Domain, Domains
|
|
||||||
|
### -LimitProcessing
|
||||||
Required: False
|
Allows to specify maximum number of items that will be fixed in a single run. It doesn't affect amount of GPOs processed
|
||||||
Position: Named
|
|
||||||
Default value: None
|
```yaml
|
||||||
Accept pipeline input: False
|
Type: Int32
|
||||||
Accept wildcard characters: False
|
Parameter Sets: __AllParameterSets
|
||||||
```
|
Aliases:
|
||||||
|
Possible values:
|
||||||
### -ExtendedForestInformation
|
|
||||||
Ability to provide Forest Information from another command to speed up processing
|
Required: False
|
||||||
|
Position: named
|
||||||
```yaml
|
Default value: 2147483647
|
||||||
Type: IDictionary
|
Accept pipeline input: False
|
||||||
Parameter Sets: (All)
|
Accept wildcard characters: True
|
||||||
Aliases:
|
```
|
||||||
|
|
||||||
Required: False
|
### -Type
|
||||||
Position: Named
|
Choose one or more types to delete. Options are AD, ObjectClass, SYSVOL
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
```yaml
|
||||||
Accept wildcard characters: False
|
Type: String[]
|
||||||
```
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
### -WhatIf
|
Possible values: SYSVOL, AD, ObjectClass
|
||||||
Shows what would happen if the cmdlet runs.
|
|
||||||
The cmdlet is not run.
|
Required: True
|
||||||
|
Position: 0
|
||||||
```yaml
|
Default value: None
|
||||||
Type: SwitchParameter
|
Accept pipeline input: False
|
||||||
Parameter Sets: (All)
|
Accept wildcard characters: True
|
||||||
Aliases: wi
|
```
|
||||||
|
|
||||||
Required: False
|
### CommonParameters
|
||||||
Position: Named
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
## INPUTS
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
- `None`
|
||||||
|
|
||||||
### -Confirm
|
## OUTPUTS
|
||||||
Prompts you for confirmation before running the cmdlet.
|
|
||||||
|
- `None`
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
## RELATED LINKS
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: cf
|
- None
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
## NOTES
|
|
||||||
General notes
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
@@ -1,153 +1,126 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Remove-GPOZaurrDuplicateObject
|
||||||
# Remove-GPOZaurrDuplicateObject
|
## SYNOPSIS
|
||||||
|
Removes duplicate Group Policy Objects (GPOs) identified by the Get-GPOZaurrDuplicateObject function.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Remove-GPOZaurrDuplicateObject [[-LimitProcessing] <int>] [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Remove-GPOZaurrDuplicateObject [[-LimitProcessing] <Int32>] [[-Forest] <String>] [[-ExcludeDomains] <String[]>]
|
|
||||||
[[-IncludeDomains] <String[]>] [[-ExtendedForestInformation] <IDictionary>] [-WhatIf] [-Confirm]
|
## DESCRIPTION
|
||||||
[<CommonParameters>]
|
This function removes duplicate GPOs based on the criteria provided. It retrieves duplicate GPO objects using Get-GPOZaurrDuplicateObject and then attempts to remove them from the Active Directory.
|
||||||
```
|
|
||||||
|
## EXAMPLES
|
||||||
## DESCRIPTION
|
|
||||||
{{ Fill in the Description }}
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
## EXAMPLES
|
PS > Remove-GPOZaurrDuplicateObject -Forest "contoso.com" -IncludeDomains "domain1.com", "domain2.com" -ExcludeDomains "domain3.com" -LimitProcessing 5
|
||||||
|
```
|
||||||
### Example 1
|
|
||||||
```powershell
|
Description:
|
||||||
PS C:\> {{ Add example code here }}
|
Removes duplicate GPOs from the forest "contoso.com" for domains "domain1.com" and "domain2.com", excluding "domain3.com", processing only the first 5 duplicates.
|
||||||
```
|
|
||||||
|
## PARAMETERS
|
||||||
{{ Add example description here }}
|
|
||||||
|
### -ExcludeDomains
|
||||||
## PARAMETERS
|
Specifies an array of domains to exclude from the duplicate GPO removal process.
|
||||||
|
|
||||||
### -Confirm
|
```yaml
|
||||||
Prompts you for confirmation before running the cmdlet.
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases:
|
||||||
Type: SwitchParameter
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: cf
|
Required: False
|
||||||
|
Position: 2
|
||||||
Required: False
|
Default value: None
|
||||||
Position: Named
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -ExtendedForestInformation
|
||||||
|
Specifies additional information about the forest.
|
||||||
### -ExcludeDomains
|
|
||||||
{{ Fill ExcludeDomains Description }}
|
```yaml
|
||||||
|
Type: IDictionary
|
||||||
```yaml
|
Parameter Sets: __AllParameterSets
|
||||||
Type: String[]
|
Aliases:
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: 4
|
||||||
Position: 2
|
Default value: None
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -Forest
|
||||||
### -ExtendedForestInformation
|
Specifies the forest where the duplicate GPOs are located.
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String
|
||||||
Type: IDictionary
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases: ForestName
|
||||||
Aliases:
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 4
|
Position: 1
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -Forest
|
### -IncludeDomains
|
||||||
{{ Fill Forest Description }}
|
Specifies an array of domains to include in the duplicate GPO removal process.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: String
|
Type: String[]
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases: ForestName
|
Aliases: Domain, Domains
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 1
|
Required: False
|
||||||
Default value: None
|
Position: 3
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -IncludeDomains
|
|
||||||
{{ Fill IncludeDomains Description }}
|
### -LimitProcessing
|
||||||
|
Specifies the maximum number of duplicate GPOs to process. Default is set to [int32]::MaxValue.
|
||||||
```yaml
|
|
||||||
Type: String[]
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: Int32
|
||||||
Aliases: Domain, Domains
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
Required: False
|
Possible values:
|
||||||
Position: 3
|
|
||||||
Default value: None
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: 0
|
||||||
Accept wildcard characters: False
|
Default value: 2147483647
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -LimitProcessing
|
```
|
||||||
{{ Fill LimitProcessing Description }}
|
|
||||||
|
### CommonParameters
|
||||||
```yaml
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
Type: Int32
|
|
||||||
Parameter Sets: (All)
|
## INPUTS
|
||||||
Aliases:
|
|
||||||
|
- `None`
|
||||||
Required: False
|
|
||||||
Position: 0
|
## OUTPUTS
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
- `None`
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
## RELATED LINKS
|
||||||
|
|
||||||
### -WhatIf
|
- None
|
||||||
Shows what would happen if the cmdlet runs.
|
|
||||||
The cmdlet is not run.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: wi
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
### None
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
### System.Object
|
|
||||||
## NOTES
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
+205
-231
@@ -1,231 +1,205 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Remove-GPOZaurrFolders
|
||||||
# Remove-GPOZaurrFolders
|
## SYNOPSIS
|
||||||
|
Removes specified GPOZaurr folders and backs them up to a specified path.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Remove-GPOZaurrFolders [[-BackupPath] <string>] [[-Type] <string[]>] [-FolderType] <string> [[-FolderName] <string[]>] [[-LimitProcessing] <int>] [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [-BackupDated] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Remove-GPOZaurrFolders [[-BackupPath] <String>] [-BackupDated] [[-Type] <String[]>] [-FolderType] <String>
|
|
||||||
[[-FolderName] <String[]>] [[-LimitProcessing] <Int32>] [[-Forest] <String>] [[-ExcludeDomains] <String[]>]
|
## DESCRIPTION
|
||||||
[[-IncludeDomains] <String[]>] [[-ExtendedForestInformation] <IDictionary>] [-WhatIf] [-Confirm]
|
This function removes specified GPOZaurr folders based on the provided criteria and backs them up to a specified path. It allows for filtering by folder type, domain, and other parameters.
|
||||||
[<CommonParameters>]
|
|
||||||
```
|
## EXAMPLES
|
||||||
|
|
||||||
## DESCRIPTION
|
### EXAMPLE 1
|
||||||
{{ Fill in the Description }}
|
```powershell
|
||||||
|
PS > Remove-GPOZaurrFolders -BackupPath "C:\Backups" -BackupDated -Type 'All' -FolderType 'NTFRS' -FolderName "Folder1" -LimitProcessing 10 -Forest "ExampleForest" -ExcludeDomains "Domain1" -IncludeDomains "Domain2" -ExtendedForestInformation $info
|
||||||
## EXAMPLES
|
Removes GPOZaurr folders of type 'NTFRS' named "Folder1" from all domains in the forest "ExampleForest", backs them up to "C:\Backups" with a timestamp, and limits processing to 10 folders.
|
||||||
|
```
|
||||||
### Example 1
|
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
## PARAMETERS
|
||||||
```
|
|
||||||
|
### -BackupDated
|
||||||
{{ Add example description here }}
|
Indicates whether the backup path should include a timestamp.
|
||||||
|
|
||||||
## PARAMETERS
|
```yaml
|
||||||
|
Type: SwitchParameter
|
||||||
### -BackupDated
|
Parameter Sets: __AllParameterSets
|
||||||
{{ Fill BackupDated Description }}
|
Aliases:
|
||||||
|
Possible values:
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
Required: False
|
||||||
Parameter Sets: (All)
|
Position: named
|
||||||
Aliases:
|
Default value: False
|
||||||
|
Accept pipeline input: False
|
||||||
Required: False
|
Accept wildcard characters: True
|
||||||
Position: Named
|
```
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
### -BackupPath
|
||||||
Accept wildcard characters: False
|
The path where the GPOZaurr folders will be backed up.
|
||||||
```
|
|
||||||
|
```yaml
|
||||||
### -BackupPath
|
Type: String
|
||||||
{{ Fill BackupPath Description }}
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
```yaml
|
Possible values:
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
Required: False
|
||||||
Aliases:
|
Position: 0
|
||||||
|
Default value: None
|
||||||
Required: False
|
Accept pipeline input: False
|
||||||
Position: 0
|
Accept wildcard characters: True
|
||||||
Default value: None
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -ExcludeDomains
|
||||||
```
|
Specifies domains to exclude from processing.
|
||||||
|
|
||||||
### -Confirm
|
```yaml
|
||||||
Prompts you for confirmation before running the cmdlet.
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases:
|
||||||
Type: SwitchParameter
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: cf
|
Required: False
|
||||||
|
Position: 6
|
||||||
Required: False
|
Default value: None
|
||||||
Position: Named
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -ExtendedForestInformation
|
||||||
|
Specifies additional forest information.
|
||||||
### -ExcludeDomains
|
|
||||||
{{ Fill ExcludeDomains Description }}
|
```yaml
|
||||||
|
Type: IDictionary
|
||||||
```yaml
|
Parameter Sets: __AllParameterSets
|
||||||
Type: String[]
|
Aliases:
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: 8
|
||||||
Position: 6
|
Default value: None
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -FolderName
|
||||||
### -ExtendedForestInformation
|
Specifies the name of the folder to remove.
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String[]
|
||||||
Type: IDictionary
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases:
|
||||||
Aliases:
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 8
|
Position: 3
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -FolderName
|
### -FolderType
|
||||||
{{ Fill FolderName Description }}
|
Specifies the type of folders to remove. Options are 'NTFRS' or 'Empty'.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: String[]
|
Type: String
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases:
|
Aliases:
|
||||||
|
Possible values: NTFRS, Empty
|
||||||
Required: False
|
|
||||||
Position: 3
|
Required: True
|
||||||
Default value: None
|
Position: 2
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -FolderType
|
|
||||||
{{ Fill FolderType Description }}
|
### -Forest
|
||||||
|
Specifies the forest to target.
|
||||||
```yaml
|
|
||||||
Type: String
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: String
|
||||||
Aliases:
|
Parameter Sets: __AllParameterSets
|
||||||
Accepted values: NTFRS, Empty
|
Aliases: ForestName
|
||||||
|
Possible values:
|
||||||
Required: True
|
|
||||||
Position: 2
|
Required: False
|
||||||
Default value: None
|
Position: 5
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -Forest
|
|
||||||
{{ Fill Forest Description }}
|
### -IncludeDomains
|
||||||
|
Specifies domains to include in processing.
|
||||||
```yaml
|
|
||||||
Type: String
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: String[]
|
||||||
Aliases: ForestName
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases: Domain, Domains
|
||||||
Required: False
|
Possible values:
|
||||||
Position: 5
|
|
||||||
Default value: None
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: 7
|
||||||
Accept wildcard characters: False
|
Default value: None
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -IncludeDomains
|
```
|
||||||
{{ Fill IncludeDomains Description }}
|
|
||||||
|
### -LimitProcessing
|
||||||
```yaml
|
Limits the number of folders to process.
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
```yaml
|
||||||
Aliases: Domain, Domains
|
Type: Int32
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
Required: False
|
Aliases:
|
||||||
Position: 7
|
Possible values:
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
Required: False
|
||||||
Accept wildcard characters: False
|
Position: 4
|
||||||
```
|
Default value: 2147483647
|
||||||
|
Accept pipeline input: False
|
||||||
### -LimitProcessing
|
Accept wildcard characters: True
|
||||||
{{ Fill LimitProcessing Description }}
|
```
|
||||||
|
|
||||||
```yaml
|
### -Type
|
||||||
Type: Int32
|
Specifies the type of folders to remove. Options are 'All', 'Netlogon', or 'Sysvol'.
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
```yaml
|
||||||
|
Type: String[]
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: 4
|
Aliases:
|
||||||
Default value: None
|
Possible values: All, Netlogon, Sysvol
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: 1
|
||||||
|
Default value: All
|
||||||
### -Type
|
Accept pipeline input: False
|
||||||
{{ Fill Type Description }}
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: String[]
|
### CommonParameters
|
||||||
Parameter Sets: (All)
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
Aliases:
|
|
||||||
Accepted values: All, Netlogon, Sysvol
|
## INPUTS
|
||||||
|
|
||||||
Required: False
|
- `None`
|
||||||
Position: 1
|
|
||||||
Default value: None
|
## OUTPUTS
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
- `None`
|
||||||
```
|
|
||||||
|
## RELATED LINKS
|
||||||
### -WhatIf
|
|
||||||
Shows what would happen if the cmdlet runs.
|
- None
|
||||||
The cmdlet is not run.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: wi
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
### None
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
### System.Object
|
|
||||||
## NOTES
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
+157
-183
@@ -1,183 +1,157 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Remove-GPOZaurrLegacyFiles
|
||||||
# Remove-GPOZaurrLegacyFiles
|
## SYNOPSIS
|
||||||
|
Removes legacy Group Policy Objects (GPO) files from specified domains.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Remove-GPOZaurrLegacyFiles [[-BackupPath] <string>] [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-LimitProcessing] <int>] [-BackupDated] [-RemoveEmptyFolders] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Remove-GPOZaurrLegacyFiles [[-BackupPath] <String>] [-BackupDated] [-RemoveEmptyFolders] [[-Forest] <String>]
|
|
||||||
[[-ExcludeDomains] <String[]>] [[-IncludeDomains] <String[]>] [[-LimitProcessing] <Int32>] [-WhatIf]
|
## DESCRIPTION
|
||||||
[-Confirm] [<CommonParameters>]
|
The Remove-GPOZaurrLegacyFiles function removes legacy GPO files from specified domains. It can back up the files before removal and optionally remove empty folders.
|
||||||
```
|
|
||||||
|
## EXAMPLES
|
||||||
## DESCRIPTION
|
|
||||||
{{ Fill in the Description }}
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
## EXAMPLES
|
PS > Remove-GPOZaurrLegacyFiles -BackupPath "C:\GPOBackups" -BackupDated -RemoveEmptyFolders -Forest "Contoso" -IncludeDomains "Domain1", "Domain2" -ExcludeDomains "Domain3" -LimitProcessing 100
|
||||||
|
Removes legacy GPO files from the "Contoso" forest for "Domain1" and "Domain2", excluding "Domain3". Backs up files to "C:\GPOBackups" with timestamps and removes empty folders after deletion.
|
||||||
### Example 1
|
```
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
|
||||||
```
|
## PARAMETERS
|
||||||
|
|
||||||
{{ Add example description here }}
|
### -BackupDated
|
||||||
|
Indicates whether backup files should be timestamped with the current date and time.
|
||||||
## PARAMETERS
|
|
||||||
|
```yaml
|
||||||
### -BackupDated
|
Type: SwitchParameter
|
||||||
{{ Fill BackupDated Description }}
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
```yaml
|
Possible values:
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
Required: False
|
||||||
Aliases:
|
Position: named
|
||||||
|
Default value: False
|
||||||
Required: False
|
Accept pipeline input: False
|
||||||
Position: Named
|
Accept wildcard characters: True
|
||||||
Default value: None
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -BackupPath
|
||||||
```
|
Specifies the path where backup files will be stored.
|
||||||
|
|
||||||
### -BackupPath
|
```yaml
|
||||||
{{ Fill BackupPath Description }}
|
Type: String
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases:
|
||||||
Type: String
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
Required: False
|
||||||
|
Position: 0
|
||||||
Required: False
|
Default value: None
|
||||||
Position: 0
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -ExcludeDomains
|
||||||
|
Specifies an array of domains to exclude from processing.
|
||||||
### -Confirm
|
|
||||||
Prompts you for confirmation before running the cmdlet.
|
```yaml
|
||||||
|
Type: String[]
|
||||||
```yaml
|
Parameter Sets: __AllParameterSets
|
||||||
Type: SwitchParameter
|
Aliases:
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases: cf
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: 2
|
||||||
Position: Named
|
Default value: None
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -Forest
|
||||||
### -ExcludeDomains
|
Specifies the forest where the GPO files are located.
|
||||||
{{ Fill ExcludeDomains Description }}
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String
|
||||||
Type: String[]
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases: ForestName
|
||||||
Aliases:
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 2
|
Position: 1
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -Forest
|
### -IncludeDomains
|
||||||
{{ Fill Forest Description }}
|
Specifies an array of domains to include for processing.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: String
|
Type: String[]
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases: ForestName
|
Aliases: Domain, Domains
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 1
|
Required: False
|
||||||
Default value: None
|
Position: 3
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -IncludeDomains
|
|
||||||
{{ Fill IncludeDomains Description }}
|
### -LimitProcessing
|
||||||
|
Specifies the maximum number of GPO files to process.
|
||||||
```yaml
|
|
||||||
Type: String[]
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: Int32
|
||||||
Aliases: Domain, Domains
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
Required: False
|
Possible values:
|
||||||
Position: 3
|
|
||||||
Default value: None
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: 4
|
||||||
Accept wildcard characters: False
|
Default value: 2147483647
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -LimitProcessing
|
```
|
||||||
{{ Fill LimitProcessing Description }}
|
|
||||||
|
### -RemoveEmptyFolders
|
||||||
```yaml
|
Indicates whether empty folders should be removed after GPO files are deleted.
|
||||||
Type: Int32
|
|
||||||
Parameter Sets: (All)
|
```yaml
|
||||||
Aliases:
|
Type: SwitchParameter
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
Required: False
|
Aliases:
|
||||||
Position: 4
|
Possible values:
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
Required: False
|
||||||
Accept wildcard characters: False
|
Position: named
|
||||||
```
|
Default value: False
|
||||||
|
Accept pipeline input: False
|
||||||
### -RemoveEmptyFolders
|
Accept wildcard characters: True
|
||||||
{{ Fill RemoveEmptyFolders Description }}
|
```
|
||||||
|
|
||||||
```yaml
|
### CommonParameters
|
||||||
Type: SwitchParameter
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
## INPUTS
|
||||||
|
|
||||||
Required: False
|
- `None`
|
||||||
Position: Named
|
|
||||||
Default value: None
|
## OUTPUTS
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
- `None`
|
||||||
```
|
|
||||||
|
## RELATED LINKS
|
||||||
### -WhatIf
|
|
||||||
Shows what would happen if the cmdlet runs.
|
- None
|
||||||
The cmdlet is not run.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: wi
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
### None
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
### System.Object
|
|
||||||
## NOTES
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
+141
-168
@@ -1,168 +1,141 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Remove-GPOZaurrLinkEmptyOU
|
||||||
# Remove-GPOZaurrLinkEmptyOU
|
## SYNOPSIS
|
||||||
|
Removes Group Policy Object (GPO) links from empty Organizational Units (OUs) in a specified forest.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Remove-GPOZaurrLinkEmptyOU [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [[-ExcludeOrganizationalUnit] <string[]>] [[-LimitProcessing] <int>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Remove-GPOZaurrLinkEmptyOU [[-Forest] <String>] [[-ExcludeDomains] <String[]>] [[-IncludeDomains] <String[]>]
|
|
||||||
[[-ExtendedForestInformation] <IDictionary>] [[-ExcludeOrganizationalUnit] <String[]>]
|
## DESCRIPTION
|
||||||
[[-LimitProcessing] <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
This function removes GPO links from OUs that are empty and meet specified criteria. It processes OUs within the specified forest based on inclusion and exclusion rules.
|
||||||
```
|
|
||||||
|
## EXAMPLES
|
||||||
## DESCRIPTION
|
|
||||||
{{ Fill in the Description }}
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
## EXAMPLES
|
PS > Remove-GPOZaurrLinkEmptyOU -Forest "ContosoForest" -IncludeDomains @("domain1", "domain2") -ExcludeDomains @("domain3") -ExtendedForestInformation $info -ExcludeOrganizationalUnit @("OU=TestOU,DC=contoso,DC=com") -LimitProcessing 100
|
||||||
|
Removes GPO links from empty OUs in the "ContosoForest" forest, including domains "domain1" and "domain2" but excluding "domain3". Additional forest information is provided, and processing is limited to 100 OUs.
|
||||||
### Example 1
|
```
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
|
||||||
```
|
## PARAMETERS
|
||||||
|
|
||||||
{{ Add example description here }}
|
### -ExcludeDomains
|
||||||
|
Specifies an array of domains to exclude from processing.
|
||||||
## PARAMETERS
|
|
||||||
|
```yaml
|
||||||
### -Confirm
|
Type: String[]
|
||||||
Prompts you for confirmation before running the cmdlet.
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
```yaml
|
Possible values:
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
Required: False
|
||||||
Aliases: cf
|
Position: 1
|
||||||
|
Default value: None
|
||||||
Required: False
|
Accept pipeline input: False
|
||||||
Position: Named
|
Accept wildcard characters: True
|
||||||
Default value: None
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -ExcludeOrganizationalUnit
|
||||||
```
|
Specifies an array of OUs to exclude from processing.
|
||||||
|
|
||||||
### -ExcludeDomains
|
```yaml
|
||||||
{{ Fill ExcludeDomains Description }}
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases:
|
||||||
Type: String[]
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
Required: False
|
||||||
|
Position: 4
|
||||||
Required: False
|
Default value: None
|
||||||
Position: 1
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -ExtendedForestInformation
|
||||||
|
Specifies additional information about the forest.
|
||||||
### -ExcludeOrganizationalUnit
|
|
||||||
{{ Fill ExcludeOrganizationalUnit Description }}
|
```yaml
|
||||||
|
Type: IDictionary
|
||||||
```yaml
|
Parameter Sets: __AllParameterSets
|
||||||
Type: String[]
|
Aliases:
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: 3
|
||||||
Position: 4
|
Default value: None
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -Forest
|
||||||
### -ExtendedForestInformation
|
Specifies the name of the forest to target for processing.
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String
|
||||||
Type: IDictionary
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases: ForestName
|
||||||
Aliases:
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 3
|
Position: 0
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -Forest
|
### -IncludeDomains
|
||||||
{{ Fill Forest Description }}
|
Specifies an array of domains to include for processing.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: String
|
Type: String[]
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases: ForestName
|
Aliases: Domain, Domains
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 0
|
Required: False
|
||||||
Default value: None
|
Position: 2
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -IncludeDomains
|
|
||||||
{{ Fill IncludeDomains Description }}
|
### -LimitProcessing
|
||||||
|
Specifies the maximum number of OUs to process.
|
||||||
```yaml
|
|
||||||
Type: String[]
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: Int32
|
||||||
Aliases: Domain, Domains
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
Required: False
|
Possible values:
|
||||||
Position: 2
|
|
||||||
Default value: None
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: 5
|
||||||
Accept wildcard characters: False
|
Default value: 2147483647
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -LimitProcessing
|
```
|
||||||
{{ Fill LimitProcessing Description }}
|
|
||||||
|
### CommonParameters
|
||||||
```yaml
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
Type: Int32
|
|
||||||
Parameter Sets: (All)
|
## INPUTS
|
||||||
Aliases:
|
|
||||||
|
- `None`
|
||||||
Required: False
|
|
||||||
Position: 5
|
## OUTPUTS
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
- `None`
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
## RELATED LINKS
|
||||||
|
|
||||||
### -WhatIf
|
- None
|
||||||
Shows what would happen if the cmdlet runs.
|
|
||||||
The cmdlet is not run.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: wi
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
### None
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
### System.Object
|
|
||||||
## NOTES
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
@@ -1,313 +1,43 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Remove-GPOZaurrPermission
|
||||||
# Remove-GPOZaurrPermission
|
## SYNOPSIS
|
||||||
|
{{ Fill in the Synopsis }}
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
```powershell
|
||||||
## SYNTAX
|
Remove-GPOZaurrPermission
|
||||||
|
```
|
||||||
### Global (Default)
|
|
||||||
```
|
## DESCRIPTION
|
||||||
Remove-GPOZaurrPermission [-Principal <String[]>] [-PrincipalType <String>] [-Type <String[]>]
|
{{ Fill in the Description }}
|
||||||
[-IncludePermissionType <GPPermissionType[]>] [-ExcludePermissionType <GPPermissionType[]>] [-SkipWellKnown]
|
|
||||||
[-SkipAdministrative] [-Forest <String>] [-ExcludeDomains <String[]>] [-IncludeDomains <String[]>]
|
## EXAMPLES
|
||||||
[-ExtendedForestInformation <IDictionary>] [-LimitProcessing <Int32>] [-WhatIf] [-Confirm]
|
|
||||||
[<CommonParameters>]
|
### EXAMPLE 1
|
||||||
```
|
```powershell
|
||||||
|
Remove-GPOZaurrPermission
|
||||||
### GPOName
|
```
|
||||||
```
|
|
||||||
Remove-GPOZaurrPermission -GPOName <String> [-Principal <String[]>] [-PrincipalType <String>]
|
|
||||||
[-Type <String[]>] [-IncludePermissionType <GPPermissionType[]>] [-ExcludePermissionType <GPPermissionType[]>]
|
## PARAMETERS
|
||||||
[-SkipWellKnown] [-SkipAdministrative] [-Forest <String>] [-ExcludeDomains <String[]>]
|
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-LimitProcessing <Int32>] [-WhatIf]
|
### CommonParameters
|
||||||
[-Confirm] [<CommonParameters>]
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
```
|
|
||||||
|
## INPUTS
|
||||||
### GPOGUID
|
|
||||||
```
|
- `None`
|
||||||
Remove-GPOZaurrPermission -GPOGuid <String> [-Principal <String[]>] [-PrincipalType <String>]
|
|
||||||
[-Type <String[]>] [-IncludePermissionType <GPPermissionType[]>] [-ExcludePermissionType <GPPermissionType[]>]
|
## OUTPUTS
|
||||||
[-SkipWellKnown] [-SkipAdministrative] [-Forest <String>] [-ExcludeDomains <String[]>]
|
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-LimitProcessing <Int32>] [-WhatIf]
|
- `None`
|
||||||
[-Confirm] [<CommonParameters>]
|
|
||||||
```
|
## RELATED LINKS
|
||||||
|
|
||||||
## DESCRIPTION
|
- None
|
||||||
{{ Fill in the Description }}
|
|
||||||
|
|
||||||
## EXAMPLES
|
|
||||||
|
|
||||||
### Example 1
|
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
|
||||||
```
|
|
||||||
|
|
||||||
{{ Add example description here }}
|
|
||||||
|
|
||||||
## PARAMETERS
|
|
||||||
|
|
||||||
### -Confirm
|
|
||||||
Prompts you for confirmation before running the cmdlet.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: cf
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ExcludeDomains
|
|
||||||
{{ Fill ExcludeDomains Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ExcludePermissionType
|
|
||||||
{{ Fill ExcludePermissionType Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: GPPermissionType[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: None, GpoApply, GpoRead, GpoEdit, GpoEditDeleteModifySecurity, GpoCustom, WmiFilterEdit, WmiFilterFullControl, WmiFilterCustom, StarterGpoRead, StarterGpoEdit, StarterGpoFullControl, StarterGpoCustom, SomCreateWmiFilter, SomWmiFilterFullControl, SomCreateGpo, SomCreateStarterGpo, SomLogging, SomPlanning, SomLink
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ExtendedForestInformation
|
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: IDictionary
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Forest
|
|
||||||
{{ Fill Forest Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: ForestName
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -GPOGuid
|
|
||||||
{{ Fill GPOGuid Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: GPOGUID
|
|
||||||
Aliases: GUID, GPOID
|
|
||||||
|
|
||||||
Required: True
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -GPOName
|
|
||||||
{{ Fill GPOName Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: GPOName
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: True
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -IncludeDomains
|
|
||||||
{{ Fill IncludeDomains Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: Domain, Domains
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -IncludePermissionType
|
|
||||||
{{ Fill IncludePermissionType Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: GPPermissionType[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: PermissionType
|
|
||||||
Accepted values: None, GpoApply, GpoRead, GpoEdit, GpoEditDeleteModifySecurity, GpoCustom, WmiFilterEdit, WmiFilterFullControl, WmiFilterCustom, StarterGpoRead, StarterGpoEdit, StarterGpoFullControl, StarterGpoCustom, SomCreateWmiFilter, SomWmiFilterFullControl, SomCreateGpo, SomCreateStarterGpo, SomLogging, SomPlanning, SomLink
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -LimitProcessing
|
|
||||||
{{ Fill LimitProcessing Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: Int32
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Principal
|
|
||||||
{{ Fill Principal Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -PrincipalType
|
|
||||||
{{ Fill PrincipalType Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: DistinguishedName, Name, NetbiosName, Sid
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -SkipAdministrative
|
|
||||||
{{ Fill SkipAdministrative Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -SkipWellKnown
|
|
||||||
{{ Fill SkipWellKnown Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Type
|
|
||||||
{{ Fill Type Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: Unknown, NotAdministrative, Default
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -WhatIf
|
|
||||||
Shows what would happen if the cmdlet runs.
|
|
||||||
The cmdlet is not run.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: wi
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
### None
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
### System.Object
|
|
||||||
## NOTES
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
+152
-168
@@ -1,168 +1,152 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Remove-GPOZaurrWMI
|
||||||
# Remove-GPOZaurrWMI
|
## SYNOPSIS
|
||||||
|
Removes Group Policy WMI filters based on specified criteria.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Remove-GPOZaurrWMI [[-Guid] <guid[]>] [[-Name] <string[]>] [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Remove-GPOZaurrWMI [[-Guid] <Guid[]>] [[-Name] <String[]>] [[-Forest] <String>] [[-ExcludeDomains] <String[]>]
|
|
||||||
[[-IncludeDomains] <String[]>] [[-ExtendedForestInformation] <IDictionary>] [-WhatIf] [-Confirm]
|
## DESCRIPTION
|
||||||
[<CommonParameters>]
|
This function removes WMI filters based on the provided GUIDs or names within the specified forest or domains. It retrieves WMI filters associated with the GPOs and removes them.
|
||||||
```
|
|
||||||
|
## EXAMPLES
|
||||||
## DESCRIPTION
|
|
||||||
{{ Fill in the Description }}
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
## EXAMPLES
|
PS > Remove-GPOZaurrWMI -Guid "12345678-1234-1234-1234-123456789012"
|
||||||
|
```
|
||||||
### Example 1
|
|
||||||
```powershell
|
Description
|
||||||
PS C:\> {{ Add example code here }}
|
-----------
|
||||||
```
|
Removes the WMI filter with the specified GUID.
|
||||||
|
|
||||||
{{ Add example description here }}
|
### EXAMPLE 2
|
||||||
|
```powershell
|
||||||
## PARAMETERS
|
PS > Remove-GPOZaurrWMI -Name "TestWMIFilter"
|
||||||
|
```
|
||||||
### -Confirm
|
|
||||||
Prompts you for confirmation before running the cmdlet.
|
Description
|
||||||
|
-----------
|
||||||
```yaml
|
Removes the WMI filter with the specified name.
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
## PARAMETERS
|
||||||
Aliases: cf
|
|
||||||
|
### -ExcludeDomains
|
||||||
Required: False
|
Specifies an array of domains to exclude from the removal process.
|
||||||
Position: Named
|
|
||||||
Default value: None
|
```yaml
|
||||||
Accept pipeline input: False
|
Type: String[]
|
||||||
Accept wildcard characters: False
|
Parameter Sets: __AllParameterSets
|
||||||
```
|
Aliases:
|
||||||
|
Possible values:
|
||||||
### -ExcludeDomains
|
|
||||||
{{ Fill ExcludeDomains Description }}
|
Required: False
|
||||||
|
Position: 3
|
||||||
```yaml
|
Default value: None
|
||||||
Type: String[]
|
Accept pipeline input: False
|
||||||
Parameter Sets: (All)
|
Accept wildcard characters: True
|
||||||
Aliases:
|
```
|
||||||
|
|
||||||
Required: False
|
### -ExtendedForestInformation
|
||||||
Position: 3
|
Specifies additional information about the forest.
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
```yaml
|
||||||
Accept wildcard characters: False
|
Type: IDictionary
|
||||||
```
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
### -ExtendedForestInformation
|
Possible values:
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: 5
|
||||||
Type: IDictionary
|
Default value: None
|
||||||
Parameter Sets: (All)
|
Accept pipeline input: False
|
||||||
Aliases:
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
Required: False
|
|
||||||
Position: 5
|
### -Forest
|
||||||
Default value: None
|
Specifies the forest name where the WMI filters are located.
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
```yaml
|
||||||
```
|
Type: String
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
### -Forest
|
Aliases: ForestName
|
||||||
{{ Fill Forest Description }}
|
Possible values:
|
||||||
|
|
||||||
```yaml
|
Required: False
|
||||||
Type: String
|
Position: 2
|
||||||
Parameter Sets: (All)
|
Default value: None
|
||||||
Aliases: ForestName
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
Required: False
|
```
|
||||||
Position: 2
|
|
||||||
Default value: None
|
### -Guid
|
||||||
Accept pipeline input: False
|
Specifies an array of GUIDs of the WMI filters to be removed.
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
```yaml
|
||||||
|
Type: Guid[]
|
||||||
### -Guid
|
Parameter Sets: __AllParameterSets
|
||||||
{{ Fill Guid Description }}
|
Aliases:
|
||||||
|
Possible values:
|
||||||
```yaml
|
|
||||||
Type: Guid[]
|
Required: False
|
||||||
Parameter Sets: (All)
|
Position: 0
|
||||||
Aliases:
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
Required: False
|
Accept wildcard characters: True
|
||||||
Position: 0
|
```
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
### -IncludeDomains
|
||||||
Accept wildcard characters: False
|
Specifies an array of domains to include in the removal process.
|
||||||
```
|
|
||||||
|
```yaml
|
||||||
### -IncludeDomains
|
Type: String[]
|
||||||
{{ Fill IncludeDomains Description }}
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases: Domain, Domains
|
||||||
```yaml
|
Possible values:
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
Required: False
|
||||||
Aliases: Domain, Domains
|
Position: 4
|
||||||
|
Default value: None
|
||||||
Required: False
|
Accept pipeline input: False
|
||||||
Position: 4
|
Accept wildcard characters: True
|
||||||
Default value: None
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -Name
|
||||||
```
|
Specifies an array of names of the WMI filters to be removed.
|
||||||
|
|
||||||
### -Name
|
```yaml
|
||||||
{{ Fill Name Description }}
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases:
|
||||||
Type: String[]
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
Required: False
|
||||||
|
Position: 1
|
||||||
Required: False
|
Default value: None
|
||||||
Position: 1
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
### -WhatIf
|
|
||||||
Shows what would happen if the cmdlet runs.
|
## INPUTS
|
||||||
The cmdlet is not run.
|
|
||||||
|
- `None`
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
## OUTPUTS
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: wi
|
- `None`
|
||||||
|
|
||||||
Required: False
|
## RELATED LINKS
|
||||||
Position: Named
|
|
||||||
Default value: None
|
- None
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
### None
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
### System.Object
|
|
||||||
## NOTES
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
+130
-156
@@ -1,156 +1,130 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Repair-GPOZaurrBrokenLink
|
||||||
# Repair-GPOZaurrBrokenLink
|
## SYNOPSIS
|
||||||
|
Removes any link to GPO that no longer exists.
|
||||||
## SYNOPSIS
|
|
||||||
Removes any link to GPO that no longer exists.
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Repair-GPOZaurrBrokenLink [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [[-LimitProcessing] <int>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Repair-GPOZaurrBrokenLink [[-Forest] <String>] [[-ExcludeDomains] <String[]>] [[-IncludeDomains] <String[]>]
|
|
||||||
[[-ExtendedForestInformation] <IDictionary>] [[-LimitProcessing] <Int32>] [-WhatIf] [-Confirm]
|
## DESCRIPTION
|
||||||
[<CommonParameters>]
|
Removes any link to GPO that no longer exists. It scans all site, organizational unit or domain root making sure every single link that may be linking to GPO that doesn't exists anymore is gone.
|
||||||
```
|
|
||||||
|
## EXAMPLES
|
||||||
## DESCRIPTION
|
|
||||||
Removes any link to GPO that no longer exists.
|
### EXAMPLE 1
|
||||||
It scans all site, organizational unit or domain root making sure every single link that may be linking to GPO that doesn't exists anymore is gone.
|
```powershell
|
||||||
|
PS > Repair-GPOZaurrBrokenLink -Verbose -LimitProcessing 1 -WhatIf
|
||||||
## EXAMPLES
|
```
|
||||||
|
|
||||||
### EXAMPLE 1
|
|
||||||
```
|
### EXAMPLE 2
|
||||||
Repair-GPOZaurrBrokenLink -Verbose -LimitProcessing 1 -WhatIf
|
```powershell
|
||||||
```
|
PS > Repair-GPOZaurrBrokenLink -Verbose -IncludeDomains ad.evotec.pl -LimitProcessing 1 -WhatIf
|
||||||
|
```
|
||||||
### EXAMPLE 2
|
|
||||||
```
|
|
||||||
Repair-GPOZaurrBrokenLink -Verbose -IncludeDomains ad.evotec.pl -LimitProcessing 1 -WhatIf
|
## PARAMETERS
|
||||||
```
|
|
||||||
|
### -ExcludeDomains
|
||||||
## PARAMETERS
|
Exclude domain from search, by default whole forest is scanned
|
||||||
|
|
||||||
### -Forest
|
```yaml
|
||||||
Target different Forest, by default current forest is used
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases:
|
||||||
Type: String
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: ForestName
|
Required: False
|
||||||
|
Position: 1
|
||||||
Required: False
|
Default value: None
|
||||||
Position: 1
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -ExtendedForestInformation
|
||||||
|
Ability to provide Forest Information from another command to speed up processing
|
||||||
### -ExcludeDomains
|
|
||||||
Exclude domain from search, by default whole forest is scanned
|
```yaml
|
||||||
|
Type: IDictionary
|
||||||
```yaml
|
Parameter Sets: __AllParameterSets
|
||||||
Type: String[]
|
Aliases:
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: 3
|
||||||
Position: 2
|
Default value: None
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -Forest
|
||||||
### -IncludeDomains
|
Target different Forest, by default current forest is used
|
||||||
Include only specific domains, by default whole forest is scanned
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String
|
||||||
Type: String[]
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases: ForestName
|
||||||
Aliases: Domain, Domains
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 3
|
Position: 0
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -ExtendedForestInformation
|
### -IncludeDomains
|
||||||
Ability to provide Forest Information from another command to speed up processing
|
Include only specific domains, by default whole forest is scanned
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: IDictionary
|
Type: String[]
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases:
|
Aliases: Domain, Domains
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 4
|
Required: False
|
||||||
Default value: None
|
Position: 2
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -LimitProcessing
|
|
||||||
Allows to specify maximum number of items that will be fixed in a single run.
|
### -LimitProcessing
|
||||||
It doesn't affect amount of GPOs processed
|
Allows to specify maximum number of items that will be fixed in a single run. It doesn't affect amount of GPOs processed
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: Int32
|
Type: Int32
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases:
|
Aliases:
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 5
|
Required: False
|
||||||
Default value: 0
|
Position: 4
|
||||||
Accept pipeline input: False
|
Default value: 0
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -WhatIf
|
|
||||||
Shows what would happen if the cmdlet runs.
|
### CommonParameters
|
||||||
The cmdlet is not run.
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
```yaml
|
## INPUTS
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
- `None`
|
||||||
Aliases: wi
|
|
||||||
|
## OUTPUTS
|
||||||
Required: False
|
|
||||||
Position: Named
|
- `None`
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
## RELATED LINKS
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
- None
|
||||||
|
|
||||||
### -Confirm
|
|
||||||
Prompts you for confirmation before running the cmdlet.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: cf
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
## NOTES
|
|
||||||
General notes
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
@@ -1,166 +1,140 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Repair-GPOZaurrNetLogonOwner
|
||||||
# Repair-GPOZaurrNetLogonOwner
|
## SYNOPSIS
|
||||||
|
Sets new owner to each file in NetLogon share.
|
||||||
## SYNOPSIS
|
|
||||||
Sets new owner to each file in NetLogon share.
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Repair-GPOZaurrNetLogonOwner [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [[-Principal] <string>] [[-LimitProcessing] <int>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Repair-GPOZaurrNetLogonOwner [[-Forest] <String>] [[-ExcludeDomains] <String[]>] [[-IncludeDomains] <String[]>]
|
|
||||||
[[-ExtendedForestInformation] <IDictionary>] [[-Principal] <String>] [[-LimitProcessing] <Int32>] [-WhatIf]
|
## DESCRIPTION
|
||||||
[-Confirm] [<CommonParameters>]
|
Sets new owner to each file in NetLogon share.
|
||||||
```
|
|
||||||
|
## EXAMPLES
|
||||||
## DESCRIPTION
|
|
||||||
Sets new owner to each file in NetLogon share.
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
## EXAMPLES
|
PS > Repair-GPOZaurrNetLogonOwner -WhatIf -Verbose -IncludeDomains ad.evotec.pl
|
||||||
|
```
|
||||||
### EXAMPLE 1
|
|
||||||
```
|
|
||||||
Repair-GPOZaurrNetLogonOwner -WhatIf -Verbose -IncludeDomains ad.evotec.pl
|
## PARAMETERS
|
||||||
```
|
|
||||||
|
### -ExcludeDomains
|
||||||
## PARAMETERS
|
Exclude domain from search, by default whole forest is scanned
|
||||||
|
|
||||||
### -Forest
|
```yaml
|
||||||
Target different Forest, by default current forest is used
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases:
|
||||||
Type: String
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: ForestName
|
Required: False
|
||||||
|
Position: 1
|
||||||
Required: False
|
Default value: None
|
||||||
Position: 1
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -ExtendedForestInformation
|
||||||
|
Ability to provide Forest Information from another command to speed up processing
|
||||||
### -ExcludeDomains
|
|
||||||
Exclude domain from search, by default whole forest is scanned
|
```yaml
|
||||||
|
Type: IDictionary
|
||||||
```yaml
|
Parameter Sets: __AllParameterSets
|
||||||
Type: String[]
|
Aliases:
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: 3
|
||||||
Position: 2
|
Default value: None
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -Forest
|
||||||
### -IncludeDomains
|
Target different Forest, by default current forest is used
|
||||||
Include only specific domains, by default whole forest is scanned
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String
|
||||||
Type: String[]
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases: ForestName
|
||||||
Aliases: Domain, Domains
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 3
|
Position: 0
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -ExtendedForestInformation
|
### -IncludeDomains
|
||||||
Ability to provide Forest Information from another command to speed up processing
|
Include only specific domains, by default whole forest is scanned
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: IDictionary
|
Type: String[]
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases:
|
Aliases: Domain, Domains
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 4
|
Required: False
|
||||||
Default value: None
|
Position: 2
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -Principal
|
|
||||||
Provide named owner.
|
### -LimitProcessing
|
||||||
If not provided default S-1-5-32-544 is used.
|
Allows to specify maximum number of items that will be fixed in a single run. It doesn't affect amount of GPOs processed
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: String
|
Type: Int32
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases:
|
Aliases:
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 5
|
Required: False
|
||||||
Default value: S-1-5-32-544
|
Position: 5
|
||||||
Accept pipeline input: False
|
Default value: 2147483647
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -LimitProcessing
|
|
||||||
Allows to specify maximum number of items that will be fixed in a single run.
|
### -Principal
|
||||||
It doesn't affect amount of GPOs processed
|
Provide named owner. If not provided default S-1-5-32-544 is used.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: Int32
|
Type: String
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases:
|
Aliases:
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 6
|
Required: False
|
||||||
Default value: 2147483647
|
Position: 4
|
||||||
Accept pipeline input: False
|
Default value: S-1-5-32-544
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -WhatIf
|
|
||||||
Shows what would happen if the cmdlet runs.
|
### CommonParameters
|
||||||
The cmdlet is not run.
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
```yaml
|
## INPUTS
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
- `None`
|
||||||
Aliases: wi
|
|
||||||
|
## OUTPUTS
|
||||||
Required: False
|
|
||||||
Position: Named
|
- `None`
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
## RELATED LINKS
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
- None
|
||||||
|
|
||||||
### -Confirm
|
|
||||||
Prompts you for confirmation before running the cmdlet.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: cf
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
## NOTES
|
|
||||||
General notes
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
+141
-169
@@ -1,169 +1,141 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Repair-GPOZaurrPermission
|
||||||
# Repair-GPOZaurrPermission
|
## SYNOPSIS
|
||||||
|
Repairs permissions for Group Policy Objects (GPOs) based on specified criteria.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Repair-GPOZaurrPermission [-Type] <string[]> [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [[-LimitProcessing] <int>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Repair-GPOZaurrPermission [-Type] <String[]> [[-Forest] <String>] [[-ExcludeDomains] <String[]>]
|
|
||||||
[[-IncludeDomains] <String[]>] [[-ExtendedForestInformation] <IDictionary>] [[-LimitProcessing] <Int32>]
|
## DESCRIPTION
|
||||||
[-WhatIf] [-Confirm] [<CommonParameters>]
|
The Repair-GPOZaurrPermission function repairs permissions for GPOs based on the specified criteria. It analyzes the permissions of GPOs and adds necessary permissions if they are missing.
|
||||||
```
|
|
||||||
|
## EXAMPLES
|
||||||
## DESCRIPTION
|
|
||||||
{{ Fill in the Description }}
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
## EXAMPLES
|
PS > Repair-GPOZaurrPermission -Type 'All' -Forest 'ContosoForest' -IncludeDomains @('Domain1', 'Domain2') -ExcludeDomains @('Domain3') -ExtendedForestInformation $info -LimitProcessing 100
|
||||||
|
Repairs permissions for all types of users in the 'ContosoForest' forest, including only 'Domain1' and 'Domain2' while excluding 'Domain3', with extended forest information and processing a maximum of 100 GPOs.
|
||||||
### Example 1
|
```
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
|
||||||
```
|
## PARAMETERS
|
||||||
|
|
||||||
{{ Add example description here }}
|
### -ExcludeDomains
|
||||||
|
Specifies an array of domains to exclude from the analysis.
|
||||||
## PARAMETERS
|
|
||||||
|
```yaml
|
||||||
### -Confirm
|
Type: String[]
|
||||||
Prompts you for confirmation before running the cmdlet.
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
```yaml
|
Possible values:
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
Required: False
|
||||||
Aliases: cf
|
Position: 2
|
||||||
|
Default value: None
|
||||||
Required: False
|
Accept pipeline input: False
|
||||||
Position: Named
|
Accept wildcard characters: True
|
||||||
Default value: None
|
```
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
### -ExtendedForestInformation
|
||||||
```
|
Specifies additional information about the forest.
|
||||||
|
|
||||||
### -ExcludeDomains
|
```yaml
|
||||||
{{ Fill ExcludeDomains Description }}
|
Type: IDictionary
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
```yaml
|
Aliases:
|
||||||
Type: String[]
|
Possible values:
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
Required: False
|
||||||
|
Position: 4
|
||||||
Required: False
|
Default value: None
|
||||||
Position: 2
|
Accept pipeline input: False
|
||||||
Default value: None
|
Accept wildcard characters: True
|
||||||
Accept pipeline input: False
|
```
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
### -Forest
|
||||||
|
Specifies the forest name to analyze GPO permissions.
|
||||||
### -ExtendedForestInformation
|
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
```yaml
|
||||||
|
Type: String
|
||||||
```yaml
|
Parameter Sets: __AllParameterSets
|
||||||
Type: IDictionary
|
Aliases: ForestName
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases:
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: 1
|
||||||
Position: 4
|
Default value: None
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -IncludeDomains
|
||||||
### -Forest
|
Specifies an array of domains to include in the analysis.
|
||||||
{{ Fill Forest Description }}
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String[]
|
||||||
Type: String
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases: Domain, Domains
|
||||||
Aliases: ForestName
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 1
|
Position: 3
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -IncludeDomains
|
### -LimitProcessing
|
||||||
{{ Fill IncludeDomains Description }}
|
Specifies the maximum number of GPOs to process.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: String[]
|
Type: Int32
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases: Domain, Domains
|
Aliases:
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 3
|
Required: False
|
||||||
Default value: None
|
Position: 5
|
||||||
Accept pipeline input: False
|
Default value: 2147483647
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -LimitProcessing
|
|
||||||
{{ Fill LimitProcessing Description }}
|
### -Type
|
||||||
|
Specifies the type of permissions to repair. Valid values are 'AuthenticatedUsers', 'Unknown', 'System', 'Administrative', and 'All'.
|
||||||
```yaml
|
|
||||||
Type: Int32
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: String[]
|
||||||
Aliases:
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases:
|
||||||
Required: False
|
Possible values: AuthenticatedUsers, Unknown, System, Administrative, All
|
||||||
Position: 5
|
|
||||||
Default value: None
|
Required: True
|
||||||
Accept pipeline input: False
|
Position: 0
|
||||||
Accept wildcard characters: False
|
Default value: None
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -Type
|
```
|
||||||
{{ Fill Type Description }}
|
|
||||||
|
### CommonParameters
|
||||||
```yaml
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
## INPUTS
|
||||||
Aliases:
|
|
||||||
Accepted values: AuthenticatedUsers, Unknown, System, Administrative, All
|
- `None`
|
||||||
|
|
||||||
Required: True
|
## OUTPUTS
|
||||||
Position: 0
|
|
||||||
Default value: None
|
- `None`
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
## RELATED LINKS
|
||||||
```
|
|
||||||
|
- None
|
||||||
### -WhatIf
|
|
||||||
Shows what would happen if the cmdlet runs.
|
|
||||||
The cmdlet is not run.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: wi
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
### None
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
### System.Object
|
|
||||||
## NOTES
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
@@ -1,198 +1,174 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Repair-GPOZaurrPermissionConsistency
|
||||||
# Repair-GPOZaurrPermissionConsistency
|
## SYNOPSIS
|
||||||
|
Repairs permission consistency for Group Policy Objects (GPOs) in a specified domain or forest.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### Default (Default)
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Repair-GPOZaurrPermissionConsistency [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-LimitProcessing <int>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
### Default (Default)
|
```
|
||||||
```
|
|
||||||
Repair-GPOZaurrPermissionConsistency [-Forest <String>] [-ExcludeDomains <String[]>]
|
### GPOName
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-LimitProcessing <Int32>] [-WhatIf]
|
```powershell
|
||||||
[-Confirm] [<CommonParameters>]
|
Repair-GPOZaurrPermissionConsistency [-GPOName <string>] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-LimitProcessing <int>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
|
|
||||||
### GPOName
|
### GPOGUID
|
||||||
```
|
```powershell
|
||||||
Repair-GPOZaurrPermissionConsistency [-GPOName <String>] [-Forest <String>] [-ExcludeDomains <String[]>]
|
Repair-GPOZaurrPermissionConsistency [-GPOGuid <string>] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-LimitProcessing <int>] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-LimitProcessing <Int32>] [-WhatIf]
|
```
|
||||||
[-Confirm] [<CommonParameters>]
|
|
||||||
```
|
## DESCRIPTION
|
||||||
|
The Repair-GPOZaurrPermissionConsistency function repairs permission consistency for GPOs in a specified domain or forest. It checks for inconsistencies in GPO permissions and attempts to make them consistent.
|
||||||
### GPOGUID
|
|
||||||
```
|
## EXAMPLES
|
||||||
Repair-GPOZaurrPermissionConsistency [-GPOGuid <String>] [-Forest <String>] [-ExcludeDomains <String[]>]
|
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-LimitProcessing <Int32>] [-WhatIf]
|
### EXAMPLE 1
|
||||||
[-Confirm] [<CommonParameters>]
|
```powershell
|
||||||
```
|
PS > Repair-GPOZaurrPermissionConsistency -GPOName "ExampleGPO" -Forest "example.com"
|
||||||
|
Repairs permission consistency for the GPO named "ExampleGPO" in the "example.com" forest.
|
||||||
## DESCRIPTION
|
```
|
||||||
{{ Fill in the Description }}
|
|
||||||
|
|
||||||
## EXAMPLES
|
### EXAMPLE 2
|
||||||
|
```powershell
|
||||||
### Example 1
|
PS > Repair-GPOZaurrPermissionConsistency -GPOGuid "12345678-1234-1234-1234-1234567890AB" -ExcludeDomains @("domain1", "domain2") -LimitProcessing 5
|
||||||
```powershell
|
Repairs permission consistency for the GPO with the specified GUID, excluding domains "domain1" and "domain2", and processing a maximum of 5 GPOs.
|
||||||
PS C:\> {{ Add example code here }}
|
```
|
||||||
```
|
|
||||||
|
|
||||||
{{ Add example description here }}
|
## PARAMETERS
|
||||||
|
|
||||||
## PARAMETERS
|
### -ExcludeDomains
|
||||||
|
Specifies an array of domains to exclude from the repair process.
|
||||||
### -Confirm
|
|
||||||
Prompts you for confirmation before running the cmdlet.
|
```yaml
|
||||||
|
Type: String[]
|
||||||
```yaml
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
Type: SwitchParameter
|
Aliases:
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases: cf
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: named
|
||||||
Position: Named
|
Default value: None
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -ExtendedForestInformation
|
||||||
### -ExcludeDomains
|
Specifies additional information about the forest.
|
||||||
{{ Fill ExcludeDomains Description }}
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: IDictionary
|
||||||
Type: String[]
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
Parameter Sets: (All)
|
Aliases:
|
||||||
Aliases:
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: Named
|
Position: named
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -ExtendedForestInformation
|
### -Forest
|
||||||
{{ Fill ExtendedForestInformation Description }}
|
Specifies the forest where the GPOs are located.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: IDictionary
|
Type: String
|
||||||
Parameter Sets: (All)
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
Aliases:
|
Aliases: ForestName
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: Named
|
Required: False
|
||||||
Default value: None
|
Position: named
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -Forest
|
|
||||||
{{ Fill Forest Description }}
|
### -GPOGuid
|
||||||
|
Specifies the GUID of the GPO to repair.
|
||||||
```yaml
|
|
||||||
Type: String
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: String
|
||||||
Aliases: ForestName
|
Parameter Sets: GPOGUID
|
||||||
|
Aliases: GUID, GPOID
|
||||||
Required: False
|
Possible values:
|
||||||
Position: Named
|
|
||||||
Default value: None
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: named
|
||||||
Accept wildcard characters: False
|
Default value: None
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -GPOGuid
|
```
|
||||||
{{ Fill GPOGuid Description }}
|
|
||||||
|
### -GPOName
|
||||||
```yaml
|
Specifies the name of the GPO to repair.
|
||||||
Type: String
|
|
||||||
Parameter Sets: GPOGUID
|
```yaml
|
||||||
Aliases: GUID, GPOID
|
Type: String
|
||||||
|
Parameter Sets: GPOName
|
||||||
Required: False
|
Aliases:
|
||||||
Position: Named
|
Possible values:
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
Required: False
|
||||||
Accept wildcard characters: False
|
Position: named
|
||||||
```
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
### -GPOName
|
Accept wildcard characters: True
|
||||||
{{ Fill GPOName Description }}
|
```
|
||||||
|
|
||||||
```yaml
|
### -IncludeDomains
|
||||||
Type: String
|
Specifies an array of domains to include in the repair process.
|
||||||
Parameter Sets: GPOName
|
|
||||||
Aliases:
|
```yaml
|
||||||
|
Type: String[]
|
||||||
Required: False
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
Position: Named
|
Aliases: Domain, Domains
|
||||||
Default value: None
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: named
|
||||||
|
Default value: None
|
||||||
### -IncludeDomains
|
Accept pipeline input: False
|
||||||
{{ Fill IncludeDomains Description }}
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: String[]
|
### -LimitProcessing
|
||||||
Parameter Sets: (All)
|
Specifies the maximum number of GPOs to process.
|
||||||
Aliases: Domain, Domains
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: Int32
|
||||||
Position: Named
|
Parameter Sets: Default, GPOName, GPOGUID
|
||||||
Default value: None
|
Aliases:
|
||||||
Accept pipeline input: False
|
Possible values:
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: named
|
||||||
### -LimitProcessing
|
Default value: 2147483647
|
||||||
{{ Fill LimitProcessing Description }}
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: Int32
|
|
||||||
Parameter Sets: (All)
|
### CommonParameters
|
||||||
Aliases:
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
Required: False
|
## INPUTS
|
||||||
Position: Named
|
|
||||||
Default value: None
|
- `None`
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
## OUTPUTS
|
||||||
```
|
|
||||||
|
- `None`
|
||||||
### -WhatIf
|
|
||||||
Shows what would happen if the cmdlet runs.
|
## RELATED LINKS
|
||||||
The cmdlet is not run.
|
|
||||||
|
- None
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: wi
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
### None
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
### System.Object
|
|
||||||
## NOTES
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
+130
-121
@@ -1,121 +1,130 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Restore-GPOZaurr
|
||||||
# Restore-GPOZaurr
|
## SYNOPSIS
|
||||||
|
Restores Group Policy Objects (GPOs) from a specified backup folder.
|
||||||
## SYNOPSIS
|
|
||||||
{{ Fill in the Synopsis }}
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Restore-GPOZaurr [-BackupFolder] <string> [[-DisplayName] <string>] [[-NewDisplayName] <string>] [[-Domain] <string>] [-SkipBackupSummary] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Restore-GPOZaurr [-BackupFolder] <String> [[-DisplayName] <String>] [[-NewDisplayName] <String>]
|
|
||||||
[[-Domain] <String>] [-SkipBackupSummary] [<CommonParameters>]
|
## DESCRIPTION
|
||||||
```
|
Restores Group Policy Objects (GPOs) from a specified backup folder. This function allows restoring GPOs with the option to provide a new display name for the GPO.
|
||||||
|
|
||||||
## DESCRIPTION
|
## EXAMPLES
|
||||||
{{ Fill in the Description }}
|
|
||||||
|
### EXAMPLE 1
|
||||||
## EXAMPLES
|
```powershell
|
||||||
|
PS > Restore-GPOZaurr -BackupFolder 'C:\GPOBackups' -DisplayName 'TestGPO'
|
||||||
### Example 1
|
```
|
||||||
```powershell
|
|
||||||
PS C:\> {{ Add example code here }}
|
|
||||||
```
|
### EXAMPLE 2
|
||||||
|
```powershell
|
||||||
{{ Add example description here }}
|
PS > Restore-GPOZaurr -BackupFolder 'C:\GPOBackups' -DisplayName 'TestGPO' -NewDisplayName 'NewTestGPO' -Domain 'example.com'
|
||||||
|
```
|
||||||
## PARAMETERS
|
|
||||||
|
|
||||||
### -BackupFolder
|
## PARAMETERS
|
||||||
{{ Fill BackupFolder Description }}
|
|
||||||
|
### -BackupFolder
|
||||||
```yaml
|
The path to the folder containing the GPO backups.
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
```yaml
|
||||||
Aliases:
|
Type: String
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
Required: True
|
Aliases:
|
||||||
Position: 0
|
Possible values:
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
Required: True
|
||||||
Accept wildcard characters: False
|
Position: 0
|
||||||
```
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
### -DisplayName
|
Accept wildcard characters: True
|
||||||
{{ Fill DisplayName Description }}
|
```
|
||||||
|
|
||||||
```yaml
|
### -DisplayName
|
||||||
Type: String
|
The display name of the GPO to be restored.
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: Name
|
```yaml
|
||||||
|
Type: String
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: 1
|
Aliases: Name
|
||||||
Default value: None
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: 1
|
||||||
|
Default value: None
|
||||||
### -Domain
|
Accept pipeline input: False
|
||||||
{{ Fill Domain Description }}
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
```yaml
|
|
||||||
Type: String
|
### -Domain
|
||||||
Parameter Sets: (All)
|
(Optional) The domain name where the GPO should be restored.
|
||||||
Aliases:
|
|
||||||
|
```yaml
|
||||||
Required: False
|
Type: String
|
||||||
Position: 3
|
Parameter Sets: __AllParameterSets
|
||||||
Default value: None
|
Aliases:
|
||||||
Accept pipeline input: False
|
Possible values:
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
Required: False
|
||||||
|
Position: 3
|
||||||
### -NewDisplayName
|
Default value: None
|
||||||
{{ Fill NewDisplayName Description }}
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
```yaml
|
```
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
### -NewDisplayName
|
||||||
Aliases:
|
(Optional) The new display name for the restored GPO.
|
||||||
|
|
||||||
Required: False
|
```yaml
|
||||||
Position: 2
|
Type: String
|
||||||
Default value: None
|
Parameter Sets: __AllParameterSets
|
||||||
Accept pipeline input: False
|
Aliases:
|
||||||
Accept wildcard characters: False
|
Possible values:
|
||||||
```
|
|
||||||
|
Required: False
|
||||||
### -SkipBackupSummary
|
Position: 2
|
||||||
{{ Fill SkipBackupSummary Description }}
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
```yaml
|
Accept wildcard characters: True
|
||||||
Type: SwitchParameter
|
```
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
### -SkipBackupSummary
|
||||||
|
(Switch) Skip displaying the backup summary information.
|
||||||
Required: False
|
|
||||||
Position: Named
|
```yaml
|
||||||
Default value: None
|
Type: SwitchParameter
|
||||||
Accept pipeline input: False
|
Parameter Sets: __AllParameterSets
|
||||||
Accept wildcard characters: False
|
Aliases:
|
||||||
```
|
Possible values:
|
||||||
|
|
||||||
### CommonParameters
|
Required: False
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
Position: named
|
||||||
|
Default value: False
|
||||||
## INPUTS
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### None
|
```
|
||||||
|
|
||||||
## OUTPUTS
|
### CommonParameters
|
||||||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
### System.Object
|
|
||||||
## NOTES
|
## INPUTS
|
||||||
|
|
||||||
## RELATED LINKS
|
- `None`
|
||||||
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+140
-132
@@ -1,132 +1,140 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Save-GPOZaurrFiles
|
||||||
# Save-GPOZaurrFiles
|
## SYNOPSIS
|
||||||
|
Exports GPO XML data to files and saves it to a given path
|
||||||
## SYNOPSIS
|
|
||||||
Exports GPO XML data to files and saves it to a given path
|
## SYNTAX
|
||||||
|
### __AllParameterSets
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Save-GPOZaurrFiles [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [[-GPOPath] <string[]>] [-DeleteExisting] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
Save-GPOZaurrFiles [[-Forest] <String>] [[-ExcludeDomains] <String[]>] [[-IncludeDomains] <String[]>]
|
|
||||||
[[-ExtendedForestInformation] <IDictionary>] [[-GPOPath] <String[]>] [-DeleteExisting] [<CommonParameters>]
|
## DESCRIPTION
|
||||||
```
|
Exports GPO XML data to files and saves it to a given path
|
||||||
|
|
||||||
## DESCRIPTION
|
## EXAMPLES
|
||||||
Exports GPO XML data to files and saves it to a given path
|
|
||||||
|
### EXAMPLE 1
|
||||||
## EXAMPLES
|
```powershell
|
||||||
|
PS > Save-GPOZaurrFiles -GPOPath 'C:\Support\GitHub\GpoZaurr\Ignore\GPOExportEvotec' -DeleteExisting -Verbose
|
||||||
### EXAMPLE 1
|
```
|
||||||
```
|
|
||||||
Save-GPOZaurrFiles -GPOPath 'C:\Support\GitHub\GpoZaurr\Ignore\GPOExportEvotec' -DeleteExisting -Verbose
|
|
||||||
```
|
## PARAMETERS
|
||||||
|
|
||||||
## PARAMETERS
|
### -DeleteExisting
|
||||||
|
Delete existing files before saving new ones
|
||||||
### -Forest
|
|
||||||
Target different Forest, by default current forest is used
|
```yaml
|
||||||
|
Type: SwitchParameter
|
||||||
```yaml
|
Parameter Sets: __AllParameterSets
|
||||||
Type: String
|
Aliases:
|
||||||
Parameter Sets: (All)
|
Possible values:
|
||||||
Aliases: ForestName
|
|
||||||
|
Required: False
|
||||||
Required: False
|
Position: named
|
||||||
Position: 1
|
Default value: False
|
||||||
Default value: None
|
Accept pipeline input: False
|
||||||
Accept pipeline input: False
|
Accept wildcard characters: True
|
||||||
Accept wildcard characters: False
|
```
|
||||||
```
|
|
||||||
|
### -ExcludeDomains
|
||||||
### -ExcludeDomains
|
Exclude domain from search, by default whole forest is scanned
|
||||||
Exclude domain from search, by default whole forest is scanned
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String[]
|
||||||
Type: String[]
|
Parameter Sets: __AllParameterSets
|
||||||
Parameter Sets: (All)
|
Aliases:
|
||||||
Aliases:
|
Possible values:
|
||||||
|
|
||||||
Required: False
|
Required: False
|
||||||
Position: 2
|
Position: 1
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -IncludeDomains
|
### -ExtendedForestInformation
|
||||||
Include only specific domains, by default whole forest is scanned
|
Ability to provide Forest Information from another command to speed up processing
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
Type: String[]
|
Type: IDictionary
|
||||||
Parameter Sets: (All)
|
Parameter Sets: __AllParameterSets
|
||||||
Aliases: Domain, Domains
|
Aliases:
|
||||||
|
Possible values:
|
||||||
Required: False
|
|
||||||
Position: 3
|
Required: False
|
||||||
Default value: None
|
Position: 3
|
||||||
Accept pipeline input: False
|
Default value: None
|
||||||
Accept wildcard characters: False
|
Accept pipeline input: False
|
||||||
```
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
### -ExtendedForestInformation
|
|
||||||
Ability to provide Forest Information from another command to speed up processing
|
### -Forest
|
||||||
|
Target different Forest, by default current forest is used
|
||||||
```yaml
|
|
||||||
Type: IDictionary
|
```yaml
|
||||||
Parameter Sets: (All)
|
Type: String
|
||||||
Aliases:
|
Parameter Sets: __AllParameterSets
|
||||||
|
Aliases: ForestName
|
||||||
Required: False
|
Possible values:
|
||||||
Position: 4
|
|
||||||
Default value: None
|
Required: False
|
||||||
Accept pipeline input: False
|
Position: 0
|
||||||
Accept wildcard characters: False
|
Default value: None
|
||||||
```
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
### -GPOPath
|
```
|
||||||
Path where to save XML files from GPOReport
|
|
||||||
|
### -GPOPath
|
||||||
```yaml
|
Path where to save XML files from GPOReport
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
```yaml
|
||||||
Aliases:
|
Type: String[]
|
||||||
|
Parameter Sets: __AllParameterSets
|
||||||
Required: False
|
Aliases:
|
||||||
Position: 5
|
Possible values:
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
Required: False
|
||||||
Accept wildcard characters: False
|
Position: 4
|
||||||
```
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
### -DeleteExisting
|
Accept wildcard characters: True
|
||||||
Delete existing files before saving new ones
|
```
|
||||||
|
|
||||||
```yaml
|
### -IncludeDomains
|
||||||
Type: SwitchParameter
|
Include only specific domains, by default whole forest is scanned
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
```yaml
|
||||||
|
Type: String[]
|
||||||
Required: False
|
Parameter Sets: __AllParameterSets
|
||||||
Position: Named
|
Aliases: Domain, Domains
|
||||||
Default value: False
|
Possible values:
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
Required: False
|
||||||
```
|
Position: 2
|
||||||
|
Default value: None
|
||||||
### CommonParameters
|
Accept pipeline input: False
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
## INPUTS
|
|
||||||
|
### CommonParameters
|
||||||
## OUTPUTS
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
## NOTES
|
## INPUTS
|
||||||
General notes
|
|
||||||
|
- `None`
|
||||||
## RELATED LINKS
|
|
||||||
|
## OUTPUTS
|
||||||
|
|
||||||
|
- `None`
|
||||||
|
|
||||||
|
## RELATED LINKS
|
||||||
|
|
||||||
|
- None
|
||||||
|
|
||||||
|
|||||||
+81
-81
@@ -1,81 +1,81 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Set-GPOOwner
|
||||||
# Set-GPOOwner
|
## SYNOPSIS
|
||||||
|
Used within Invoke-GPOZaurrPermission only. Set new group policy owner.
|
||||||
## SYNOPSIS
|
|
||||||
Used within Invoke-GPOZaurrPermission only.
|
## SYNTAX
|
||||||
Set new group policy owner.
|
### __AllParameterSets
|
||||||
|
```powershell
|
||||||
## SYNTAX
|
Set-GPOOwner [[-Type] <string>] [[-Principal] <string>] [<CommonParameters>]
|
||||||
|
```
|
||||||
```
|
|
||||||
Set-GPOOwner [[-Type] <String>] [[-Principal] <String>] [<CommonParameters>]
|
## DESCRIPTION
|
||||||
```
|
Used within Invoke-GPOZaurrPermission only. Set new group policy owner.
|
||||||
|
|
||||||
## DESCRIPTION
|
## EXAMPLES
|
||||||
Used within Invoke-GPOZaurrPermission only.
|
|
||||||
Set new group policy owner.
|
### EXAMPLE 1
|
||||||
|
```powershell
|
||||||
## EXAMPLES
|
PS > Invoke-GPOZaurrPermission -Verbose -SearchBase 'OU=Computers,OU=Production,DC=ad,DC=evotec,DC=xyz' {
|
||||||
|
Set-GPOOwner -Type Administrative
|
||||||
### EXAMPLE 1
|
Remove-GPOPermission -Type NotAdministrative, NotWellKnownAdministrative -IncludePermissionType GpoEdit, GpoEditDeleteModifySecurity
|
||||||
```
|
Add-GPOPermission -Type Administrative -IncludePermissionType GpoEditDeleteModifySecurity
|
||||||
Invoke-GPOZaurrPermission -Verbose -SearchBase 'OU=Computers,OU=Production,DC=ad,DC=evotec,DC=xyz' {
|
Add-GPOPermission -Type WellKnownAdministrative -IncludePermissionType GpoEditDeleteModifySecurity
|
||||||
```
|
} -WhatIf
|
||||||
|
```
|
||||||
Set-GPOOwner -Type Administrative
|
|
||||||
Remove-GPOPermission -Type NotAdministrative, NotWellKnownAdministrative -IncludePermissionType GpoEdit, GpoEditDeleteModifySecurity
|
|
||||||
Add-GPOPermission -Type Administrative -IncludePermissionType GpoEditDeleteModifySecurity
|
## PARAMETERS
|
||||||
Add-GPOPermission -Type WellKnownAdministrative -IncludePermissionType GpoEditDeleteModifySecurity
|
|
||||||
} -WhatIf
|
### -Principal
|
||||||
|
Choose Owner Name to set for Group Policy
|
||||||
## PARAMETERS
|
|
||||||
|
```yaml
|
||||||
### -Type
|
Type: String
|
||||||
Choose Owner Type.
|
Parameter Sets: __AllParameterSets
|
||||||
When chosing Administrative Type, owner will be set to Domain Admins for current GPO domain.
|
Aliases:
|
||||||
When Default is set Owner will be set to Principal given in another parameter.
|
Possible values:
|
||||||
|
|
||||||
```yaml
|
Required: False
|
||||||
Type: String
|
Position: 1
|
||||||
Parameter Sets: (All)
|
Default value: None
|
||||||
Aliases:
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
Required: False
|
```
|
||||||
Position: 1
|
|
||||||
Default value: Default
|
### -Type
|
||||||
Accept pipeline input: False
|
Choose Owner Type. When chosing Administrative Type, owner will be set to Domain Admins for current GPO domain. When Default is set Owner will be set to Principal given in another parameter.
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
```yaml
|
||||||
|
Type: String
|
||||||
### -Principal
|
Parameter Sets: __AllParameterSets
|
||||||
Choose Owner Name to set for Group Policy
|
Aliases:
|
||||||
|
Possible values: Administrative, Default
|
||||||
```yaml
|
|
||||||
Type: String
|
Required: False
|
||||||
Parameter Sets: (All)
|
Position: 0
|
||||||
Aliases:
|
Default value: Default
|
||||||
|
Accept pipeline input: False
|
||||||
Required: False
|
Accept wildcard characters: True
|
||||||
Position: 2
|
```
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
### CommonParameters
|
||||||
Accept wildcard characters: False
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
```
|
|
||||||
|
## INPUTS
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
- `None`
|
||||||
|
|
||||||
## INPUTS
|
## OUTPUTS
|
||||||
|
|
||||||
## OUTPUTS
|
- `None`
|
||||||
|
|
||||||
## NOTES
|
## RELATED LINKS
|
||||||
General notes
|
|
||||||
|
- None
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
+257
-285
@@ -1,289 +1,261 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Set-GPOZaurrOwner
|
||||||
# Set-GPOZaurrOwner
|
## SYNOPSIS
|
||||||
|
Sets GPO Owner to Domain Admins or other choosen account
|
||||||
## SYNOPSIS
|
|
||||||
Sets GPO Owner to Domain Admins or other choosen account
|
## SYNTAX
|
||||||
|
### Type (Default)
|
||||||
## SYNTAX
|
```powershell
|
||||||
|
Set-GPOZaurrOwner -Type <string> [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-Principal <string>] [-SkipSysvol] [-LimitProcessing <int>] [-ApprovedOwner <string[]>] [-Action <string>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
### Type (Default)
|
```
|
||||||
```
|
|
||||||
Set-GPOZaurrOwner -Type <String> [-Forest <String>] [-ExcludeDomains <String[]>] [-IncludeDomains <String[]>]
|
### Named
|
||||||
[-ExtendedForestInformation <IDictionary>] [-Principal <String>] [-SkipSysvol] [-LimitProcessing <Int32>]
|
```powershell
|
||||||
[-ApprovedOwner <String[]>] [-Action <String>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
|
Set-GPOZaurrOwner [-GPOName <string>] [-GPOGuid <string>] [-Forest <string>] [-ExcludeDomains <string[]>] [-IncludeDomains <string[]>] [-ExtendedForestInformation <IDictionary>] [-Principal <string>] [-SkipSysvol] [-LimitProcessing <int>] [-ApprovedOwner <string[]>] [-Action <string>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
|
|
||||||
### Named
|
## DESCRIPTION
|
||||||
```
|
Sets GPO Owner to Domain Admins or other choosen account. GPO Owner is set in AD and SYSVOL unless specified otherwise. If account doesn't require change, no change is done.
|
||||||
Set-GPOZaurrOwner [-GPOName <String>] [-GPOGuid <String>] [-Forest <String>] [-ExcludeDomains <String[]>]
|
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Principal <String>] [-SkipSysvol]
|
## EXAMPLES
|
||||||
[-LimitProcessing <Int32>] [-ApprovedOwner <String[]>] [-Action <String>] [-Force] [-WhatIf] [-Confirm]
|
|
||||||
[<CommonParameters>]
|
### EXAMPLE 1
|
||||||
```
|
```powershell
|
||||||
|
PS > Set-GPOZaurrOwner -Type All -Verbose -WhatIf -LimitProcessing 2
|
||||||
## DESCRIPTION
|
```
|
||||||
Sets GPO Owner to Domain Admins or other choosen account.
|
|
||||||
GPO Owner is set in AD and SYSVOL unless specified otherwise.
|
|
||||||
If account doesn't require change, no change is done.
|
## PARAMETERS
|
||||||
|
|
||||||
## EXAMPLES
|
### -Action
|
||||||
|
{{ Fill Action Description }}
|
||||||
### EXAMPLE 1
|
|
||||||
```
|
```yaml
|
||||||
Set-GPOZaurrOwner -Type All -Verbose -WhatIf -LimitProcessing 2
|
Type: String
|
||||||
```
|
Parameter Sets: Type, Named
|
||||||
|
Aliases:
|
||||||
## PARAMETERS
|
Possible values: OnlyAD, OnlyFileSystem
|
||||||
|
|
||||||
### -Type
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -ApprovedOwner
|
||||||
|
{{ Fill ApprovedOwner Description }}
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: String[]
|
||||||
|
Parameter Sets: Type, Named
|
||||||
|
Aliases: Exclusion, Exclusions
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -ExcludeDomains
|
||||||
|
Exclude domain from search, by default whole forest is scanned
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: String[]
|
||||||
|
Parameter Sets: Type, Named
|
||||||
|
Aliases:
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -ExtendedForestInformation
|
||||||
|
Ability to provide Forest Information from another command to speed up processing
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: IDictionary
|
||||||
|
Parameter Sets: Type, Named
|
||||||
|
Aliases:
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -Force
|
||||||
|
Pushes new owner regardless if it's already set or not
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: SwitchParameter
|
||||||
|
Parameter Sets: Type, Named
|
||||||
|
Aliases:
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: False
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -Forest
|
||||||
|
Target different Forest, by default current forest is used
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: String
|
||||||
|
Parameter Sets: Type, Named
|
||||||
|
Aliases: ForestName
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -GPOGuid
|
||||||
|
GUID of GPO. By default all GPOs are targetted
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: String
|
||||||
|
Parameter Sets: Named
|
||||||
|
Aliases: GUID, GPOID
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -GPOName
|
||||||
|
Name of GPO. By default all GPOs are targetted
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: String
|
||||||
|
Parameter Sets: Named
|
||||||
|
Aliases:
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -IncludeDomains
|
||||||
|
Include only specific domains, by default whole forest is scanned
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: String[]
|
||||||
|
Parameter Sets: Type, Named
|
||||||
|
Aliases: Domain, Domains
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -LimitProcessing
|
||||||
|
Allows to specify maximum number of items that will be fixed in a single run. It doesn't affect amount of GPOs processed
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: Int32
|
||||||
|
Parameter Sets: Type, Named
|
||||||
|
Aliases:
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: 2147483647
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -Principal
|
||||||
|
Parameter description
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: String
|
||||||
|
Parameter Sets: Type, Named
|
||||||
|
Aliases:
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -SkipSysvol
|
||||||
|
Set GPO Owner only in Active Directory. By default GPO Owner is being set in both places
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: SwitchParameter
|
||||||
|
Parameter Sets: Type, Named
|
||||||
|
Aliases:
|
||||||
|
Possible values:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: named
|
||||||
|
Default value: False
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
|
|
||||||
|
### -Type
|
||||||
Unknown - finds unknown Owners and sets them to Administrative (Domain Admins) or chosen principal
|
Unknown - finds unknown Owners and sets them to Administrative (Domain Admins) or chosen principal
|
||||||
NotMatching - find administrative groups only and if sysvol and gpo doesn't match - replace with chosen principal or Domain Admins if not specified
|
NotMatching - find administrative groups only and if sysvol and gpo doesn't match - replace with chosen principal or Domain Admins if not specified
|
||||||
Inconsistent - same as not NotMatching
|
Inconsistent - same as not NotMatching
|
||||||
NotAdministrative - combination of Unknown/NotMatching and NotAdministrative - replace with chosen principal or Domain Admins if not specified
|
NotAdministrative - combination of Unknown/NotMatching and NotAdministrative - replace with chosen principal or Domain Admins if not specified
|
||||||
All - if Owner is known it checks if it's Administrative, if it sn't it fixes that.
|
All - if Owner is known it checks if it's Administrative, if it sn't it fixes that. If owner is unknown it fixes it
|
||||||
If owner is unknown it fixes it
|
|
||||||
|
```yaml
|
||||||
```yaml
|
Type: String
|
||||||
Type: String
|
Parameter Sets: Type
|
||||||
Parameter Sets: Type
|
Aliases:
|
||||||
Aliases:
|
Possible values: Unknown, NotAdministrative, NotMatching, Inconsistent, All
|
||||||
|
|
||||||
Required: True
|
Required: True
|
||||||
Position: Named
|
Position: named
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: False
|
Accept pipeline input: False
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: True
|
||||||
```
|
```
|
||||||
|
|
||||||
### -GPOName
|
### CommonParameters
|
||||||
Name of GPO.
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
By default all GPOs are targetted
|
|
||||||
|
## INPUTS
|
||||||
```yaml
|
|
||||||
Type: String
|
- `None`
|
||||||
Parameter Sets: Named
|
|
||||||
Aliases:
|
## OUTPUTS
|
||||||
|
|
||||||
Required: False
|
- `None`
|
||||||
Position: Named
|
|
||||||
Default value: None
|
## RELATED LINKS
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
- None
|
||||||
```
|
|
||||||
|
|
||||||
### -GPOGuid
|
|
||||||
GUID of GPO.
|
|
||||||
By default all GPOs are targetted
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: Named
|
|
||||||
Aliases: GUID, GPOID
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Forest
|
|
||||||
Target different Forest, by default current forest is used
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: ForestName
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ExcludeDomains
|
|
||||||
Exclude domain from search, by default whole forest is scanned
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -IncludeDomains
|
|
||||||
Include only specific domains, by default whole forest is scanned
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: Domain, Domains
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ExtendedForestInformation
|
|
||||||
Ability to provide Forest Information from another command to speed up processing
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: IDictionary
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Principal
|
|
||||||
Parameter description
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -SkipSysvol
|
|
||||||
Set GPO Owner only in Active Directory.
|
|
||||||
By default GPO Owner is being set in both places
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: False
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -LimitProcessing
|
|
||||||
Allows to specify maximum number of items that will be fixed in a single run.
|
|
||||||
It doesn't affect amount of GPOs processed
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: Int32
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: 2147483647
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ApprovedOwner
|
|
||||||
{{ Fill ApprovedOwner Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: Exclusion, Exclusions
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Action
|
|
||||||
{{ Fill Action Description }}
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Force
|
|
||||||
Pushes new owner regardless if it's already set or not
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: False
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -WhatIf
|
|
||||||
Shows what would happen if the cmdlet runs.
|
|
||||||
The cmdlet is not run.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: wi
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Confirm
|
|
||||||
Prompts you for confirmation before running the cmdlet.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: cf
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
## NOTES
|
|
||||||
General notes
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
+43
-193
@@ -1,193 +1,43 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Set-GPOZaurrStatus
|
||||||
# Set-GPOZaurrStatus
|
## SYNOPSIS
|
||||||
|
{{ Fill in the Synopsis }}
|
||||||
## SYNOPSIS
|
|
||||||
Enables or disables user/computer section of Group Policy.
|
## SYNTAX
|
||||||
|
```powershell
|
||||||
## SYNTAX
|
Set-GPOZaurrStatus
|
||||||
|
```
|
||||||
### GPOName (Default)
|
|
||||||
```
|
## DESCRIPTION
|
||||||
Set-GPOZaurrStatus -GPOName <String> -Status <GpoStatus> [-Forest <String>] [-ExcludeDomains <String[]>]
|
{{ Fill in the Description }}
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-WhatIf] [-Confirm]
|
|
||||||
[<CommonParameters>]
|
## EXAMPLES
|
||||||
```
|
|
||||||
|
### EXAMPLE 1
|
||||||
### GPOGUID
|
```powershell
|
||||||
```
|
Set-GPOZaurrStatus
|
||||||
Set-GPOZaurrStatus -GPOGuid <String> -Status <GpoStatus> [-Forest <String>] [-ExcludeDomains <String[]>]
|
```
|
||||||
[-IncludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-WhatIf] [-Confirm]
|
|
||||||
[<CommonParameters>]
|
|
||||||
```
|
## PARAMETERS
|
||||||
|
|
||||||
## DESCRIPTION
|
### CommonParameters
|
||||||
Enables or disables user/computer section of Group Policy.
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
|
|
||||||
## EXAMPLES
|
## INPUTS
|
||||||
|
|
||||||
### EXAMPLE 1
|
- `None`
|
||||||
```
|
|
||||||
Set-GPOZaurrStatus -Name 'TEST | Empty GPO - AD.EVOTEC.PL CrossDomain GPO' -Status AllSettingsEnabled -Verbose
|
## OUTPUTS
|
||||||
```
|
|
||||||
|
- `None`
|
||||||
### EXAMPLE 2
|
|
||||||
```
|
## RELATED LINKS
|
||||||
Set-GPOZaurrStatus -Name 'TEST | Empty GPO - AD.EVOTEC.PL CrossDomain GPO' -DomainName ad.evotec.pl -Status AllSettingsEnabled -Verbose
|
|
||||||
```
|
- None
|
||||||
|
|
||||||
## PARAMETERS
|
|
||||||
|
|
||||||
### -GPOName
|
|
||||||
Provide Group Policy Name
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: GPOName
|
|
||||||
Aliases: Name, DisplayName
|
|
||||||
|
|
||||||
Required: True
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -GPOGuid
|
|
||||||
Provide Group Policy GUID
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: GPOGUID
|
|
||||||
Aliases: GUID, GPOID
|
|
||||||
|
|
||||||
Required: True
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Status
|
|
||||||
Choose a status for provided Group Policy
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: GpoStatus
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
Accepted values: AllSettingsDisabled, UserSettingsDisabled, ComputerSettingsDisabled, AllSettingsEnabled
|
|
||||||
|
|
||||||
Required: True
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Forest
|
|
||||||
Choose forest to target.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: ForestName
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ExcludeDomains
|
|
||||||
Exclude domains from trying to find Group Policy Name or GUID
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -IncludeDomains
|
|
||||||
Include domain (one or more) to find Group Policy Name or GUID
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: String[]
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: Domain, Domains, DomainName
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -ExtendedForestInformation
|
|
||||||
Provide Extended Forest Information
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: IDictionary
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases:
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -WhatIf
|
|
||||||
Shows what would happen if the cmdlet runs.
|
|
||||||
The cmdlet is not run.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: wi
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### -Confirm
|
|
||||||
Prompts you for confirmation before running the cmdlet.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
Type: SwitchParameter
|
|
||||||
Parameter Sets: (All)
|
|
||||||
Aliases: cf
|
|
||||||
|
|
||||||
Required: False
|
|
||||||
Position: Named
|
|
||||||
Default value: None
|
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
|
||||||
|
|
||||||
### CommonParameters
|
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
|
||||||
## INPUTS
|
|
||||||
|
|
||||||
## OUTPUTS
|
|
||||||
|
|
||||||
## NOTES
|
|
||||||
General notes
|
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
+109
-110
@@ -1,110 +1,109 @@
|
|||||||
---
|
---
|
||||||
external help file: GPOZaurr-help.xml
|
external help file: GPOZaurr-help.xml
|
||||||
Module Name: GPOZaurr
|
Module Name: GPOZaurr
|
||||||
online version:
|
online version: https://github.com/EvotecIT/GPOZaurr
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
# Skip-GroupPolicy
|
||||||
# Skip-GroupPolicy
|
## SYNOPSIS
|
||||||
|
Used within ScriptBlocks only. Allows to exclude Group Policy from being affected by fixes
|
||||||
## SYNOPSIS
|
|
||||||
Used within ScriptBlocks only.
|
## SYNTAX
|
||||||
Allows to exclude Group Policy from being affected by fixes
|
### Name (Default)
|
||||||
|
```powershell
|
||||||
## SYNTAX
|
Skip-GroupPolicy [-Name <string>] [-DomaiName <string>] [<CommonParameters>]
|
||||||
|
```
|
||||||
### Name (Default)
|
|
||||||
```
|
### Guid
|
||||||
Skip-GroupPolicy [-Name <String>] [-DomaiName <String>] [<CommonParameters>]
|
```powershell
|
||||||
```
|
Skip-GroupPolicy [-GUID <string>] [-DomaiName <string>] [<CommonParameters>]
|
||||||
|
```
|
||||||
### Guid
|
|
||||||
```
|
## DESCRIPTION
|
||||||
Skip-GroupPolicy [-GUID <String>] [-DomaiName <String>] [<CommonParameters>]
|
Used within ScriptBlocks only. Allows to exclude Group Policy from being affected by fixes. Only some commands support it. The goal is to support all cmdlets.
|
||||||
```
|
|
||||||
|
## EXAMPLES
|
||||||
## DESCRIPTION
|
|
||||||
Used within ScriptBlocks only.
|
### EXAMPLE 1
|
||||||
Allows to exclude Group Policy from being affected by fixes.
|
```powershell
|
||||||
Only some commands support it.
|
PS > Optimize-GPOZaurr -All -WhatIf -Verbose -LimitProcessing 2 {
|
||||||
The goal is to support all cmdlets.
|
Skip-GroupPolicy -Name 'TEST | Drive Mapping 1'
|
||||||
|
Skip-GroupPolicy -Name 'TEST | Drive Mapping 2'
|
||||||
## EXAMPLES
|
}
|
||||||
|
```
|
||||||
### EXAMPLE 1
|
|
||||||
```
|
|
||||||
Optimize-GPOZaurr -All -WhatIf -Verbose -LimitProcessing 2 {
|
### EXAMPLE 2
|
||||||
```
|
```powershell
|
||||||
|
PS > Remove-GPOZaurr -Type Empty, Unlinked -BackupPath "$Env:UserProfile\Desktop\GPO" -BackupDated -LimitProcessing 2 -Verbose -WhatIf {
|
||||||
Skip-GroupPolicy -Name 'TEST | Drive Mapping 1'
|
Skip-GroupPolicy -Name 'TEST | Drive Mapping 1'
|
||||||
Skip-GroupPolicy -Name 'TEST | Drive Mapping 2'
|
Skip-GroupPolicy -Name 'TEST | Drive Mapping 2' -DomaiName 'ad.evotec.pl'
|
||||||
}
|
}
|
||||||
|
```
|
||||||
### EXAMPLE 2
|
|
||||||
```
|
|
||||||
Remove-GPOZaurr -Type Empty, Unlinked -BackupPath "$Env:UserProfile\Desktop\GPO" -BackupDated -LimitProcessing 2 -Verbose -WhatIf {
|
## PARAMETERS
|
||||||
```
|
|
||||||
|
### -DomaiName
|
||||||
Skip-GroupPolicy -Name 'TEST | Drive Mapping 1'
|
Define DomainName where Group Policy is located. Otherwise each domain will be checked and skipped if found with same name.
|
||||||
Skip-GroupPolicy -Name 'TEST | Drive Mapping 2' -DomaiName 'ad.evotec.pl'
|
|
||||||
}
|
```yaml
|
||||||
|
Type: String
|
||||||
## PARAMETERS
|
Parameter Sets: Name, Guid
|
||||||
|
Aliases:
|
||||||
### -Name
|
Possible values:
|
||||||
Define Group Policy Name to skip
|
|
||||||
|
Required: False
|
||||||
```yaml
|
Position: named
|
||||||
Type: String
|
Default value: None
|
||||||
Parameter Sets: Name
|
Accept pipeline input: False
|
||||||
Aliases: GpoName, DisplayName
|
Accept wildcard characters: True
|
||||||
|
```
|
||||||
Required: False
|
|
||||||
Position: Named
|
### -GUID
|
||||||
Default value: None
|
{{ Fill GUID Description }}
|
||||||
Accept pipeline input: False
|
|
||||||
Accept wildcard characters: False
|
```yaml
|
||||||
```
|
Type: String
|
||||||
|
Parameter Sets: Guid
|
||||||
### -GUID
|
Aliases: ID
|
||||||
{{ Fill GUID Description }}
|
Possible values:
|
||||||
|
|
||||||
```yaml
|
Required: False
|
||||||
Type: String
|
Position: named
|
||||||
Parameter Sets: Guid
|
Default value: None
|
||||||
Aliases: ID
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
Required: False
|
```
|
||||||
Position: Named
|
|
||||||
Default value: None
|
### -Name
|
||||||
Accept pipeline input: False
|
Define Group Policy Name to skip
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
```yaml
|
||||||
|
Type: String
|
||||||
### -DomaiName
|
Parameter Sets: Name
|
||||||
Define DomainName where Group Policy is located.
|
Aliases: GpoName, DisplayName
|
||||||
Otherwise each domain will be checked and skipped if found with same name.
|
Possible values:
|
||||||
|
|
||||||
```yaml
|
Required: False
|
||||||
Type: String
|
Position: named
|
||||||
Parameter Sets: (All)
|
Default value: None
|
||||||
Aliases:
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: True
|
||||||
Required: False
|
```
|
||||||
Position: Named
|
|
||||||
Default value: None
|
### CommonParameters
|
||||||
Accept pipeline input: False
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||||
Accept wildcard characters: False
|
|
||||||
```
|
## INPUTS
|
||||||
|
|
||||||
### CommonParameters
|
- `None`
|
||||||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
|
||||||
|
## OUTPUTS
|
||||||
## INPUTS
|
|
||||||
|
- `None`
|
||||||
## OUTPUTS
|
|
||||||
|
## RELATED LINKS
|
||||||
## NOTES
|
|
||||||
General notes
|
- None
|
||||||
|
|
||||||
## RELATED LINKS
|
|
||||||
|
|||||||
+39
-38
@@ -1,39 +1,40 @@
|
|||||||
@{
|
@{
|
||||||
AliasesToExport = @('Get-GPOZaurrSysvol', 'Get-GPOZaurrFilesPolicyDefinitions', 'Show-GPOZaurr', 'Show-GPO', 'Find-GPO', 'Remove-GPOZaurrOrphaned')
|
AliasesToExport = @('Get-GPOZaurrSysvol', 'Get-GPOZaurrFilesPolicyDefinitions', 'Show-GPOZaurr', 'Show-GPO', 'Find-GPO', 'Remove-GPOZaurrOrphaned')
|
||||||
Author = 'Przemyslaw Klys'
|
Author = 'Przemyslaw Klys'
|
||||||
CmdletsToExport = @()
|
CmdletsToExport = @()
|
||||||
CompanyName = 'Evotec'
|
CompanyName = 'Evotec'
|
||||||
CompatiblePSEditions = @('Desktop')
|
CompatiblePSEditions = @('Desktop')
|
||||||
Copyright = '(c) 2011 - 2025 Przemyslaw Klys @ Evotec. All rights reserved.'
|
Copyright = '(c) 2011 - 2026 Przemyslaw Klys @ Evotec. All rights reserved.'
|
||||||
Description = 'Group Policy Eater is a PowerShell module that aims to gather information about Group Policies but also allows fixing issues that you may find in them.'
|
Description = 'Group Policy Eater is a PowerShell module that aims to gather information about Group Policies but also allows fixing issues that you may find in them.'
|
||||||
FunctionsToExport = @('Add-GPOPermission', 'Add-GPOZaurrPermission', 'Backup-GPOZaurr', 'Clear-GPOZaurrSysvolDFSR', 'ConvertFrom-CSExtension', 'Export-GPOZaurrContent', 'Find-CSExtension', 'Get-GPOZaurr', 'Get-GPOZaurrAD', 'Get-GPOZaurrBackupInformation', 'Get-GPOZaurrBroken', 'Get-GPOZaurrBrokenLink', 'Get-GPOZaurrDictionary', 'Get-GPOZaurrDuplicateObject', 'Get-GPOZaurrFiles', 'Get-GPOZaurrFilesPolicyDefinition', 'Get-GPOZaurrFolders', 'Get-GPOZaurrInheritance', 'Get-GPOZaurrLegacyFiles', 'Get-GPOZaurrLink', 'Get-GPOZaurrLinkSummary', 'Get-GPOZaurrMissingFiles', 'Get-GPOZaurrNetLogon', 'Get-GPOZaurrOrganizationalUnit', 'Get-GPOZaurrOwner', 'Get-GPOZaurrPassword', 'Get-GPOZaurrPermission', 'Get-GPOZaurrPermissionAnalysis', 'Get-GPOZaurrPermissionConsistency', 'Get-GPOZaurrPermissionIssue', 'Get-GPOZaurrPermissionRoot', 'Get-GPOZaurrPermissionSummary', 'Get-GPOZaurrRedirect', 'Get-GPOZaurrSysvolDFSR', 'Get-GPOZaurrUpdates', 'Get-GPOZaurrWMI', 'Invoke-GPOZaurr', 'Invoke-GPOZaurrContent', 'Invoke-GPOZaurrPermission', 'Invoke-GPOZaurrSupport', 'New-GPOZaurrWMI', 'Optimize-GPOZaurr', 'Remove-GPOPermission', 'Remove-GPOZaurr', 'Remove-GPOZaurrBroken', 'Remove-GPOZaurrDuplicateObject', 'Remove-GPOZaurrFolders', 'Remove-GPOZaurrLegacyFiles', 'Remove-GPOZaurrLinkEmptyOU', 'Remove-GPOZaurrPermission', 'Remove-GPOZaurrWMI', 'Repair-GPOZaurrBrokenLink', 'Repair-GPOZaurrNetLogonOwner', 'Repair-GPOZaurrPermission', 'Repair-GPOZaurrPermissionConsistency', 'Restore-GPOZaurr', 'Save-GPOZaurrFiles', 'Set-GPOOwner', 'Set-GPOZaurrOwner', 'Set-GPOZaurrStatus', 'Skip-GroupPolicy')
|
FunctionsToExport = @('Add-GPOPermission', 'Add-GPOZaurrPermission', 'Backup-GPOZaurr', 'Clear-GPOZaurrSysvolDFSR', 'ConvertFrom-CSExtension', 'Export-GPOZaurrContent', 'Find-CSExtension', 'Get-GPOZaurr', 'Get-GPOZaurrAD', 'Get-GPOZaurrBackupInformation', 'Get-GPOZaurrBroken', 'Get-GPOZaurrBrokenLink', 'Get-GPOZaurrDictionary', 'Get-GPOZaurrDuplicateObject', 'Get-GPOZaurrFiles', 'Get-GPOZaurrFilesPolicyDefinition', 'Get-GPOZaurrFolders', 'Get-GPOZaurrInheritance', 'Get-GPOZaurrLegacyFiles', 'Get-GPOZaurrLink', 'Get-GPOZaurrLinkSummary', 'Get-GPOZaurrMissingFiles', 'Get-GPOZaurrNetLogon', 'Get-GPOZaurrOrganizationalUnit', 'Get-GPOZaurrOwner', 'Get-GPOZaurrPassword', 'Get-GPOZaurrPermission', 'Get-GPOZaurrPermissionAnalysis', 'Get-GPOZaurrPermissionConsistency', 'Get-GPOZaurrPermissionIssue', 'Get-GPOZaurrPermissionRoot', 'Get-GPOZaurrPermissionSummary', 'Get-GPOZaurrRedirect', 'Get-GPOZaurrSysvolDFSR', 'Get-GPOZaurrUpdates', 'Get-GPOZaurrWMI', 'Invoke-GPOZaurr', 'Invoke-GPOZaurrContent', 'Invoke-GPOZaurrPermission', 'Invoke-GPOZaurrSupport', 'New-GPOZaurrWMI', 'Optimize-GPOZaurr', 'Remove-GPOPermission', 'Remove-GPOZaurr', 'Remove-GPOZaurrBroken', 'Remove-GPOZaurrDuplicateObject', 'Remove-GPOZaurrFolders', 'Remove-GPOZaurrLegacyFiles', 'Remove-GPOZaurrLinkEmptyOU', 'Remove-GPOZaurrPermission', 'Remove-GPOZaurrWMI', 'Repair-GPOZaurrBrokenLink', 'Repair-GPOZaurrNetLogonOwner', 'Repair-GPOZaurrPermission', 'Repair-GPOZaurrPermissionConsistency', 'Restore-GPOZaurr', 'Save-GPOZaurrFiles', 'Set-GPOOwner', 'Set-GPOZaurrOwner', 'Set-GPOZaurrStatus', 'Skip-GroupPolicy')
|
||||||
GUID = 'f7d4c9e4-0298-4f51-ad77-e8e3febebbde'
|
GUID = 'f7d4c9e4-0298-4f51-ad77-e8e3febebbde'
|
||||||
ModuleVersion = '1.1.10'
|
ModuleVersion = '1.1.10'
|
||||||
PowerShellVersion = '5.1'
|
PowerShellVersion = '5.1'
|
||||||
PrivateData = @{
|
PrivateData = @{
|
||||||
PSData = @{
|
PSData = @{
|
||||||
ExternalModuleDependencies = @('CimCmdlets', 'Microsoft.PowerShell.Management', 'Microsoft.PowerShell.Utility', 'Microsoft.PowerShell.Security')
|
ExternalModuleDependencies = @('CimCmdlets')
|
||||||
ProjectUri = 'https://github.com/EvotecIT/GPOZaurr'
|
ProjectUri = 'https://github.com/EvotecIT/GPOZaurr'
|
||||||
RequireLicenseAcceptance = $false
|
RequireLicenseAcceptance = $false
|
||||||
Tags = @('Windows', 'ActiveDirectory', 'GPO', 'GroupPolicy')
|
Tags = @('Windows', 'ActiveDirectory', 'GPO', 'GroupPolicy')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
RequiredModules = @(@{
|
RequiredModules = @(@{
|
||||||
Guid = '0b0ba5c5-ec85-4c2b-a718-874e55a8bc3f'
|
Guid = '0b0ba5c5-ec85-4c2b-a718-874e55a8bc3f'
|
||||||
ModuleName = 'PSWriteColor'
|
ModuleName = 'PSWriteColor'
|
||||||
ModuleVersion = '1.0.3'
|
ModuleVersion = '1.0.3'
|
||||||
}, @{
|
}, @{
|
||||||
Guid = 'ee272aa8-baaa-4edf-9f45-b6d6f7d844fe'
|
Guid = 'ee272aa8-baaa-4edf-9f45-b6d6f7d844fe'
|
||||||
ModuleName = 'PSSharedGoods'
|
ModuleName = 'PSSharedGoods'
|
||||||
ModuleVersion = '0.0.312'
|
ModuleVersion = '0.0.313.1'
|
||||||
}, @{
|
}, @{
|
||||||
Guid = '9fc9fd61-7f11-4f4b-a527-084086f1905f'
|
Guid = '9fc9fd61-7f11-4f4b-a527-084086f1905f'
|
||||||
ModuleName = 'ADEssentials'
|
ModuleName = 'ADEssentials'
|
||||||
ModuleVersion = '0.0.267'
|
ModuleVersion = '1.0.4.1'
|
||||||
}, @{
|
}, @{
|
||||||
Guid = 'a7bdf640-f5cb-4acf-9de0-365b322d245c'
|
Guid = 'a7bdf640-f5cb-4acf-9de0-365b322d245c'
|
||||||
ModuleName = 'PSWriteHTML'
|
ModuleName = 'PSWriteHTML'
|
||||||
ModuleVersion = '1.27.0'
|
ModuleVersion = '1.41.0.5'
|
||||||
}, 'CimCmdlets', 'Microsoft.PowerShell.Management', 'Microsoft.PowerShell.Utility', 'Microsoft.PowerShell.Security')
|
})
|
||||||
RootModule = 'GPOZaurr.psm1'
|
RootModule = 'GPOZaurr.psm1'
|
||||||
|
ScriptsToProcess = @()
|
||||||
}
|
}
|
||||||
+53
-53
@@ -1,54 +1,54 @@
|
|||||||
#Get public and private function definition files.
|
#Get public and private function definition files.
|
||||||
$Public = @( Get-ChildItem -Path $PSScriptRoot\Public\*.ps1 -ErrorAction SilentlyContinue -Recurse )
|
$Public = @( Get-ChildItem -Path $PSScriptRoot\Public\*.ps1 -ErrorAction SilentlyContinue -Recurse )
|
||||||
$Private = @( Get-ChildItem -Path $PSScriptRoot\Private\*.ps1 -ErrorAction SilentlyContinue -Recurse )
|
$Private = @( Get-ChildItem -Path $PSScriptRoot\Private\*.ps1 -ErrorAction SilentlyContinue -Recurse )
|
||||||
|
|
||||||
$AssemblyFolders = Get-ChildItem -Path $PSScriptRoot\Lib -Directory -ErrorAction SilentlyContinue
|
$AssemblyFolders = Get-ChildItem -Path $PSScriptRoot\Lib -Directory -ErrorAction SilentlyContinue
|
||||||
if ($AssemblyFolders.BaseName -contains 'Standard') {
|
if ($AssemblyFolders.BaseName -contains 'Standard') {
|
||||||
$Assembly = @( Get-ChildItem -Path $PSScriptRoot\Lib\Standard\*.dll -ErrorAction SilentlyContinue )
|
$Assembly = @( Get-ChildItem -Path $PSScriptRoot\Lib\Standard\*.dll -ErrorAction SilentlyContinue )
|
||||||
} else {
|
} else {
|
||||||
if ($PSEdition -eq 'Core') {
|
if ($PSEdition -eq 'Core') {
|
||||||
$Assembly = @( Get-ChildItem -Path $PSScriptRoot\Lib\Core\*.dll -ErrorAction SilentlyContinue )
|
$Assembly = @( Get-ChildItem -Path $PSScriptRoot\Lib\Core\*.dll -ErrorAction SilentlyContinue )
|
||||||
} else {
|
} else {
|
||||||
$Assembly = @( Get-ChildItem -Path $PSScriptRoot\Lib\Default\*.dll -ErrorAction SilentlyContinue )
|
$Assembly = @( Get-ChildItem -Path $PSScriptRoot\Lib\Default\*.dll -ErrorAction SilentlyContinue )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$FoundErrors = @(
|
$FoundErrors = @(
|
||||||
foreach ($Import in @($Assembly)) {
|
foreach ($Import in @($Assembly)) {
|
||||||
try {
|
try {
|
||||||
Add-Type -Path $Import.Fullname -ErrorAction Stop
|
Add-Type -Path $Import.Fullname -ErrorAction Stop
|
||||||
} catch [System.Reflection.ReflectionTypeLoadException] {
|
} catch [System.Reflection.ReflectionTypeLoadException] {
|
||||||
Write-Warning "Processing $($Import.Name) Exception: $($_.Exception.Message)"
|
Write-Warning "Processing $($Import.Name) Exception: $($_.Exception.Message)"
|
||||||
$LoaderExceptions = $($_.Exception.LoaderExceptions) | Sort-Object -Unique
|
$LoaderExceptions = $($_.Exception.LoaderExceptions) | Sort-Object -Unique
|
||||||
foreach ($E in $LoaderExceptions) {
|
foreach ($E in $LoaderExceptions) {
|
||||||
Write-Warning "Processing $($Import.Name) LoaderExceptions: $($E.Message)"
|
Write-Warning "Processing $($Import.Name) LoaderExceptions: $($E.Message)"
|
||||||
}
|
}
|
||||||
$true
|
$true
|
||||||
#Write-Error -Message "StackTrace: $($_.Exception.StackTrace)"
|
#Write-Error -Message "StackTrace: $($_.Exception.StackTrace)"
|
||||||
} catch {
|
} catch {
|
||||||
Write-Warning "Processing $($Import.Name) Exception: $($_.Exception.Message)"
|
Write-Warning "Processing $($Import.Name) Exception: $($_.Exception.Message)"
|
||||||
$LoaderExceptions = $($_.Exception.LoaderExceptions) | Sort-Object -Unique
|
$LoaderExceptions = $($_.Exception.LoaderExceptions) | Sort-Object -Unique
|
||||||
foreach ($E in $LoaderExceptions) {
|
foreach ($E in $LoaderExceptions) {
|
||||||
Write-Warning "Processing $($Import.Name) LoaderExceptions: $($E.Message)"
|
Write-Warning "Processing $($Import.Name) LoaderExceptions: $($E.Message)"
|
||||||
}
|
}
|
||||||
$true
|
$true
|
||||||
#Write-Error -Message "StackTrace: $($_.Exception.StackTrace)"
|
#Write-Error -Message "StackTrace: $($_.Exception.StackTrace)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#Dot source the files
|
#Dot source the files
|
||||||
foreach ($Import in @($Private + $Public)) {
|
foreach ($Import in @($Private + $Public)) {
|
||||||
try {
|
try {
|
||||||
. $Import.Fullname
|
. $Import.Fullname
|
||||||
} catch {
|
} catch {
|
||||||
Write-Error -Message "Failed to import functions from $($import.Fullname): $_"
|
Write-Error -Message "Failed to import functions from $($import.Fullname): $_"
|
||||||
$true
|
$true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
if ($FoundErrors.Count -gt 0) {
|
if ($FoundErrors.Count -gt 0) {
|
||||||
$ModuleName = (Get-ChildItem $PSScriptRoot\*.psd1).BaseName
|
$ModuleName = (Get-ChildItem $PSScriptRoot\*.psd1).BaseName
|
||||||
Write-Warning "Importing module $ModuleName failed. Fix errors before continuing."
|
Write-Warning "Importing module $ModuleName failed. Fix errors before continuing."
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
Export-ModuleMember -Function '*' -Alias '*'
|
Export-ModuleMember -Function '*' -Alias '*'
|
||||||
@@ -28,11 +28,11 @@
|
|||||||
Runs the function online to retrieve the latest Group Policy information.
|
Runs the function online to retrieve the latest Group Policy information.
|
||||||
|
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
Invoke-GPOZaurrSupport -Type HTML -ComputerName "RemoteComputer" -UserName "Admin" -Path "C:\Temp\GPOReport.html"
|
Invoke-GPOZaurrSupport -Type HTML -ComputerName "RemoteComputer" -UserName "Admin" -Path (Join-Path $env:TEMP 'GPOReport.html')
|
||||||
Retrieves Group Policy information in HTML format from a remote computer and saves it to a specified path.
|
Retrieves Group Policy information in HTML format from a remote computer and saves it to a specified path.
|
||||||
|
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
Invoke-GPOZaurrSupport -Type XML -Path "C:\Temp\GPOReport.xml" -Online
|
Invoke-GPOZaurrSupport -Type XML -Path (Join-Path $env:TEMP 'GPOReport.xml') -Online
|
||||||
Retrieves the latest Group Policy information in XML format and saves it to a specified path.
|
Retrieves the latest Group Policy information in XML format and saves it to a specified path.
|
||||||
|
|
||||||
#>
|
#>
|
||||||
|
|||||||
Reference in New Issue
Block a user