What are “Administrator rights” on non-Windows OSes? #27299
-
|
How is this applicable to Footnotes |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
That was the solution:
However, it doesn't resolve my superordinate problem: PS /home/RokeJulianLockhart> Install-Module Microsoft.Graph.Beta -Scope AllUsers -Repository PSGallery
PS /home/RokeJulianLockhart> Get-InstalledModule Microsoft.Graph
Get-Package: No match was found for the specified search criteria and module names 'Microsoft.Graph'.
PS /home/RokeJulianLockhart> Import-Module Microsoft.Graph.Beta
Import-Module: The required module 'Microsoft.Graph.Applications' is not loaded. Load the module or remove the module from 'RequiredModules' in the file '/usr/local/share/powershell/Modules/Microsoft.Graph.Beta/2.36.1/Microsoft.Graph.Beta.psd1'.
PS /home/RokeJulianLockhart> Remove-Module Microsoft.Graph.Beta
Remove-Module: No modules were removed. Verify that the specification of modules to remove is correct and those modules exist in the runspace.Footnotes |
Beta Was this translation helpful? Give feedback.
-
|
@RokeJulianLockhart you are running PowerShell 7.5.4 which as I mentioned in this comment comes with the new Microsoft.PowerShell.PSResourceGet module that replaces PowerShellGet (the module that Install-Module comes from) and has lots more improved features and is being actively developed. So I kindly ask
I also strongly recommend that you don't run
Yes as you found out - though this is only needed if you are intending to install modules on a machine with multiple users on it, when using hope that helps |
Beta Was this translation helpful? Give feedback.
-
|
Please file issues for PSResourceGet in https://github.com/PowerShell/PSResourceGet/issues. The problem may be with the Microsoft.Graph.Beta module and not PowerShellGet or PSResourceGet. |
Beta Was this translation helpful? Give feedback.
@RokeJulianLockhart you are running PowerShell 7.5.4 which as I mentioned in this comment comes with the new Microsoft.PowerShell.PSResourceGet module that replaces PowerShellGet (the module that Install-Module comes from) and has lots more improved features and is being actively developed.
So I kindly ask
I also strongly recommend …