top of page

Explore Our Snippets

Helping you Learn of PS Modules and How to Connect

Getting Connected with Connect-MgGraph 

Connect-MgGraph is the primary PowerShell command used to authenticate to Microsoft Graph — Microsoft’s unified API for managing users, groups, devices, Azure resources, security settings, and nearly every Microsoft 365 service. By signing in once through this cmdlet, administrators gain a secure, modern, and token-based connection that works seamlessly with the Microsoft Graph PowerShell modules.

Using Connect-MgGraph streamlines cloud management and gives you access to the full breadth of Microsoft 365 and Azure data through a single, powerful connection. Create an AppID and assign rights for direct login and access to a multitude of MS application settings. 

Special Note: For SharePoint I had to use standard login not tenantID

PSWriteHTML Build Beautiful HTML
Reports with PowerShell

PSWriteHTML is a powerful PowerShell module designed to help you create stunning, interactive HTML reports and dashboards with ease. Whether you need dynamic tables, charts, or responsive layouts, PSWriteHTML leverages modern web technologies like DataTables and Chart.js—all without writing a single line of HTML or JavaScript. Perfect for system administrators, DevOps engineers, and anyone who wants to turn raw data into visually appealing, shareable reports.

PnP.PowerShell Module 
Patterns and Practices (PnP)

PnP.PowerShell is a cross-platform PowerShell module designed for managing Microsoft 365 environments, especially SharePoint Online, Teams, and related services. It’s built by the Patterns and Practices (PnP) community and provides a rich set of cmdlets that simplify automation tasks for administrators and developers.

  • Automate SharePoint Online Management: Create sites, lists, libraries, and permissions

  • Manage Microsoft Teams: Provision teams, channels, and settings.

  • Handle Microsoft 365 Governance: Apply policies, manage groups, compliance tasks.

  • Cross-Platform: Works on Windows, macOS, and Linux.

  • Community-Driven: Regular updates and best practices from Microsoft MVP experts.

Connecting to Exchange Online Using
(Module Version 3.6.0)

When working with Microsoft 365 administration through PowerShell, reliable connectivity is everything. The Exchange Online PowerShell module version 3.6.0 continues to be one of the most stable releases for establishing sessions, authenticating consistently, and running modern Exchange cmdlets like Get-EXOMailbox, Get-EXORecipient, and Get-EXOTransportRule.

Key Features:

  • Connect securely to Exchange Online using modern authentication.

  • Manage mailboxes, permissions, and policies at scale.

  • Automate tasks like mailbox creation, license assignment, and reporting.

  • Access advanced compliance and security configurations.

  • Ideal for enterprise admins and Microsoft 365 automation workflows.

Download a Clean TxT Format:

NTFSSecurity – Simplify NTFS
Permission Management

NTFSSecurity is a powerful PowerShell module that makes managing NTFS file and folder permissions easy and intuitive. Instead of wrestling with complex ACL objects, NTFSSecurity provides straightforward cmdlets to view, add, remove, and audit permissions—perfect for administrators handling large-scale environments.

 

Key Features:

  • Effortlessly manage NTFS permissions with simple commands.

  • Apply permissions recursively while preserving inheritance.

  • Change file and folder ownership in bulk.

  • Audit and report access rights for compliance and security.

  • Ideal for migrations, permission cleanup, and automation.

bottom of page