Export AD users to CSV with PowerShell
We want to export AD users information to CSV with PowerShell. Why do we need to list the AD users with PowerShell? For example, we want to know if every AD user has the correct mobile phone number in Active…
We want to export AD users information to CSV with PowerShell. Why do we need to list the AD users with PowerShell? For example, we want to know if every AD user has the correct mobile phone number in Active…
We have an existing Azure AD Connect synchronization with Microsoft 365 tenant. We did create a new Microsoft 365 tenant, and we like to move Azure AD Connect to the new tenant. This means that the existing on-premises organization with…
Azure AD Connect stopped syncing to Azure AD. Looking in Azure AD Connect Synchronization Service Manager, the sync shows the status stopped-deletion-threshold-exceeded. In this article, you will learn why this is happening, and the solution for stopped deletion threshold exceeded.…
We like to uninstall Azure AD Connect. The organization will no longer use Azure AD Connect to sync AD objects between on-premises AD and Azure AD because the servers are moved to the cloud. This is when we like to…
How to count Active Directory objects, and why do we need the AD objects count? In our example, we want to have the total count before we install and configure Azure AD Connect. That's because we need to know the…
How to bulk remove users from AD security group with PowerShell? You can select multiple users in AD and remove them from the group, but what if you have a list of users and you don't want to find them…
How to bulk add users to AD security group from CSV file with PowerShell? You can select multiple users in AD and add them to the group, but what if you have users all over the place in different OUs?…
We want to check free disk space on all the domain-joined Windows systems. These are the Windows Server and Windows 10 systems. An excellent way to retrieve the disk space is with PowerShell. In this article, we will bulk check…
In the previous article, we run Microsoft IdFix to identify errors such as duplicates and formatting problems in the on-premises directory. To sync on-premises identity infrastructure to Microsoft Azure AD, we will install and configure Azure AD Connect step by…
We like to create Active Directory users with PowerShell. This time, we need to add a country code to the users. Having a list with all the countries and the specific country codes is excellent, as we can search for…