Skip to content
github-actions[bot] edited this page Jan 22, 2026 · 13 revisions

PowerShellEveryting Wiki

Welcome to the PowerShellEveryting documentation wiki. This enterprise PowerShell toolkit provides production-ready scripts for Microsoft 365, Azure AD, Teams, Lync/Skype for Business, and Intune management.

πŸ“š Documentation Categories

🎯 Lync/Skype for Business Assessments

Lync Assessment Scripts Overview β†’

Complete suite of Lync/Skype for Business assessment and migration tools:

πŸ“Š Microsoft 365 Assessments

Office 365 tenant assessment and reporting tools:

οΏ½ Office 365 User Management

User account creation and management automation:

  • New-Office365Accounts - Bulk user account creation with password generation
    • CSV batch import or array input
    • Automatic secure password generation
    • OneDrive provisioning support
    • Cloud Shell optimized with persistent storage
    • Microsoft 365 or Active Directory support
    • Password export to secure timestamped CSV

οΏ½πŸ–₯️ On-Premise Infrastructure Assessments

Active Directory and Windows Server assessment tools:

  • Get-ComprehensiveADReport - Complete Active Directory assessment for AD to AD migrations
    • Full user, group, OU, and computer inventory
    • User matching attribute analysis (EmployeeID, email, UPN)
    • Privileged account identification
    • Cross-domain and cross-forest query support
    • Migration recommendations and data quality analysis
    • Executive summary with matching strategies
  • Check-ADMTPrerequisites - ADMT migration readiness validation
    • Domain functional level and trust relationship checks
    • Permission and network connectivity validation
    • SID History and Password Export Server prerequisites
    • Port connectivity testing for all AD protocols
    • Automated remediation guidance
    • CSV export with pass/fail/warning status
  • Start-FileShareAssessment - Comprehensive file share assessment with Excel reporting
    • Automatic SMB share discovery
    • Storage analysis and NTFS permission mapping
    • SharePoint/OneDrive compatibility checking
    • Professional Excel report generation

πŸ” PKI Assessments

Public Key Infrastructure assessment and reporting:

οΏ½ Microsoft Teams Assessments

Microsoft Teams infrastructure assessment and analysis:

  • Get-ComprehensiveTeamsReport - Complete Teams infrastructure assessment
    • Tenant configuration and policy analysis
    • Voice infrastructure (Direct Routing, Calling Plans)
    • User licensing and compliance reporting
    • Executive summary with recommendations

πŸ“± Intune Management

Microsoft Intune device enrollment and management:

  • Start-IntuneEnrollment - Force enrollment of Entra Joined devices
    • 3-tiered enrollment detection
    • GitHub direct execution support
    • Automatic policy synchronization
    • Comprehensive enrollment validation

οΏ½πŸ”§ Development Resources- Running Scripts from GitHub - Execute PowerShell scripts directly from GitHub- Code Standards - PowerShell coding standards and best practices (coming soon)

  • Graph Commands - Microsoft Graph API helpers and utilities (documentation pending)

🎯 Featured Scripts

New-Office365Accounts.ps1

Bulk user account creation for Microsoft 365 with automatic password generation, OneDrive provisioning, and Cloud Shell support. Accepts CSV files, arrays, or individual parameters.

Quick Start:

# From array
$users = @(
    @{FirstName='John'; LastName='Doe'; EmailAddress='john.doe@contoso.com'; UsageLocation='US'}
)
.\New-Office365Accounts.ps1 -UserArray $users -InitializeOneDrive

# From Cloud Shell (auto-detects environment)
.\New-Office365Accounts.ps1 -CsvPath "users.csv"

View Documentation β†’

Get-QuickO365Report.ps1

Complete Office 365 tenant assessment collecting mailboxes, licenses, OneDrive, SharePoint, Groups, Teams, and permissions. Generates professional Excel workbook with formatted tables.

Quick Start:

.\Get-QuickO365Report.ps1 -TenantDomain "contoso"

View Documentation β†’

Get-MailboxPermissionsReport.ps1

Comprehensive mailbox delegation audit for Full Access, Send As, Send on Behalf, and folder-level permissions.

Quick Start:

.\Get-MailboxPermissionsReport.ps1 -MailboxFilter SharedMailboxes

View Documentation β†’

Get-MailboxRules.ps1

Export and audit mailbox rules (inbox rules) to identify forwarding rules, auto-replies, folder moves, and automated actions. Essential for security audits and compliance.

Quick Start:

# All users
.\Get-MailboxRules.ps1

# Specific user
.\Get-MailboxRules.ps1 -UserPrincipalName "user@contoso.com"

View Documentation β†’

Start-FileShareAssessment.ps1

All-in-one file share assessment tool that discovers SMB shares, analyzes storage and permissions, checks SharePoint/OneDrive compatibility, and generates professional Excel reports.

Quick Start:

.\Start-FileShareAssessment.ps1 -Domain "Contoso"

View Documentation β†’

Get-ComprehensiveADReport.ps1

Complete Active Directory assessment for AD to AD migration planning. Exports all users, groups, OUs, and privileged accounts with user matching attribute analysis. Supports cross-domain and cross-forest queries.

Quick Start:

# Basic assessment
.\Get-ComprehensiveADReport.ps1 -OrganizationName "Contoso"

# Query different domain
.\Get-ComprehensiveADReport.ps1 -Domain "sachicis.org" -OrganizationName "SACHICIS"

# Cross-forest with credentials
.\Get-ComprehensiveADReport.ps1 -Domain "partner.com" -Credential (Get-Credential)

View Documentation β†’

πŸš€ Quick Start

  1. Clone the repository
  2. Review script requirements in comment-based help
  3. Install required PowerShell modules
  4. Run scripts with appropriate permissions

πŸ“‹ Requirements

  • PowerShell 5.1 or later (PowerShell 7+ recommended)
  • Appropriate Microsoft 365 admin roles
  • Required PowerShell modules (installed automatically by most scripts)

πŸ”— Key Links

⚠️ Important Notes

Client-Agnostic Development: All public scripts are designed to work with any customer environment. Customer-specific scripts belong in .prep/ directories only.

Production Ready: These scripts are actively used in enterprise IT environments for assessments, migrations, and automation.

Clone this wiki locally