TechNet PowerShell Function to create home folder for AD Users (Set-ADUserHomeFolder)

Set-ADUserHomeFolder Function creates a home folder for specified AD users. The function also grants each user Full Control Permision to the user’s  folder and configures the folder to map via a specified drive letter. Users will not have access to other users folders############

Source : TechNet PowerShell Function to create home folder for AD Users (Set-ADUserHomeFolder)

TechNet PowerShell Function to create home folder for AD Users (Set-ADUserHomeFolder)

Step-By-Step: Changing The UPN Suffix For An Entire Domain Via PowerShell – CANITPRO

Import-Module ActiveDirectory$oldSuffix = « canitpro.local »$newSuffix = « rebeladmin.com »$ou = « DC=canitpro,DC=local »$server = « DCM1″Get-ADUser -SearchBase $ou -filter * | ForEach-Object {$newUpn = $_.UserPrincipalName.Replace($oldSuffix,$newSuffix)$_ | Set-ADUser -server $server -UserPrincipalName $newUpn}

Source : Step-By-Step: Changing The UPN Suffix For An Entire Domain Via PowerShell – CANITPRO

Step-By-Step: Changing The UPN Suffix For An Entire Domain Via PowerShell – CANITPRO