A basic Pre-Release PowerShell module that allows users to easily execute functions that are not normally available in the current management command sets.
This is the first time that I have attempted to create PS module and there may be a few issues within the code!
Suggestions and comments are welcome on the repo discussion page, go easy on me! 🤘
-
Check what EXO Shared Mailboxes a specific user currently has permissions on.
- Param to save results to CSV file.
-
Enabling MFA on M365 Accounts.
-
Enforcing MFA on M365 Accounts.
-
Disabling MFA on M365 Accounts.
Currently the method with the latest changes, may also have the most bugs.
-
Clone the GitHub repository to your local machine.
-
While using an elevated PowerShell instance navigate to where the repo clone is saved.
-
Import the module:
cd **PathToClone**
Example:
cd C:\PSM365Extras
Import-Module ./PSM365Extras.psm1
Install-Module -Name PSM365Extras -AllowPrerelease
A dialog asking to trust installation from unknown sources may appear.
List all shared mailboxes that a specific user has permissions for:
Get-MemberOfSMBXs -Email John.Smith@contoso.co.uk
List all shared mailboxes that a specific user has permssions for and export the output to a auto generated CSV file in the path that is set:
Get-MemberOfSMBXs -Email John.Smith@contoso.co.uk -SaveToCSV C:\ExamplePath
More coming soon!
- A link to the PowerShell Gallery package!