Skip to content

Commit

Permalink
Add MS Graph (#360)
Browse files Browse the repository at this point in the history
* update

* update

* update

* update

* update
  • Loading branch information
darrentu authored Nov 20, 2023
1 parent 5c50dd6 commit 0abd1b8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion linux/powershell/setupPowerShell.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,18 @@ try {
PowerShellGet\Install-Module -Name SHiPS @prodAllUsers
PowerShellGet\Install-Module -Name SQLServer -MaximumVersion $script:dockerfileDataObject.SQLServerModuleMaxVersion @prodAllUsers
PowerShellGet\Install-Module -Name MicrosoftPowerBIMgmt -MaximumVersion $script:dockerfileDataObject.PowerBIMaxVersion @prodAllUsers
PowerShellGet\Install-Module -Name MicrosoftTeams @prodAllUsers
PowerShellGet\Install-Module -Name MicrosoftTeams @prodAllUsers

# MS Graph packages
PowerShellGet\Install-Module -Name Microsoft.Graph.Authentication @prodAllUsers
PowerShellGet\Install-Module -Name Microsoft.Graph.Users.Actions @prodAllUsers
PowerShellGet\Install-Module -Name Microsoft.Graph.Users.Functions @prodAllUsers
PowerShellGet\Install-Module -Name Microsoft.Graph.Groups @prodAllUsers
PowerShellGet\Install-Module -Name Microsoft.Graph.Identity.DirectoryManagement @prodAllUsers
PowerShellGet\Install-Module -Name Microsoft.Graph.Identity.Governance @prodAllUsers
PowerShellGet\Install-Module -Name Microsoft.Graph.Identity.SignIns @prodAllUsers
PowerShellGet\Install-Module -Name Microsoft.Graph.Applications @prodAllUsers

}
else {
# update libmi.so
Expand Down
2 changes: 1 addition & 1 deletion tests/PSinLinuxCloudShellImage.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Describe "Various programs installed with expected versions" {
It "Static Versions" {
# These programs are installed explicitly with specific versions
$script:pmap["Node.JS"].Version | Should -Be '16.20.2'
$script:pmap["PowerShell"].Version | Should -BeLike '7.3*'
$script:pmap["PowerShell"].Version | Should -BeLike '7.4*'
}

It "Some Versions Installed" {
Expand Down

0 comments on commit 0abd1b8

Please sign in to comment.