Powershell Tangents
Powershell Import-GPO : The Data Is Invalid Fixed
By: Brenton Blawat This article is to aid those who are receiving the “Data is Invalid” error message in Powershell on Windows Server 2008 R2. This issue occurs while trying to import policies from one domain into their a different domain using a migration table. This issue has to do with the migration table editor [...]
Read Full Post | Make a Comment ( None so far )PowerShell Script: Encrypting / Decrypting A String – Function Encrypt-String
By: Brenton Blawat The encryption and decryption of strings is essential when creating an enterprise product that has clear text passwords. This function displays how to encrypt and decrypt a string using Powershell using Richard’s code located at http://poshcode.org/116. While I found his code very useful, he didn’t explain the syntax and is why I [...]
Read Full Post | Make a Comment ( None so far )PowerShell Script: Finding A Distinguished Name of a Group/User: Function Find-DN
By: Brenton Blawat This article explains the the method by which one would be able to Search Active Directory for the distinguished name of a User or Group. This is helpful when trying to add an object to Active Directory or adding Users to Groups. Function Find-DN Finding Distinguished Name: Download PS1 Here 1: # [...]
Read Full Post | Make a Comment ( 2 so far )PowerShell Script: Retrieving Distinguished name (DN) from A Fully Qualified Domain Name (FQDN)
By: Brenton Blawat While there are many posts that describe the code to do this function, there aren’t many posts that provide variables with meaning or actually describe the syntax. This post describes the method by which you can retrieve a Distinguished Name from a Fully Qualified Domain Name. Quick Reference: Fully Qualified Domain Name [...]
Read Full Post | Make a Comment ( 2 so far )PowerShell Script: Distinguished Name / Fully Qualified Domain Name to string
By: Brenton Blawat This article is designed to be short and sweet. This article displays the method by which one would retrieve the FQDN or Distinguished Name of the Domain. This is code is very useful for any operations in Active Directory. A must know for any scripter that needs to call the domain on [...]
Read Full Post | Make a Comment ( None so far )

