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|
Accepts pipeline input? false
Accept wildcard charactrs? false

Outputs

  • string: If -raw is specified and a logging policy set, the raw registry value is returned.
  • string[]: The default output type consisting of zero or more logging modes that are set in the registry.

Related Links


Last edited Dec 26, 2014 at 7:29 AM by heaths, version 1

Comments

No comments yet.