πŸ“–
IT Wiki
CtrlK
  • πŸ˜€Welcome!
  • πŸ’»Mac
  • πŸͺŸWindows
  • πŸ’ΎMicrosoft 365
  • πŸ‘¨β€πŸ’»PowerShell
  • 🍏PowerShell on Mac
  • πŸ–¨οΈPrinters
  • ☁️SharePoint & OneDrive
  • πŸ’½Software
  • ⛓️VPN
  • 🀦For Users
  • 🌏Computer Setup
Powered by GitBook
On this page

🍏PowerShell on Mac

How to get PowerShell working on a Mac

TLDR

  • Install HomeBrew

  • Install PowerShell

  • Install Xcode

  • Install MacPorts

  • In Terminal run

sudo pwsh
  • To connect with Exchange Online which will open browser to Modern Auth

Install-Module -Name ExchangeOnlineManagement
Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline

MS Guides https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-macos?view=powershell-7.2

https://docs.microsoft.com/en-us/powershell/exchange/connect-to-exchange-online-powershell?view=exchange-ps

https://docs.microsoft.com/en-us/powershell/exchange/exchange-online-powershell-v2?view=exchange-ps#install-and-maintain-the-exo-v2-module

Other Documentation https://github.com/MicrosoftDocs/office-docs-powershell/issues/6507

PreviousPowerShellNextPrinters

Last updated 3 years ago