A cmdlet should be available for configuring event log properties - by Jan Egil Ring

Status : 


Sign in
to vote
ID 793813 Comments
Status Active Workarounds
Type Suggestion Repros 0
Opened 7/14/2013 5:35:24 AM
Access Restriction Public


A cmdlet should be available in order to configure writeable event log properties such as enabling/disabling an event log or configuring the MaximumSizeInBytes.
Currently a command-line utility or .NET must be leveraged in order to accomplish this (there may be additional methods, but none is exposed as a Windows PowerShell cmdlet).

Update: The Limit-EventLog cmdlet can be used to configure the maximum size of an event log. However, there is still a need to be able to configure other properties such as IsEnabled using a cmdlet.
Sign in to post a comment.