![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | active directory hello I must change some properties by all active directory users. see picture: user.jpg maybe in english is that the register: environment How can I do that? Does everyone have some samples? thanks greets from switzerland mark |
My System Specs![]() |
| | #2 (permalink) |
| | Re: active directory Walser Mark wrote: Quote: > hello > I must change some properties by all active directory users. > see picture: user.jpg > > maybe in english is that the register: environment > > How can I do that? > > Does everyone have some samples? > > thanks greets from switzerland > > mark > > > ------------------------------------------------------------------------ > Marco -- Microsoft MVP - Windows PowerShell http://www.microsoft.com/mvp PowerGadgets MVP http://www.powergadgets.com/mvp Blog: http://marcoshaw.blogspot.com |
My System Specs![]() |
| | #3 (permalink) |
| | Re: active directory hello marco I have a version in english, now. I want disable this 3 options. I hope you can help me. thanks mark "Marco Shaw [MVP]" <marco.shaw@_NO_SPAM_gmail.com> schrieb im Newsbeitrag news:udAZr58oIHA.4716@xxxxxx Quote: > Walser Mark wrote: Quote: >> hello >> I must change some properties by all active directory users. >> see picture: user.jpg >> >> maybe in english is that the register: environment >> >> How can I do that? >> >> Does everyone have some samples? >> >> thanks greets from switzerland >> >> mark >> >> >> ------------------------------------------------------------------------ >> > Sorry, it might help if you provide the details of the image in English... > > Marco > > -- > Microsoft MVP - Windows PowerShell > http://www.microsoft.com/mvp > > PowerGadgets MVP > http://www.powergadgets.com/mvp > > Blog: > http://marcoshaw.blogspot.com |
My System Specs![]() |
| | #4 (permalink) |
| | Re: active directory mark walsr wrote: Quote: > hello marco > > I have a version in english, now. > I want disable this 3 options. > > I hope you can help me. http://www.msterminalservices.org/ar...r-Objects.html I'm not able to find the method in PowerShell just yet... Marco -- Microsoft MVP - Windows PowerShell http://www.microsoft.com/mvp PowerGadgets MVP http://www.powergadgets.com/mvp Blog: http://marcoshaw.blogspot.com |
My System Specs![]() |
| | #5 (permalink) |
| | Re: active directory The problem is those settings are store in a single attribute in AD called userParameters. This value is a unicode string. The COM call from VBScript abstracts each of the "properties" to their real location in AD. Messing with this value (userParameter) directly is probably not a good idea. Here is how you set/get them in Powershell $user = [ADSI]"LDAP://<dn>" # To Get $user.psbase.InvokeGet('ConnectClientDrivesAtLogon') $user.psbase.InvokeGet('ConnectClientPrintersAtLogon') $user.psbase.InvokeGet('DefaultToMainPrinter') # To Set $user.psbase.InvokeSet('<property>','1') # Enable $user.psbase.InvokeSet('<property>','0') # Disable If you change something you will need to do a SetInfo() on the $user $user.SetInfo() Brandon Shell --------------- Blog: http://www.bsonposh.com/ PSH Scripts Project: www.codeplex.com/psobject M> mark walsr wrote: M> Quote: Quote: >> hello marco >> >> I have a version in english, now. >> I want disable this 3 options. >> I hope you can help me. >> M> http://www.msterminalservices.org/ar...rver-Based-Com M> puting-Terminal-Services-Attributes-Active-Directory-User-Objects.htm M> l M> I'm not able to find the method in PowerShell just yet... M> M> Marco M> M> PowerGadgets MVP M> http://www.powergadgets.com/mvp M> Blog: M> http://marcoshaw.blogspot.com |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Active Directory | Vista mail | |||
| Active Directory | Vista General | |||
| Active Directory | Vista networking & sharing | |||
| Active Directory | PowerShell | |||
| active directory | PowerShell | |||