Logging error
This commit is contained in:
@@ -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'))
|
||||||
|
|||||||
Reference in New Issue
Block a user