From 192900a44d28baa3b7cff968a4b0804e5cb608b6 Mon Sep 17 00:00:00 2001 From: Matthias <13959569+blindzero@users.noreply.github.com> Date: Sun, 8 Feb 2026 11:22:54 +0100 Subject: [PATCH 1/2] docs: prefer clean reinstall over allowclobber --- docs/use/installation.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/use/installation.md b/docs/use/installation.md index db86ae33..d3e0ba91 100644 --- a/docs/use/installation.md +++ b/docs/use/installation.md @@ -30,6 +30,16 @@ Install-Module -Name IdLE Import-Module -Name IdLE ``` +:::info Command collision during install? +If PowerShellGet reports that a command is already available (for example `New-IdleAuthSessionBroker`), +prefer a clean reinstall instead of `-AllowClobber`: + +```powershell +Get-InstalledModule IdLE, IdLE.Core -ErrorAction SilentlyContinue | Uninstall-Module -AllVersions -Force +Install-Module -Name IdLE -Scope CurrentUser -Force +``` +::: + The `IdLE` module declares `IdLE.Core` and `IdLE.Steps.Common` as dependencies (`RequiredModules`), so PowerShell automatically installs and imports them when you install `IdLE`. **Installing optional modules:** From 6461aec97cac616af570ce6fa9477ae5c393848a Mon Sep 17 00:00:00 2001 From: Matthias <13959569+blindzero@users.noreply.github.com> Date: Sun, 8 Feb 2026 11:33:21 +0100 Subject: [PATCH 2/2] Update docs/use/installation.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- docs/use/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/use/installation.md b/docs/use/installation.md index d3e0ba91..7c5bec28 100644 --- a/docs/use/installation.md +++ b/docs/use/installation.md @@ -35,7 +35,7 @@ If PowerShellGet reports that a command is already available (for example `New-I prefer a clean reinstall instead of `-AllowClobber`: ```powershell -Get-InstalledModule IdLE, IdLE.Core -ErrorAction SilentlyContinue | Uninstall-Module -AllVersions -Force +Get-InstalledModule IdLE, IdLE.Core, IdLE.Steps.Common -ErrorAction SilentlyContinue | Uninstall-Module -AllVersions -Force Install-Module -Name IdLE -Scope CurrentUser -Force ``` :::