From c2b175b4a227df214d96b4fec8e5f18fac0b23b2 Mon Sep 17 00:00:00 2001 From: iamteerawut Date: Sun, 22 Aug 2021 23:23:20 +0700 Subject: [PATCH] fix: update RunAsDifferentUserContext parameter typo --- Sophia/LTSC/Module/Sophia.psm1 | 2 +- Sophia/PowerShell 5.1/Module/Sophia.psm1 | 2 +- Sophia/PowerShell 7/Module/Sophia.psm1 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sophia/LTSC/Module/Sophia.psm1 b/Sophia/LTSC/Module/Sophia.psm1 index 4081be38..705f3c23 100644 --- a/Sophia/LTSC/Module/Sophia.psm1 +++ b/Sophia/LTSC/Module/Sophia.psm1 @@ -8149,7 +8149,7 @@ function RunAsDifferentUserContext ParameterSetName = "Hide" )] [switch] - $Remove + $Hide ) switch ($PSCmdlet.ParameterSetName) diff --git a/Sophia/PowerShell 5.1/Module/Sophia.psm1 b/Sophia/PowerShell 5.1/Module/Sophia.psm1 index a1476d63..b31c6f37 100644 --- a/Sophia/PowerShell 5.1/Module/Sophia.psm1 +++ b/Sophia/PowerShell 5.1/Module/Sophia.psm1 @@ -11235,7 +11235,7 @@ function RunAsDifferentUserContext ParameterSetName = "Hide" )] [switch] - $Remove + $Hide ) switch ($PSCmdlet.ParameterSetName) diff --git a/Sophia/PowerShell 7/Module/Sophia.psm1 b/Sophia/PowerShell 7/Module/Sophia.psm1 index fed6ec36..f0392707 100644 --- a/Sophia/PowerShell 7/Module/Sophia.psm1 +++ b/Sophia/PowerShell 7/Module/Sophia.psm1 @@ -11266,7 +11266,7 @@ function RunAsDifferentUserContext ParameterSetName = "Hide" )] [switch] - $Remove + $Hide ) switch ($PSCmdlet.ParameterSetName)