< Back

Parse-PolFile

Tue Jan 14, 2020 12:14 am

NAME Parse-PolFile



SYNOPSIS

Reads and parses a .pol file.





SYNTAX

Parse-PolFile [-Path] <String> [<CommonParameters>]





DESCRIPTION

Reads a .pol file, parses it and returns an array of Group Policy registry settings.





PARAMETERS

-Path <String>

Specifies the path to the .pol file.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.Array





-------------------------- EXAMPLE 1 --------------------------



C:\\PS>Parse-PolFile -Path "C:\\Registry.pol"















RELATED LINKS