userSharedFolder attribute set Tagged: userSharedFolderThis topic contains 4 replies, has 2 voices, and was last updated by Don Jones 8 months, 1 week ago.Viewing 5 posts - 1 through 5 (of 5 total)Author PostsJanuary 24, 2016 at 4:59 pm #34236 Partho Sankar RoyParticipantGuys,Any idea how do I set a user's userSharedFolder attribute using powershell, Seems set-aduser doesnt have this attribute. I have a text file containing user samaccount name and userSharedFolder folder value.Thanks in advance.January 24, 2016 at 5:16 pm #34238 Don JonesKeymasterSet-ADUser may not have a specific parameter, but the -Properties param can set anything.January 24, 2016 at 5:25 pm #34239 Partho Sankar RoyParticipantThanks for your reply Don, but did you mean -Properties param of set-aduser ? I think there is no -Properties in set-Aduser.January 24, 2016 at 5:28 pm #34240 Partho Sankar RoyParticipantI think I got it, I can use add or replace param in set-aduser, Thanks Don.January 24, 2016 at 5:29 pm #34241 Don JonesKeymasterApologies; wrong command. You'd use -Add or -Replace or -Remove. The help has examples.Author PostsViewing 5 posts - 1 through 5 (of 5 total)You must be logged in to reply to this topic.