Set AdUser Home Directory in PowerShell

 Using the Set-AdUser cmdlet in PowerShell to set the home directory folder path.

Set-ADUser -Identity Arons -HomeDirectory 'D:\Arons'
 
Get-Aduser -Identity Arons -Properties * | Select SamAccountName,HomeDirectory,HomeDrive,ProfilePath

Export/import windows server DNS zones

You can use Export-DnsServerZone and Import-DnsServerZone .   Export: Export-DnsServerZone -Name "test.com" -Filename "test...

Mais vistos