Skip to content

aar0nm/PSM365Extras

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PSM365Extras

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! 🤘

Features

  • 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.

Installation

Nightly (GitHub)

Currently the method with the latest changes, may also have the most bugs.

  1. Clone the GitHub repository to your local machine.

  2. While using an elevated PowerShell instance navigate to where the repo clone is saved.

  3. Import the module:

    cd **PathToClone**

    Example:

    cd C:\PSM365Extras

    Import-Module ./PSM365Extras.psm1

Pre-Release (PSGallery)

Install-Module -Name PSM365Extras -AllowPrerelease

A dialog asking to trust installation from unknown sources may appear.

Usage

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!

Links

Authors

About

A basic Pre-Release PowerShell module that allows users to easily execute functions that are not normally available in the current management command sets.

Resources

License

Stars

Watchers

Forks