In this tutorial, you can connect your Powershell terminal to AWS CLI using SAML2AWS. Especially handy for AWS tenancies utilising MFA authentication. Pre-requisites Powershell 5.1 Chocolatey SAML2AWS Instructions Launch elevated Powershell. Execute CMDLET Set-ExecutionPolicy Bypass -Scope Process. Download and save Chocolatey installation script. Install Chocolatey by executing installation script using CMDLET .\install.ps1. Wait for it … Continue reading Connect to AWS CLI via Powershell
CLI
Connecting PowerShell to Azure (Office 365)
First install the Microsoft Online Services Sign-In Assistant for IT Professionals RTW from the Microsoft Download Center. Then install the Azure Active Directory Module for Windows PowerShell (64-bit version), and click Run to run the installer package. Before you can run any of the cmdlets discussed in this article, you must first connect to your … Continue reading Connecting PowerShell to Azure (Office 365)
Connecting PowerShell to Office 365
On your local computer, open Windows PowerShell and run the following command. $UserCredential = Get-Credential In the Windows PowerShell Credential Request dialog box, type your Exchange Online user name and password, and then click OK. Run the following command. $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection Note If you are an Office 365 operated … Continue reading Connecting PowerShell to Office 365