This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.Requires -version 2 - Runs in Exchange Management Shell | |
.SYNOPSIS | |
.\AddresslistMemberReport.ps1 - It Can Display all the Address list and its members on a List | |
Or It can Export to a CSV file | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
-Creating Custom Mailboxes for Lab Purposes | |
I created a simple Script with a Loop | |
-So You Enter a Number of mailboxes you want | |
-Also You enter how the Mailboxes name should start with |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Requires -version 2 | |
<# | |
.SYNOPSIS | |
CreateCustomRoleGroup.ps1 - Creates Customized Role where members can access Rules Via OWA | |
.DESCRIPTION | |
Creates Management Role,Gets the Created Role into the Role Group | |
.OUTPUTS | |
Results are output to the PowerShell window. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[string]$info = "White" # Color for informational messages | |
[string]$warning = "Yellow" # Color for warning messages | |
[string]$error = "Red" # Color for error messages | |
[string]$LogFile = "C:\Temp\Log.txt" # Path of the Log File | |
function CreateFolder($MailboxName) | |
{ | |
Write-host "Creating Folder for Mailbox Name:" $MailboxName -foregroundcolor $info | |
Add-Content $LogFile ("Creating Folder for Mailbox Name:" + $MailboxName) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Requires -version 2 | |
<# | |
.SYNOPSIS | |
DiscoverySearchSimplified.ps1 - It Can Check for Required Permissions to do a Discovery Search | |
1.Check for Discovery Search Permissions | |
It will ask for the User Alias, Checks the User is a member of "Discovery Management" Role Group | |
2.Check for Mailbox Import Export Permissions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NOTE : Before running the script run below commands to check which are the mailboxes it will apply to | |
# Get-Mailbox -ResultSize Unlimited | Where-Object {$_.Primarysmtpaddress -ne $_.UserPrincipalname} | |
# Get-Mailbox -ResultSize Unlimited | Where-Object {$_.Primarysmtpaddress -ne $_.UserPrincipalname} | ForEach-Object {Set-Mailbox $_.identity -UserPrincipalName $_.Primarysmtpaddress -whatif} | |
# Include Exchange Powershell Module | |
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn |
NewerOlder