Skip to content

Apoc70/PowerShell-Scripts

Repository files navigation

PowerShell Scripts

This GitHub Repository contains most of my public PowerShell scripts. In the past I used dedicated repositories per script. I will archive those repositories after moving the script to this repository. C#-related projects remain in separate repositories.

Exchange Online

Script for Exchange Online

  • Move-MigrationUser.ps1

    This script creates a new migration batch and moves migration users from one batch to the new batch

Modern Exchange Server

Scripts for Exchange 2013, 2016, and 2019

  • Copy-ReceiveConnector.ps1

    Copy a selected receive connector and it's configuration and permissions to other Exchange Servers

  • Get-ExchangeEnvironmentReport.ps1

    Creates an HTML report describing the On-Premises Exchange environment.

  • Export-MessageQueue.ps1

    Export messages from a transport queue to file system for manual replay

  • Get-RemoteSmtpServers.ps1

    Fetch all remote SMTP servers from Exchange receive connector logs

  • Start-MailboxImport.ps1

    Import one or more pst files into an exisiting mailbox or a archive

  • New-TeamMailbox.ps1

    Creates a new shared mailbox, security groups for full access and send-as permission and adds the security groups to the shared mailbox configuration.

  • New-RoomMailbox.ps1

    This scripts creates a new room mailbox and security groups for full access and and send-as delegation. As a third security group a dedicated group for allowed users to book the new room is created. The CalenderBooking security group is only created, but not assigned to the room mailbox. Security groups are created using a naming convention.

Legacy Exchange Server

Scripts for Exchange Server 2010 and older

  • TBD

Misc

Some usefull scripts not Exchange related

Fetches disk/volume information from a given computer

Network

Some useful network related scripts

Stay connected

For more Office 365, Cloud Security, and Exchange Server stuff checkout services provided by Granikos