Tests/Integration/MSFT_XIISLogging.config.ps1
configuration MSFT_xIisLogging_Rollover { Import-DscResource -ModuleName xWebAdministration xIisLogging Logging { LogPath = 'C:\IISLogFiles' Logflags = @('Date','Time','ClientIP','UserName','ServerIP') LoglocalTimeRollover = $True LogPeriod = 'Hourly' LogFormat = 'W3C' } } configuration MSFT_xIisLogging_Truncate { Import-DscResource -ModuleName xWebAdministration xIisLogging Logging { LogPath = 'C:\IISLogFiles' Logflags = @('Date','Time','ClientIP','UserName','ServerIP') LoglocalTimeRollover = $True LogTruncateSize = '2097152' LogFormat = 'W3C' } } |