New-ADGroup -Name "Marketing" -GroupScope Global
Before running commands, ensure you have the Active Directory module loaded. Import-Module ActiveDirectory Check Connection: Get-ADDomain 👤 Managing User Accounts Core commands for creating, viewing, and modifying users. Download comptes utilisateurs groupes cmdes Power Shell pptx
The real power of PowerShell is importing lists from Excel/CSV files. Download comptes utilisateurs groupes cmdes Power Shell pptx
Search-ADAccount -AccountInactive -Timespan 90.00:00:00 Download comptes utilisateurs groupes cmdes Power Shell pptx
💡 Use the -WhatIf parameter at the end of any command to see what would happen without actually making changes.