Replies: 5 comments 4 replies
-
What you need is |
Beta Was this translation helpful? Give feedback.
-
Bumping this up: @adamedx, @rtintor, @v-varshamane, @FehintolaObafemi. |
Beta Was this translation helpful? Give feedback.
-
Note: this isnt what I'd consider production ready, as there are no checks regarding which files are being unblocked, etc. Could be a starting point for someone who has already downloaded the module or for further development if useful. |
Beta Was this translation helpful? Give feedback.
-
Adding beta modules per #377 and found in
|
Beta Was this translation helpful? Give feedback.
-
Not sure if this helps, but this is what I have done: #Import module manifest
$data = Import-PowerShellDataFile "$((Get-installedModule Microsoft.Graph.Entra).additionalMetadata.InstalledLocation)\Microsoft.Graph.Entra.psd1"
#Get required modules
$requiredModules = $data.RequiredModules.ModuleName
#Install dependent modules
if ($requiredModules) {
foreach ($module in $requiredModules) {
if (!(Get-Module -Name $module -ListAvailable)) {
Install-Module -Name $module -Scope CurrentUser
}
}
} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I made this slightly expanded installation snippet to help in new test environments that might not have all of the pre-requisite modules installed yet:
Beta Was this translation helpful? Give feedback.
All reactions