Skip to content

Repository files navigation

██████╗ ██╗███╗   ██╗██╗  ██╗███████╗██╗  ██╗███████╗██╗     ██╗
██╔══██╗██║████╗  ██║██║ ██╔╝██╔════╝██║  ██║██╔════╝██║     ██║
██████╔╝██║██╔██╗ ██║█████╔╝ ███████╗███████║█████╗  ██║     ██║
██╔═══╝ ██║██║╚██╗██║██╔═██╗ ╚════██║██╔══██║██╔══╝  ██║     ██║
██║     ██║██║ ╚████║██║  ██╗███████║██║  ██║███████╗███████╗███████╗
╚═╝     ╚═╝╚═╝  ╚═══╝╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝╚══════╝╚══════╝╚══════╝

PinkShell

License: MIT

A PowerShell library, by Pinksky, for admins managing Microsoft 365 tenants.

Microsoft's admin portals don't expose a GUI for some permission tasks - granting a managed identity a Graph or SharePoint permission, or scoping an app to a single SharePoint site via Sites.Selected. PinkShell gives you a simple cmdlet for each of those, instead of hand-rolling Graph PowerShell calls every time.

Important

This is in preview, and is subject to change.

PinkShell isn't meant to be used for automation - it's a simple interface to a couple of otherwise-complex tasks. If you're scripting something that runs unattended, use the underlying Microsoft.Graph cmdlets directly instead.

Getting started

Nothing to install. Run this in a PowerShell 7+ session whenever you need it - it loads into that session only, checks your environment, and connects to Microsoft Graph:

irm "https://raw.githubusercontent.com/Pinksky-ApS/PinkShell/refs/heads/master/main.ps1" | iex

This will not run on Windows PowerShell 5.1. See docs/Getting_Started.md for the full walkthrough.

Cmdlets

See docs/cmdlets for the full list and reference.

Changelog

See CHANGELOG.md.

Contributing

See CONTRIBUTING.md for local setup.

License

MIT

About

A public facing PowerShell Library to help Pinksky ApS customers to basic tasks against their Microsoft 365 tenant.

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages