|
DanBall -> RE: Windows PowerShell (Formerly Monad) (23.May2006 3:35:40 PM)
|
Well, it took a lot of research, but I'm getting closer. Wasn't able to figure out the PowerShell aspect, but got it "sorta" working with vbscript... Set objUser = GetObject("LDAP://CN=username,OU=Container,DC=DOMAIN,DC=COM") objUser.RestrictedAddressList = "allowedsender@domain.com" objUser.SetInfo objUser.RestrictedAddresses = FALSE objUser.SetInfo The RestrictedAddressList is supposted to be an array, but I can only get it working by directly assigning it a value, so that is the one remaining bug I need to work out. Otherwise, this short script seems to work flawlessly, and I can now do what I need to do.
|
|
|
|