Skip to content

Commit 3479fc9

Browse files
authored
Update ExchangeOnlineManagement (#332)
* Update setupPowerShell.ps1 * update module * update version
1 parent 9747391 commit 3479fc9

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

linux/powershell/setupPowerShell.ps1

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ try {
139139
PowerShellGet\Install-Module -Name Microsoft.PowerShell.UnixCompleters @prodAllUsers
140140
PowerShellGet\Install-Module -Force PSReadLine @prodAllUsers
141141
PowerShellGet\Install-Module -Name Az.Tools.Predictor @prodAllUsers
142-
PowerShellGet\Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.5 -Force
142+
PowerShellGet\Install-Module -Name ExchangeOnlineManagement -RequiredVersion 3.2.0 -Force
143143
PowerShellGet\Install-Module -Name Microsoft.PowerShell.SecretManagement @prodAllUsers
144144
PowerShellGet\Install-Module -Name Microsoft.PowerShell.SecretStore @prodAllUsers
145145

@@ -159,10 +159,6 @@ try {
159159

160160
if (Microsoft.PowerShell.Management\Test-Path $tempDirectory) {
161161
Write-Output ('Temp Directory: {0}' -f $tempDirectory)
162-
163-
# Install the Exchange modules from the Azure storage
164-
Install-PSCloudShellFile -Source $tempDirectory -FileName 'EXOPSSessionConnector.zip' -Destination $modulePath -FileHash $script:dockerfileDataObject.ExoConnectorFileHash
165-
Write-Output "Installed Exchange Package."
166162
}
167163

168164
# Copy the startup script to the all-users profile

tests/PSinLinuxCloudShellImage.Tests.ps1

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,6 @@ Describe "PowerShell Modules" {
162162

163163
}
164164

165-
It "EXOConnector PowerShell Module" {
166-
167-
$module = Get-Module -Name EXOPSSessionConnector -ListAvailable
168-
$module | Should -Not -BeNullOrEmpty
169-
170-
# EXOPSSessionConnector module should have at least one command
171-
(Get-Command * -Module EXOPSSessionConnector).Count -ge 1 | Should -Be $true
172-
}
173-
174165
It "PowerBI PowerShell Module" {
175166

176167
$module = Get-Module -Name MicrosoftPowerBIMgmt -ListAvailable
@@ -227,7 +218,6 @@ Describe "PowerShell Modules" {
227218
@{ ModuleName = "Az" }
228219
@{ ModuleName = "MicrosoftPowerBIMgmt" }
229220
@{ ModuleName = "GuestConfiguration" }
230-
@{ ModuleName = "EXOPSSessionConnector" }
231221
@{ ModuleName = "MicrosoftTeams" }
232222
@{ ModuleName = "Microsoft.PowerShell.UnixCompleters" }
233223
@{ ModuleName = "Microsoft.PowerShell.SecretManagement" }

0 commit comments

Comments
 (0)