0 votes

Hello,

I need a way to populate with a schedule task "userWorkstations" with a list of computer objects located under a specific OU. The process must not relpace values already in "userWorkstations" attribute.

Thanks,

Mic

by (200 points)
0

Hello Mic,

Do we understand correctly that you need to take all the computers located in a specific OU and add them to the userWorkstations property of all users in a certain location? If that is not correct, please, describe the desired workflow in all the possible details with live examples.

0

Hello,

you need to take all the computers located in a specific OU and add them to the userWorkstations property --> this is right

I need to add them to the userWorkstations property of users that I pick-up from AD (can be one or several users at a time).

0

Hello Mic,

Sorry for the confusion, but we are not sure we understand the desired workflow. If you need a scheduled task, user will have to be predefined in the Activity Scope. It is not possible to specify the users before running a task. However, if you want to use a custom command, you will be able to select the users manually (can be one or multiple users). If using a custom command is what you need, please, specify whether the computers OU must be predefined or there should be an option for selecting it.

0

user will have to be predefined in the Activity Scope.

Okay this is possible, I can actually use an AD Group as Activity Scope and put the users in this group.

We need to ensure that members of this group have all computers objects that are located under a specific OU in the userWorkstations property.

1 Answer

0 votes
by (288k points)

Hello Mic,

Thank you for specifying. Have a look at the following script from our repository: https://www.adaxes.com/script-repository/add-computers-from-an-OU-to-user-workstations-s655.htm.

Related questions

0 votes
1 answer

Hello, I have a simple custom command that need to update the ProfilePath of Remote Desktop Services only if the current Profilepath starts with a specific value. I use the If ... the result is never true so the value is not updated. Thanks in advance. Ten

asked Dec 3, 2019 by tentaal (1.1k points)
0 votes
1 answer

Hi all, Am trying to convert a mailbox from a user box to a shared box in O365. Have been for the past few weeks even. The ... account the method points at - http://www.adaxes.com/sdk/?ExecuteScriptContextClass.html#executescriptcontext_getoffice365credential

asked Feb 24, 2020 by TheLexicon (200 points)
0 votes
1 answer

We are trying to get a scheduled task to run every Friday night at 10:00pm to pull the users needed to be fully deprovisioned by the custom command we have created.

asked Dec 2, 2016 by willy-wally (3.2k points)
0 votes
1 answer

I have a few reports that I want to add to a custom command workflow such that the report is executed and exported to a csv in a pre-defined (variable) path. I was ... a script to run the report and export it, but could not locate information on that process.

asked Oct 28 by aweight (60 points)
0 votes
1 answer

Occationally Service Desk staff need to clear a DNS record when a desktop has been reimaged but is keeping the same name as loses the ability to manage its original DNS ... running in ADAXES. Can I just install the applet on the ADAXES server using powershell?

asked Jan 17, 2023 by stevehalvorson (110 points)
3,541 questions
3,232 answers
8,225 comments
547,802 users