PS Script Update V1.3: Find a working domain controller from any domain even on non domain joined PC`s

Today i release a update on the script function “get-dc”. Sinds the first release I have received some feature requests and i have improved the codes error handling. The full list of changes: V1: Fixed a issue with the credentials when querying from a domain joined PC. V1.1: Updated “Site” param to “ADsite” and try to resolve default AD site…

Exchange: The security principal specified is already on the permission set

Every once in a while you will find customers running in to the following issue. When they try to get mailbox folder permissions or set mailbox folder permissions  a red error message pops up stating: The security principal specified is already on the permission set. + CategoryInfo          : NotSpecified: (:) [Get-MailboxFolderPermission], CorruptDataException + FullyQualifiedErrorId : [Server=SU8000006141,RequestId=628b5335-6148-4297-8f06-4c607b029737,TimeStamp=15-2-2017 06:46:24] [FailureCategory=Cmdlet-CorruptDataException] BE7556A,Microsoft.Exchange.Management.StoreTasks.GetMailboxFolderPermission + PSComputerName       …

Antispam counter measures explained Part 2: Advanced SPF records,  Best practice and biggest mistakes

Antispam counter measures explained Part 1: How the Sender Policy Framework really works Antispam counter measures explained Part 2: Advanced SPF records,  Best practice and biggest mistakes Antispam counter measures explained Part 3: How DKIM really works and best practice   In Part 1 I explained the basics of SPF and how you can implement the most common scenario`s. After the…

Antispam counter measures explained Part 1: How the Sender Policy Framework really works

Antispam counter measures explained Part 1: How the Sender Policy Framework really works Antispam counter measures explained Part 2: Advanced SPF records, Best practice and biggest mistakes Antispam counter measures explained Part 3: How DKIM really works and best practice   In this first part of “Antispam counter measures explained ” I will start with a detailed explanation of how…

PS Script: Connect to one or multiple Exchange server PowerShell sessions from any computer.

In my previous posts I showed some functions for finding an AD DC and run LDAP query’s against those DC`s. The following function “Connect-Exchangeservice” builds on top of the Get-LDAPobject function. This new function will connect you to the PowerShell management session of an exchange server. This way you do not have to install the exchange management tools to manage exchange via PowerShell. The big…