Shouldn't that be %username%

?

-Bonnie

From: Joseph L. Casale [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2008 8:22 AM
To: NT System Admin Issues
Subject: RE: Scripted AD Redirected Profile Change

Hrm, so in reading, $username$ is supposedly expanded (Though I was skeptical) 
and it didn't?
I ran:
dsquery user -name Ros* "OU=Domain Users,OU=xxx,DC=xxx,DC=local" | dsmod user 
-profile \\xxx\Profiles$\$username$<file:///\\xxx\Profiles$\$username$>

And the path was written as it was typed?

Anyone know how to make this wildcard expand?

Thanks!
jlc

From: Carl Houseman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2008 6:11 PM
To: NT System Admin Issues
Subject: RE: Scripted AD Redirected Profile Change

You have it right, there were both apples and oranges in the discussion, and 
DSMOD USER applies to the apples but not the oranges.  You figured out the 
oranges on your own (GPO for redirected folders).

ADModify also applies to the apples problem, gives a nice GUI to mass modify 
almost anything in AD user accounts.

Carl

From: Joseph L. Casale [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2008 8:02 PM
To: NT System Admin Issues
Subject: RE: Scripted AD Redirected Profile Change

Redirected folders can be done via gpo, but I didn't know roaming profiles 
could be?
That's what I am changing, the associated paths for the profile which that tool 
does.

Thanks guys!
jlc

From: Carl Houseman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2008 5:29 PM
To: NT System Admin Issues
Subject: RE: Scripted AD Redirected Profile Change

 'dsmod user' changes AD attributes for a user account.

OP seems to want to change items in a roaming profile that is presently 
resident in a server share.  Presumably he wants to make changes to the 
profile's user registry or other content in the stored profile, such that those 
changes will take effect the next time the user logs in.

I think you're looking at login script or a GPO for those things are are 
GPO'able.

The next question is, what kind of changes are you trying to make?  Have you 
checked to see if they're already controllable by an existing GPO?

Carl

From: Damien Solodow [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2008 4:57 PM
To: NT System Admin Issues
Subject: RE: Scripted AD Redirected Profile Change

You can definitely do that with dsmod. Run 'dsmod user /? |more' for more info

From: Joseph L. Casale [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2008 4:54 PM
To: NT System Admin Issues
Subject: RE: Scripted AD Redirected Profile Change

Thanks for all the quick responses!
Sorry, I meant the users Roaming Profile.

jlc


From: Michael B. Smith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2008 2:38 PM
To: NT System Admin Issues
Subject: RE: Scripted AD Redirected Profile Change

Such as what, specifically?

Regards,

Michael B. Smith
MCITP:SA,EMA/MCSE/Exchange MVP
http://TheEssentialExchange.com

From: Joseph L. Casale [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2008 4:33 PM
To: NT System Admin Issues
Subject: Scripted AD Redirected Profile Change

I have a slew of redirected profile changes to make. I was hoping to obviously 
script this.
Anyone got a pointer to a doc or anything they could share?

I don't want to be here late tonight, again! <grin>

Thanks,
jlc















~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

Reply via email to