Installation#
Quick Start#
Ready to install? Here's the fastest path:
Then verify it works:
Need to install for all users instead? Continue to Prerequisites and choose Method 1 with -Scope AllUsers.
Prerequisites#
Before installing the Lenovo.Client.Update module, ensure your system meets the following requirements:
- Operating System: Windows 10 or Windows 11
- PowerShell: Version 5.0 or later
- Administrative Rights: Required for installation and update operations (for all-users installations)
- .NET Framework: May be required for certificate validation components
Installation Methods#
Method 1: PowerShell Gallery (Recommended)#
The easiest and most maintainable approach. The module updates automatically when you run Update-Module.
Current User Installation#
All Users Installation#
Requires administrator privileges:
Verify PowerShell Gallery Installation#
You should see all 11+ commands listed.
Method 2: Manual Installation#
Use this method if you need to install from a local copy or have network restrictions.
- Download from Lenovo
- Extract the ZIP file
- Copy the
Lenovo.Client.Updatefolder to your modules directory: - Current user only:
$PROFILE\..\Modules\Lenovo.Client.Update\ - All users:
C:\Program Files\WindowsPowerShell\Modules\Lenovo.Client.Update\ - Import the module:
Verify Manual Installation#
If commands are not found, check your PowerShell module path:
Updates & Maintenance#
Update the Module#
If installed via PowerShell Gallery:
For manual installations, download the latest ZIP and replace the module folder.
Remove the Module#
PowerShell Gallery installation:
Manual installation:
Simply delete the Lenovo.Client.Update folder from your modules directory.
Troubleshooting#
"Module not found" Error#
Symptom: Import-Module: The specified module 'Lenovo.Client.Update' was not found
Solutions: 1. Verify the module path:
2. Manually specify the path if needed: 3. Restart PowerShell after installation 4. Run as Administrator if installing for all usersPowerShell Version Mismatch#
Symptom: Module loads but commands don't work
Solution: Check your PowerShell version:
Ensure you're running PowerShell 5.0 or later. Windows PowerShell 5.0 is included with Windows 10/11.
Certificate Validation Errors#
Symptom: Errors related to Lenovo.CertificateValidation.dll
Solution: Ensure .NET Framework is installed:
If the DLL is missing, reinstall the module.