Active Directory Tips Windows Platform

Top 7 PowerShell commands AD-Exchange

This exercise I will cover the seven most used PowerShell commands helping you to use Active Directory. New-ADOrganizationalUnit,New-ADUser,NEW-ADGroup,ADD-ADGroupMember,New-MailboxDatabase, Enable-Mailbox,Set-ADGroup # 1 – Create Montreal organizational unit for Montreal employees. New-ADOrganizationalUnit Montreal # 2 Create user account Philippe in montreal Organization Unit. New-ADUser -Name “Philippe” -Enabled $True -path “OU=Montréal,DC=formation,DC=local” -SamAccountName “Philippe” -UserPrincipalName “[email protected]” -AccountPassword (ConvertTo-SecureString “Motdepasse2016” […]

Active Directory

Active directory and Microsoft Exchange Usefull

Microsoft has several commands available through the Powershell server with Windows, allowing access to Active Directory. This simplifies tasks that previously required the introduction of long lines of code involving. The Active Directory module via PowerShell must be installed. Active Directory Cmdlet // Export members list of a group Get-ADGroupMember -identity “Account” | select name […]