Active Directory

Test AD authentication with PowerShell Members

Test password Sometimes, it is useful to test Active Directory credentials to validate the login or the password. For example, following the bulk creation of users. The most commonly used actions is connecting to a remote desktop (RDP) or connecting to a webmail. However, either the number of login to

Bastien Perez
Bastien Perez
Active Directory

PowerShell - Tester si un objet AD existe Members

Point d’attention sur le module AD Lors du développement de scripts PowerShell pour Active Directory, il est souvent utile de tester si un objet AD (utilisateur, ordinateur, groupe) existe ou non. Premièrement, il faut installer le module Active Directory. Sur les dernières versions de PowerShell livrées avec Windows Server

Bastien Perez
Bastien Perez
Active Directory

Powershell - Test if AD object exists Members

Be careful about the AD module When building PowerShell scripting with Active Directory, it is often useful to check if an AD object (user, computer, group) is present or not. First, you need to install PowerShell AD Module. On the latest versions of PowerShell shipped with Windows Server 2016 and

Bastien Perez
Bastien Perez
Active Directory

Install PowerShell Active Directory module Members

To run PowerShell command for Active Directory (Get-ADUser, Get-ADComputer, Get-ADGroup, New-ADUser, etc.), the PowerShell module must be on the computer (workstation or server). There are two methods: 1. with the Active Directory PowerShell module installation. It depends on your Windows version 2. with module import via

Bastien Perez
Bastien Perez
Active Directory

Installer module Active Directory pour PowerShell Members

Pour exécuter les commandes PowerShell relatives à Active Directory (Get-ADUser, Get-ADComputer, Get-ADGroup, New-ADUser, etc.), il est nécessaire que le module PowerShell soit présent sur l’ordinateur. Il y a pour cela deux méthodes : 1. via l’installation du module PowerShell Active Directory. L’installation dépend de

Bastien Perez
Bastien Perez
Active Directory