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
<# | |
.NOTES | |
=========================================================================== | |
Created on: 22/09/2017 10:58 AM | |
Created by: papicc0a | |
Organization: RAC of WA | |
Filename: Update-DGPermissions.ps1 | |
=========================================================================== | |
.DESCRIPTION | |
This script is used to update the Managed By Attribute (aka Owners field) on Distribution Groups. Exchange 2007 only allowed for a single |
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
<# | |
.NOTES | |
=========================================================================== | |
Created on: 28/03/2017 4:22 PM | |
Created by: Angelo Papiccio | |
Organization: Papiccio.com | |
Filename: Create-AESPasswordFiles.ps1 | |
=========================================================================== | |
.DESCRIPTION | |
This function can be used to create both an AES encryption key file and password file that can be used |
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
# Create a 32 bit random key to be used by the AES Key | |
$AESKey = New-Object Byte[] 32 | |
[Security.Cryptography.RNGCryptoServiceProvider]::Create().GetBytes($AESKey) | |
#Collect the location to store the AES Key file | |
$AESKeyFilePath = Read-Host -Prompt "Please enter the full path and file name for the AES Key (e.g. C:\AESKey.txt)" | |
Set-Content $AESKeyFilePath $AESKey #It will over-write existing file data if already exists |