Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors attempting to install because of dependency on latest version of #10

Closed
vacuumboots opened this issue Nov 16, 2023 · 2 comments
Closed

Comments

@vacuumboots
Copy link

When attempting to run install-script autopilot nuke,

I get the following error:

Installing module WindowsAutopilotIntuneCommunity WARNING: The version 2.9.0 of module 'Microsoft.Graph.Authentication' is currently in use. Retry the operation after closing the applications. WARNING: The version 2.9.0 of module 'Microsoft.Graph.Groups' is currently in use. Retry the operation after closing the applications. Import-Module: The specified module 'WindowsAutopilot IntuneCommunity' was not loaded because no valid module file was found in any module directory.
At C:\Program Files\Windows PowerShell\Scripts\AutopilotNuke.ps1:275 char:9
Import-Module WindowsAutopilot IntuneCommunity -Scope Global

  • CategoryInfo
    : ResourceUnavailable: (WindowsAutopilot IntuneCommunity: String) [Import-Module], FileNotFoundException
  • FullyQualifiedErrorId: Modules_ModuleNotFound, Microsoft.PowerShell.Commands. ImportModuleCommand

When I attempt to install the module without specifying the version number, I get the following error:

PackageManagement \Install-Package: The module 'WindowsAutopilotIntuneCommunity cannot be installed or updated 'WindowsAutopilot IntuneCommunity.psd1' is not valid.

because the authenticode signature of the file At C:\Program Files\Windows PowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21 $null = PackageManagement \Install-Package

Specifying an older version of the module as following:
PS C:\Windows\System32> install-module windowsautopilotintunecommunity -requiredversion 2.1

And then installing autopilotnuke and running it seems to work better.

This issue seemed to begin when autopilotnuke push bumped to version 3.8 in powershell gallery.

Thanks,

@andrew-s-taylor
Copy link
Owner

Hi,
Thanks for pointing this out, there was an error with the timestamp server on the module.

Should be sorted with version 3.9 of the script and 2.3 of the module

Thanks

@vacuumboots
Copy link
Author

Seems to work great now, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants