mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-08-19 14:46:23 +00:00
Update docs
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
function Find-CSExtension {
|
||||
<#
|
||||
.SYNOPSIS
|
||||
This function retrieves Group Policy Client Side Extensions (CSEs) from a specified Windows 10 computer.
|
||||
This function retrieves Group Policy Client Side Extensions (CSEs) from a specified Windows computer.
|
||||
|
||||
.DESCRIPTION
|
||||
The Find-CSExtension function lists Group Policy Client Side Extensions (CSEs) configured on a Windows 10 computer. It queries the Windows Registry to retrieve information about the CSEs.
|
||||
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.
|
||||
|
||||
.PARAMETER CSE
|
||||
Specifies an array of CSE names to filter the results. If not provided, all CSEs will be listed.
|
||||
|
||||
@@ -1,28 +1,28 @@
|
||||
function Get-GPOZaurrLink {
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Retrieves Group Policy Object (GPO) Zaurr links based on specified criteria.
|
||||
Retrieves Group Policy Object (GPO) links based on specified criteria.
|
||||
|
||||
.DESCRIPTION
|
||||
This function retrieves GPO Zaurr links based on various parameters such as ADObject, Filter, Linked, Site, etc. It provides flexibility in searching for GPO Zaurr links within Active Directory.
|
||||
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.
|
||||
|
||||
.PARAMETER ADObject
|
||||
Specifies the Active Directory object(s) to search for GPO Zaurr links.
|
||||
Specifies the Active Directory object(s) to search for GPO links.
|
||||
|
||||
.PARAMETER Filter
|
||||
Specifies the filter criteria to search for GPO Zaurr links.
|
||||
Specifies the filter criteria to search for GPO links.
|
||||
|
||||
.PARAMETER SearchBase
|
||||
Specifies the search base for filtering GPO Zaurr links.
|
||||
Specifies the search base for filtering GPO links.
|
||||
|
||||
.PARAMETER SearchScope
|
||||
Specifies the search scope for filtering GPO Zaurr links.
|
||||
Specifies the search scope for filtering GPO links.
|
||||
|
||||
.PARAMETER Linked
|
||||
Specifies the type of linked GPOs to retrieve. Valid values are 'All', 'Root', 'DomainControllers', 'Site', and 'OrganizationalUnit'.
|
||||
|
||||
.PARAMETER Site
|
||||
Specifies the site(s) to search for GPO Zaurr links.
|
||||
Specifies the site(s) to search for GPO links.
|
||||
|
||||
.PARAMETER Limited
|
||||
Indicates whether to limit the search results.
|
||||
@@ -34,7 +34,7 @@
|
||||
Specifies a cache for storing GPO information.
|
||||
|
||||
.PARAMETER Forest
|
||||
Specifies the forest name for filtering GPO Zaurr links.
|
||||
Specifies the forest name for filtering GPO links.
|
||||
|
||||
.PARAMETER ExcludeDomains
|
||||
Specifies the domains to exclude from the search.
|
||||
|
||||
+11
-11
@@ -1,40 +1,40 @@
|
||||
function New-GPOZaurrWMI {
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Creates a new Group Policy Object (GPO) based on a WMI filter query.
|
||||
Creates a new WMI filter based on a WMI filter query.
|
||||
|
||||
.DESCRIPTION
|
||||
This function creates a new GPO in Active Directory based on a specified WMI filter query. It allows for customization of the GPO creation process by providing options to target specific forests, domains, and extended forest information.
|
||||
This function creates a new WMI filter in Active Directory based on a specified WMI filter query.
|
||||
|
||||
.PARAMETER Name
|
||||
The name of the new GPO to be created.
|
||||
The name of the new WMI filter to be created.
|
||||
|
||||
.PARAMETER Description
|
||||
The description for the new GPO. Default is an empty string.
|
||||
The description for the new WMI filter. Default is an empty string.
|
||||
|
||||
.PARAMETER Namespace
|
||||
The WMI namespace to target. Default is 'root\CIMv2'.
|
||||
|
||||
.PARAMETER Query
|
||||
The WMI filter query to be applied to the GPO.
|
||||
The WMI filter query to be applied to the WMI entry.
|
||||
|
||||
.PARAMETER SkipQueryCheck
|
||||
Switch to skip the query check before creating the GPO.
|
||||
Switch to skip the query check before creating the WMI entry.
|
||||
|
||||
.PARAMETER Force
|
||||
Switch to force the creation of the GPO without confirmation.
|
||||
Switch to force the creation of the WMI entry without confirmation.
|
||||
|
||||
.PARAMETER Forest
|
||||
The forest to target for GPO creation.
|
||||
The forest to target for WMI creation.
|
||||
|
||||
.PARAMETER ExcludeDomains
|
||||
An array of domains to exclude from GPO application.
|
||||
An array of domains to exclude from WMI application.
|
||||
|
||||
.PARAMETER IncludeDomains
|
||||
An array of domains to include for GPO application.
|
||||
An array of domains to include for WMI application.
|
||||
|
||||
.PARAMETER ExtendedForestInformation
|
||||
Additional information about the forest for GPO customization.
|
||||
Additional information about the forest for WMI customization.
|
||||
|
||||
.EXAMPLE
|
||||
New-GPOZaurrWMI -Name "TestWMIFilter1" -Query "SELECT * FROM Win32_OperatingSystem" -Force
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
function Remove-GPOZaurrWMI {
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Removes Group Policy Objects (GPO) based on specified criteria.
|
||||
Removes Group Policy WMI filters based on specified criteria.
|
||||
|
||||
.DESCRIPTION
|
||||
This function removes GPOs based on the provided GUIDs or names within the specified forest or domains. It retrieves WMI filters associated with the GPOs and removes them.
|
||||
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.
|
||||
|
||||
.PARAMETER Guid
|
||||
Specifies an array of GUIDs of the GPOs to be removed.
|
||||
Specifies an array of GUIDs of the WMI filters to be removed.
|
||||
|
||||
.PARAMETER Name
|
||||
Specifies an array of names of the GPOs to be removed.
|
||||
Specifies an array of names of the WMI filters to be removed.
|
||||
|
||||
.PARAMETER Forest
|
||||
Specifies the forest name where the GPOs are located.
|
||||
Specifies the forest name where the WMI filters are located.
|
||||
|
||||
.PARAMETER ExcludeDomains
|
||||
Specifies an array of domains to exclude from the removal process.
|
||||
@@ -29,14 +29,14 @@
|
||||
|
||||
Description
|
||||
-----------
|
||||
Removes the GPO with the specified GUID.
|
||||
Removes the WMI filter with the specified GUID.
|
||||
|
||||
.EXAMPLE
|
||||
Remove-GPOZaurrWMI -Name "TestGPO"
|
||||
Remove-GPOZaurrWMI -Name "TestWMIFilter"
|
||||
|
||||
Description
|
||||
-----------
|
||||
Removes the GPO with the specified name.
|
||||
Removes the WMI filter with the specified name.
|
||||
|
||||
#>
|
||||
[CmdletBinding(SupportsShouldProcess)]
|
||||
|
||||
Reference in New Issue
Block a user