mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-08-18 14:33:11 +00:00
Added or improved help on all functions.
This commit is contained in:
@@ -1,4 +1,26 @@
|
||||
function ConvertTo-XMLWindowsFirewall {
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Converts a Group Policy Object (GPO) to an XML representation for Windows Firewall settings.
|
||||
|
||||
.DESCRIPTION
|
||||
This function takes a GPO object and converts it into an XML format suitable for Windows Firewall settings. It can handle single GPO objects or multiple GPO objects.
|
||||
|
||||
.PARAMETER GPO
|
||||
Specifies the Group Policy Object to be converted to XML.
|
||||
|
||||
.PARAMETER SingleObject
|
||||
Indicates whether to convert a single GPO object or multiple GPO objects.
|
||||
|
||||
.EXAMPLE
|
||||
ConvertTo-XMLWindowsFirewall -GPO $myGPO -SingleObject
|
||||
Converts a single GPO object $myGPO to an XML representation for Windows Firewall settings.
|
||||
|
||||
.EXAMPLE
|
||||
$GPOs | ConvertTo-XMLWindowsFirewall
|
||||
Converts multiple GPO objects in the $GPOs array to XML representations for Windows Firewall settings.
|
||||
|
||||
#>
|
||||
[cmdletBinding()]
|
||||
param(
|
||||
[PSCustomObject] $GPO,
|
||||
|
||||
Reference in New Issue
Block a user