Logging error

This commit is contained in:
2022-12-29 19:25:20 +01:00
parent 648b1263d6
commit 2e048cbc52

View File

@@ -23,10 +23,6 @@ Add-LoggingTarget -Name Console
Add-LoggingTarget -Name File -Configuration @{Path = '$HOME/.winconfig/run.log'} Add-LoggingTarget -Name File -Configuration @{Path = '$HOME/.winconfig/run.log'}
Write-Log -Level ($Level | Get-Random) -Message 'Message n. {0}' -Arguments $i
# Konfig für die prompts # Konfig für die prompts
$choices = New-Object Collections.ObjectModel.Collection[Management.Automation.Host.ChoiceDescription] $choices = New-Object Collections.ObjectModel.Collection[Management.Automation.Host.ChoiceDescription]
$choices.Add((New-Object Management.Automation.Host.ChoiceDescription -ArgumentList '&Yes')) $choices.Add((New-Object Management.Automation.Host.ChoiceDescription -ArgumentList '&Yes'))