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

Update ExchangeOnlineManagement version in SetupPowerShell.ps1 #325

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions linux/powershell/setupPowerShell.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ try {
PowerShellGet\Install-Module -Name Microsoft.PowerShell.UnixCompleters @prodAllUsers
PowerShellGet\Install-Module -Force PSReadLine @prodAllUsers
PowerShellGet\Install-Module -Name Az.Tools.Predictor @prodAllUsers
PowerShellGet\Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.5 -Force
PowerShellGet\Install-Module -Name ExchangeOnlineManagement -RequiredVersion 3.2.0-Preview3 -Force
PowerShellGet\Install-Module -Name Microsoft.PowerShell.SecretManagement @prodAllUsers
PowerShellGet\Install-Module -Name Microsoft.PowerShell.SecretStore @prodAllUsers

Expand All @@ -159,10 +159,6 @@ try {

if (Microsoft.PowerShell.Management\Test-Path $tempDirectory) {
Write-Output ('Temp Directory: {0}' -f $tempDirectory)

# Install the Exchange modules from the Azure storage
Install-PSCloudShellFile -Source $tempDirectory -FileName 'EXOPSSessionConnector.zip' -Destination $modulePath -FileHash $script:dockerfileDataObject.ExoConnectorFileHash
Write-Output "Installed Exchange Package."
}

# Copy the startup script to the all-users profile
Expand Down