Skip to content

unkn0wnvariable/PowerShell-Office365Admin

Repository files navigation

Office 365

Scripting things in Office 365.

Pre-requisites

Some Office 365 services require modules to be installed locally, whereas others use remote PowerShell sessions.

Microsoft have instructions on how to install modules or connect to services here: Connect PowerShell to Office 365 Services

The SharePoint module can also now be installed directly from PSGallery using:

Install-Module -Name Microsoft.Online.SharePoint.PowerShell

In addition, the services which use remote sessions will require the script execution policy within PowerShell to be changed to RemoteSigned. This is done either globally with:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

Or for the current user with:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

Disclaimer

All scripts are provided as is without warranty of any kind, use them at your own risk.

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy