Lees hier de laatste IGA-ontwikkelingen

PowerShell: list NTFS permissions on folder

Same as on the AD permissions post, first bind to the directory, and get its ACL. $directory = "C:DATA" $acl = Get-Acl $directory $acl.psbase.getAccessRules($true, $true, [system.security.principal.NtAccount])

Lees meer

PowerShell: list AD permissions on object

Using PowerShell you first have to bind to a user using $UserObject=[ADSI]"LDAP://.....". After that you can use the $UserObject to display a detailed table of the AD object ACL. $Userobject.psbase.get_ObjectSecurity().getAccessRules($true, $true, [system.security.principal.NtAccount])

Lees meer

PowerShell: add NTFS security settings to folder

The script below adds "Modify" rights for a folder to its ACL.

Lees meer

PowerShell: assign send-as permissions to Exchange 2003 mailbox

On Exchange 2007 this is easy, but what if you have PowerShell without the Exchange 2007 provider? See below to assign send-as to a mailbox on regular PowerShell for Exchange 2003. The GUID as used in the script is an ExtendedRight which is listed on the Microsoft site (http://www.microsoft.com/technet/scriptcenter/topics/security/allrights.mspx).

Lees meer

VBScript to determine logical disk with most free space using wmi

strComputer = wscript.arguments(0) tempFreespace = 0 Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\" _ & strComputer & "rootcimv2")

Lees meer