Default mcr.microsoft.com/powershell:latest image with all essential microsoft modules
1.1K
This Docker image provides a PowerShell environment specifically designed for managing Office 365 and Azure environments. It simplifies the management process by ensuring that you have a consistent version of the necessary PowerShell modules, along with some compatibility fixes from the original Docker version.
Az)To build the Docker image, run the following command in the directory containing the Dockerfile:
docker build -t castrouser/microsoft-365-powershell .
Once inside the container, you can utilize the installed PowerShell modules to manage your Azure and Office 365 environments. Below are some examples of how to connect to different services:
Connect-ExchangeOnline -UserPrincipalName [email protected] -Device
Connect-AzAccount -Device
Note: Always use the -Device parameter for authentication, as this Docker image does not support browser-based authentication.
Content type
Image
Digest
sha256:9823e71f6…
Size
426.5 MB
Last updated
over 1 year ago
docker pull castrouser/microsoft-365-powershell