Entries

Exchange Hybrid requirements

Many customers plan to migrate to Exchange Online services, and all of them have to know the requirements to build a secure infrastructure with Exchange on-Premises and Exchange Online "EXO". This article describes all the requirements for the Exchange hybrid deployments.

Read more

Written by Arne Tiedemann on Monday October 21, 2019

Image: 2019-06/bulb-conceptual-creative-256307.jpg

Secure Install of Azure AD Connect

When you plan to start using Microsoft Office 365 workloads and you have an on-Premises Windows Active Directory, you should plan your identity synchronization. This article describes the secure installation of the Azure Active Directory Connect.

Read more

Written by Arne Tiedemann on Thursday September 26, 2019

Image: 2019-06/analysis-blackboard-bubble-355952.jpg

The missing Set-GPPermission PowerShell function

Sometimes administrators have to set DenyApply permission on many group policies. How can an admin do this but default GroupPolicy PowerShell Module does not have this function. 

Read more

Written by Arne Tiedemann on Wednesday September 11, 2019

Image: 2019-06/codes-electronics-laptop-214221.jpg

DHCP Server DNS Updates

If you use a Microsoft DHCP Server with many scopes and you have to check each scope configuration.....

Read more

Written by Arne Tiedemann on Tuesday August 13, 2019

Image: 2019-06/art-artist-artistic-316465.jpg

Domain Controller Zip Security Archiv

In some environment, it is necessary to enable event log archiving for local event logs. This article describes how to identify the archives and zip the archives to save storage place.

Read more

Written by Arne Tiedemann on Tuesday August 13, 2019

Image: 2019-06/artificial-intelligence-blur-close-up-546819.jpg

Office 365 and Azure basic's Part II

In the first article, I describe the basic of configuring the Office 365 settings. In this articel, I will describe some daily or weekly tasks for Azure AD and I want to sensitize you to configure GEO DNS correctly and take a weekly look at the secure score.

Read more

Written by Arne Tiedemann on Tuesday August 13, 2019

Image: 2019-06/artificial-intelligence-blur-close-up-546819.jpg

Read Password last set from Organizational Unit

Sometimes an administrator needs to get a list of Password Last Set of from users in an organizational unit. With this PowerShell function, you can get a list of sorted "pwLastSet" from old to new. function Get-MyADPasswortAge { <# .SYNOPSIS This Cmdlet add get the age of ad user …

Read more

Written by Arne Tiedemann on Tuesday July 2, 2019

Office 365 and Azure basic's Part I

This article describes the basic activities of an Office 365 and Azure administrator. Which configurations should be reconsidered, which are fundamental.
All this can be found in this article.

Read more

Written by Arne Tiedemann on Thursday June 13, 2019

Image: 2019-06/art-artificial-intelligence-blackboard-355948.jpg

Remove-MyDHCPServerv4Reservation

If you have more than one DHCP Server and you want to remove dhcp reservation on all of your servers, you can use these functions for that. function Remove-MyDHCPv4Reservation { <# .SYNOPSIS This Cmdlet add an dhcp reservation on both dhcp servers .DESCRIPTION This Cmdlet …

Read more

Written by Arne Tiedemann on Wednesday November 21, 2018

Image: 2018-06/tit-powershell-blue.png

Add-MyDHCPServerv4Reservation

If you have more than one DHCP server and you want to add DHCP reservation on all of your servers, you can use these functions for that. function Add-MyDHCPv4Reservation { <# .SYNOPSIS This Cmdlet add an dhcp reservation on both dhcp servers .DESCRIPTION This Cmdlet add an dhcp …

Read more

Written by Arne Tiedemann on Tuesday November 20, 2018

Image: 2018-06/tit-powershell-blue.png

How to get Operatingsystem from all domain controllers in the forest

Sometimes you need to know the Windows Version of all domain controllers in the forest. This short snippet can help to find all domain controllers in the entire forest. <# Get all Domain Controllers Windows Versions #> # Set variables $ADDomainController = @() $Domains = …

Read more

Written by Arne Tiedemann on Tuesday October 23, 2018

Image: 2019-06/apple-black-and-white-black-and-white-169573.jpg

Fast way to access group memberships

Sometimes you have to ask for your own group membership or you write a script and have to get the memberships. Everybody knows the command whoami but does you know that you can convert it to CSV with PowerShell. WHOAMI /GROUPS /FO CSV /NH | ConvertFrom-Csv -Header 'GroupName','Type','SID','…

Read more

Written by Arne Tiedemann on Tuesday July 17, 2018

Image: 2019-06/codes-electronics-laptop-214221.jpg

Recreate Exchange Mailbox with legacyExchangeDN and emailaddresses

Sometimes when you want to move a mailbox from Exchange 2010 to Exchange 2013 or 2016 the move request stops with the following error: MigrationMRSPermanentException: MapiExceptionUnexpectedType: Unable to query table rows StoreEc: 0x80040304 And you have already installed …

Read more

Written by Arne Tiedemann on Monday July 2, 2018

Image: 2019-06/black-and-white-close-up-cubes-1591062.jpg

Active Directory NO_CLIENT_SITE report

As an Active Directory administrator, you have to do recurring tasks. One task is to check if client subnets are pointed to an Active Directory site and if not Domain Controllers will log this message in the following log file and print a warning message at the event log. EventLog ID: 5807  …

Read more

Written by Arne Tiedemann on Friday June 22, 2018

Image: 2019-06/apple-black-and-white-black-and-white-169573.jpg

Powershell New-Credential

Sometimes you need a credential object in scripts to run that script unattended. This article describes a way to create a credential object to use it in interactive and non-interactive scripts. Common Scripts Interactive-Mode You can create the PSCredential object by using Get-Creden…

Read more

Written by Arne Tiedemann on Wednesday June 20, 2018

Image: 2018-06/tit-powershell-blue.png

LastLogonTimestamp

Sometimes you have to identify the last logon of a user or computer object in Active Directory. With this little code, you can list all users/computers ordered from old to new logins. Get-ADComputer -Filter * -SearchBase "OU=<OU>,DC=<DC>,DC=DC=<DC>" -Server "Domain …

Read more

Written by Arne Tiedemann on Monday June 18, 2018

Image: 2018-06/tit-powershell-sw.png

Working with big logfiles

When we want to work on big files with PowerShell, PowerShell goes slower and slower. In my last projects, I have to work on Windows DHCP Server logfiles and convert this to CSV or I have to work on big Exchange Server logfiles to get information about what Outlook version is used. This …

Read more

Written by Arne Tiedemann on Thursday June 7, 2018

Image: 2018-06/tit-powershell-blue.png

Azure Shell

This article describes how to use the Azure Shell with PowerShell and Module MSOnline to manage Exchange Online accounts. You need an Office 365 tenant You need a subscription that allow the creation of an storage account When you start the Azure Shell the first time, the portal …

Read more

Written by Arne Tiedemann on Sunday June 3, 2018

Image: 2018-06/tit-powershell-blue.png

Elevated Shell?

Somtime you have to verify if your PowerShell session runs with elevated permissions. With this short code you can check it and inform the user or stop the script if elevated permissions are required. If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetC…

Read more

Written by Arne Tiedemann on Friday June 1, 2018

Image: 2018-06/tit-powershell-sw.png