powershell

LDAP: managing exchange features using protocolsettings attribute

Active Directory stores the contents of the “Exchange features” tab in various attributes. The ...

PowerShell: add and remove send-as permissions

Adds the sendas permission to a user object using ExtendedRights add-ADPermission -identity "CN=Arnout van ...

Request your VB or PowerShell script

My blog features several examples on scripting for Active Directory and Exchange user account ...

PowerShell: list NTFS permissions on folder

Same as on the AD permissions post, first bind to the directory, and get ...

PowerShell: list AD permissions on object

Using PowerShell you first have to bind to a user using $UserObject=[ADSI]”LDAP://…..”. After that ...

PowerShell: add NTFS security settings to folder

The script below adds “Modify” rights for a folder to its ACL. $directory = ...

PowerShell: assign send-as permissions to Exchange 2003 mailbox

On Exchange 2007 this is easy, but what if you have PowerShell without the ...

PowerShell: get all group memberships (including nested and primary group)

Uses the TokenGroups attribute, which can only be read after refreshing AD’s property cache, ...