Skip to content

Get MSILoggingPolicy

Heath Stewart edited this page Feb 19, 2018 · 1 revision

Get-MSILoggingPolicy

SYNOPSIS

Gets the Windows Installer logging policy.

SYNTAX

Get-MSILoggingPolicy [-Raw] [<CommonParameters>]

DESCRIPTION

The Windows Installer logging policy determines whether logs are generated by default and how much information they contain. This cmdlet gets the current logging policy and can return the logging modes as a collection of strings or the raw string value from the registry.

EXAMPLES

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

PARAMETERS

-Raw

Returns the raw string value from the registry.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

string

string[]

NOTES

RELATED LINKS

Remove-MSILoggingPolicy

Set-MSILoggingPolicy

Clone this wiki locally