Download and install Office365 PowerShell module

Download and install Office365 PowerShell module

Hello,

Hereunder a small piece of PowerShell stuff to automate the download and installation of Office 365 PowerShell module :

Download and install Office365 PowerShell module – PowerShell

$WAADUrl = "https://bposast.vo.msecnd.net/MSOPMW/Current/amd64/AdministrationConfig-EN.msi"
$MsolUrl = "http://download.microsoft.com/download/5/0/1/5017D39B-8E29-48C8-91A8-8D0E4968E6D4/en/msoidcli_64.msi"

Start-BitsTransfer -Source $MsolUrl -Description "Microsoft Online services" -Destination $env:temp -DisplayName "Microsoft Online Services"
Start-BitsTransfer -Source $WAADUrl -Description "Windows Azure Active Directory" -Destination $env:temp -DisplayName "Windows Azure Active Directory"

Start-Process -FilePath msiexec.exe -ArgumentList "/i $env:temp$(Split-Path $MsolUrl -Leaf) /quiet /passive"
Start-Process -FilePath msiexec.exe -ArgumentList "/i $env:temp$(Split-Path $WAADUrl -Leaf) /quiet /passive"

The first two lines define the URL, then, the next two download the stuff, and the last two install the downloaded files silently.

Download and install Office365 PowerShell module – GUI

You can also download the MSI file with a click on those links :

https://bposast.vo.msecnd.net/MSOPMW/Current/amd64/AdministrationConfig-EN.msi

http://download.microsoft.com/download/5/0/1/5017D39B-8E29-48C8-91A8-8D0E4968E6D4/en/msoidcli_64.msi

You’ll find more details about that module here.

0 thoughts on “Download and install Office365 PowerShell module

  1. Pingback: Download and install Office365 PowerShell module - Update - It For DummiesIt For Dummies

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.