From b17d758a94cd80e64f4058763a520c5682f52dd4 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Mon, 19 Aug 2024 12:07:26 +0200 Subject: [PATCH] Fix broken signature of `Restart-Intermediate` --- scripts/Windows/Scripts/PowerManagement.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/Scripts/PowerManagement.ps1 b/scripts/Windows/Scripts/PowerManagement.ps1 index ff758075..a5233d78 100644 --- a/scripts/Windows/Scripts/PowerManagement.ps1 +++ b/scripts/Windows/Scripts/PowerManagement.ps1 @@ -153,7 +153,7 @@ $null = New-Module { #> function Restart-Intermediate { param( - [Parameter(ParameterSetName="Default", Mandatory)] + [Parameter(ParameterSetName="Default")] [switch] $DefaultUser, [Parameter(ParameterSetName="Current", Mandatory)] [switch] $CurrentUser