Optimize-Offline icon indicating copy to clipboard operation
Optimize-Offline copied to clipboard

[BUG] Index

Open truefriend-cz opened this issue 4 years ago • 2 comments

BUG: Import-Module : Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index + CategoryInfo : NotSpecified: (:) [Import-Module], ArgumentOutOfRangeException + FullyQualifiedErrorId : System.ArgumentOutOfRangeException,Microsoft.PowerShell.Commands.ImportModuleCommand

System: Windows 10 all x64 versions

Script Version: 4.0.0.2

truefriend-cz avatar Jan 03 '20 06:01 truefriend-cz

What Dism module version is installed? Type:

Get-Module -Name Dism -ListAvailable

DrEmpiricism avatar Jan 08 '20 08:01 DrEmpiricism

@truefriend-cz Add C:\Windows\System32\WindowsPowerShell\v1.0\Modules to your PSModulePath environmental variable.

Ghost-Terms avatar Feb 15 '20 12:02 Ghost-Terms