Skip to content

Commit 96a2b2c

Browse files
committed
register the configs
1 parent 7ce5bbe commit 96a2b2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/appveyor.prep.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ Write-Host -Object "appveyor.prep: Install PSScriptAnalyzer" -ForegroundColor Da
2121
Install-Module -Name PSScriptAnalyzer -Repository PSGallery -Force -Scope CurrentUser| Out-Null
2222

2323
# Set logging parameters
24-
Set-PSFConfig -FullName psframework.logging.filesystem.maxmessagefilebytes -Value (100 * 1024 * 1024)
25-
Set-PSFConfig -FullName psframework.logging.filesystem.maxtotalfoldersize -Value (500 * 1024 * 1024)
24+
Set-PSFConfig -FullName psframework.logging.filesystem.maxmessagefilebytes -Value (100 * 1024 * 1024) -PassThru | Register-PSFConfig
25+
Set-PSFConfig -FullName psframework.logging.filesystem.maxtotalfoldersize -Value (500 * 1024 * 1024) -PassThru | Register-PSFConfig

0 commit comments

Comments
 (0)