From 81f0de3d48a402ee07c7564226986525a74c3f56 Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Wed, 2 Jul 2025 21:53:35 -0400 Subject: [PATCH] Update StackMonkey.ps1 --- StackMonkey.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/StackMonkey.ps1 b/StackMonkey.ps1 index e07020a..6aa37b5 100644 --- a/StackMonkey.ps1 +++ b/StackMonkey.ps1 @@ -221,7 +221,7 @@ # Attempt to uninstall all versions of SVSMSP try { - Uninstall-Module -Name SVSMSP -AllVersions -Force -Confirm:$false -ErrorAction Stop + Uninstall-Module -Name SVSMSP -AllVersions -Force -ErrorAction Stop Write-LogHybrid "SVSMSP module uninstalled from system." "Success" "SVSModule" } catch { @@ -237,7 +237,7 @@ # Remove the custom repository if registered if (Get-PSRepository -Name SVS_Repo -ErrorAction SilentlyContinue) { try { - Unregister-PSRepository -Name SVS_Repo -Confirm:$false -ErrorAction Stop + Unregister-PSRepository -Name SVS_Repo -ErrorAction Stop Write-LogHybrid "SVS_Repo repository unregistered." "Success" "SVSModule" } catch { @@ -248,7 +248,7 @@ # Finally, remove it from the current session if loaded if (Get-Module -Name SVSMSP) { try { - Remove-Module SVSMSP -Force -Confirm:$false -ErrorAction Stop + Remove-Module SVSMSP -Force -ErrorAction Stop Write-LogHybrid "SVSMSP module removed from current session." "Success" "SVSModule" } catch {