Browsed by
Tag: AD

QuickTip – PowerShell – Scripts to Remotely Rename an Active Directory Computer Object

QuickTip – PowerShell – Scripts to Remotely Rename an Active Directory Computer Object

If you are deploying new systems or otherwise need to rename an AD computer object, you can use this script to make the change- Rename-Computer -ComputerName CURRENNTName -NewName NEWName –DomainCredential ADDomain\admin Make the changes, inline, to modify the current and new name parameters. As well as, change the “ADDomain\admin” to the AD domain and account that has the necessary permissions to change the name of the computer object. If you would like to make the script more interactive, you can…

Read More Read More

QuickTip: Exchange 2010 – Convert Universal Distribution Group to Mail-Enabled Universal Security Group

QuickTip: Exchange 2010 – Convert Universal Distribution Group to Mail-Enabled Universal Security Group

Do you need to convert an Exchange universal distribution group to a mail-enabled universal security group? You’re in luck! Try it out: In Active Directory Users and Computers, select the distribution group and go to properties. On the General tab, under Group Type, select Security Group. From the Exchange Management Shell, run the following command, substituting groupname for the actual name of the group. Use quotes around the group name if the name contains spaces: Set-Distributiongroup–identity groupname –MemberDepartRestriction Closed