How to Use NSLookup Command on Windows (Examples). Nslookup is a command in Windows used for obtaining information about domain names and the Internet Protocol (IP) addresses associated with those domain names. For example, the nslookup command is highly useful in obtaining different types of information using DNS queries, such as mail exchange server information, […]
How to Find Active Directory Users Last Logon Time (Using ADUC). Active Directory is a central component of many Windows based networks and serves as a database of users, groups, and computers that system administrators manage. One crucial task for system admins is to identify inactive user accounts in Active Directory and remove them to […]
Top 5 Active Directory Powershell Scripts for Active Directory (Users / Groups). Are you a Windows SysAdmin looking to automate routine Active Directory (AD) management tasks and simplify your AD administration tasks? PowerShell scripts help you accomplish this quickly and efficiently. This article explores top 5 Active Directory PowerShell commands for managing users, groups and […]
ADSI Edit: How To Edit Active Directory Using ADSI Edit. Firstly, ADSI (Active Directory Service Interface Editor) Edit allows access and modifies the underlying and unexposed directory service data through ADUC (Active Directory Users and Computers). In this article, we discuss the usage of ADSI Edit, including how to access the tool, primary navigation, and […]
Get-ADUser Filter OU – List Users from a Specific OU. Do you need a quick and efficient way to list all the users that belong to a specific Organizational Unit (OU) in Active Directory (AD)? Look no further than the Get-ADUser commandlet. This versatile PowerShell cmdlet has a Filter parameter that determines which users in an […]
DCDiag: How to Check Domain Controller Health using Powershell. DCDiag is a powerful command line tool used to diagnose problems with domain controllers in a Microsoft Windows Active Directory environment. We use it to check the health of domain controllers, identify errors or inconsistencies, and troubleshoot replication issues. DCDiag also helps administrators detect and resolve […]
Get-MgUserMemberOf – List Group Memberships of Azure AD User PowerShell. Have you been using Microsoft.Graph.Users PowerShell module and wonder how to use the Get-MgUserMemberOf cmdlet? This cmdlet lists the groups and directory roles to which an Azure AD user belongs. In other words, you use the Get-MgUserMemberOf command to display a list of all the […]
How to Setup and Manage Active Directory Password Policy. Organizations need a strong password policy now more than ever with the rise in cyberattacks throughout the globe. Sadly, hackers use users and administrators to access company networks, which results in security breaches and compliance failures. This article covers the development and upkeep of a solid […]
Connect-AzureAD – How to Connect to Azure AD using Powershell. Have you decided to add PowerShell to your Azure Active Directory administration tools but not sure what the first step is? Well, your first step is to connect to Azure AD using the Connect-AzureAD cmdlet, and this article guides you through the steps. However, since […]
Get Members of Active Directory Group and Export to CSV using PowerShell. The Windows PowerShell AD module is one of the most used modules for managing Active Directory (AD) domains and objects and retrieving data about users and computers. The AD module gathers several cmdlets used to control various objects, obtain AD group members, and […]