Skip to content

Latest commit

 

History

History
75 lines (45 loc) · 2.35 KB

01-INSTALLATION.md

File metadata and controls

75 lines (45 loc) · 2.35 KB

Connect-MS365

01-INSTALLATION

Prerequisites

The following requirements must be installed prior installation of Connect-MS365.

  • PowerShell v5.1 or PowerShell v7.3.4

    Check your PS version with $PSVersionTable. We need at least Version 5.1 on Desktop edition. Core edition is tested with PowerShell 7.3.4, but may work with earlier versions as well.

  • PowerShellGet (should be available automatically)

    Check if available with

    Find-Module PowerShellGet -ListAvailable

    Otherwise install with

    Install-Module -Name PowerShellGet -Force
  • ExchangeOnlineManagement Module v3 - if used with PS Core 7

    It is recommended to use EXOv3 module with PowerShell 7 as authentication issues may occure if older EXO modules are used. If you face any issue that authentication libraries cannot be loaded, make sure that EXOv3 is installed and available for Connect-MS365.

Installation

Install by Install-Module from PowerShellGallery

Installation from online PowerShellGallery by using PowerShellGet function Install-Module.

Install-Module Connect-MS365

Manual Installation

With this method you may install Connect-MS365 manually to your PowerShell environment.

  1. Download Connect-MS365 from one of the following sources

  2. Extract Package by unzipping the downloaded package.

  3. Install Connect-MS365 Module

    Put the extracted packages content into one of the PowerShell module directories which automatically loads the module:

    • $env:USERPROFILE\Documents\WindowsPowerShell\modules
    • $env:ProgramFiles\WindowsPowerShell\Modules

Verify

After installation open a new powershell session and verify the availability of Connect-MS365 command.

Get-Module Connect-MS365 -ListAvailable

Usage

see 02-USAGE.md for usage instructions