}

Blog

Lees hier de laatste IGA-ontwikkelingen

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, since this attribute is not an actual schema attribute but generated on-the-fly.

Lees meer

VBScript to read exchange mailbox size using wmi

The below VBScript uses WMI to connect to the Exchange namespace (parameter 1 = server, 2 = output path). It iterates through all mailboxes on the server and writes the GUID and the Size to the mailboxsizereport.csv file.

Lees meer

PowerShell examples

Move all mailboxes from Server1 to a target database on Server2. Get-Mailbox -Server Server1 | Move-Mailbox -TargetDatabase Server2Executives Get all users from the OU "Gemigreerde Accounts" who don't have UMRAMAILBOXMIGRATED in their Notes attribute and disconnect the mailbox from the user object.

Lees meer