< Back

Get-MSILoggingPolicy

Sat Jan 18, 2020 4:44 pm

NAME 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.





PARAMETERS

-Raw [<SwitchParameter>]

Returns the raw string value from the registry.



Required? false

Position? named

Default value False

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

string





string[]







NOTES









-------------------------- Example 1 --------------------------



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



{{ Add example description here }}



RELATED LINKS

Remove-MSILoggingPolicy

Set-MSILoggingPolicy