• Export All Dynamic groups with its membership rules

    Hello Guys,

    I'm in need of a powershell script to get all dynamic groups in our environment with the membership rules. 

    I can get the list using the below script but the membership rules i get is the membership rules plus GUID & SID of the OU's with…

  • try catch not working

    I wrote a custom powershell script and have it run in a workflow.

    I'm having an issue with the try catch statement. If I remove try catch and just run the command inside the try method, the workflow executes fine. However, when a try catch is added,…

  • Quickconnect Deprovision from DB2 Table to Active Roles

    Source System: DB2 Table

    Destination: Active Roles Server

    I have the synchronization service read data from a table. This table is formed by user submission to deprovision accounts. From the sync server, I send a deprovision job over to Active Roles…

  • Appending secondary owners for a group via powershell

    I am running into issues when trying to update the secondary owners list for a given group.

    I can set a secondary owner via the command below, but it overwrites existing data. I am trying to append a new secondary owner without removing what's there already…

  • powershell report workflow run history parameters

    I'm trying to provide people with a powershell report on the run history of a workflow, and include the parameters that were defined on them.

    You can see the parameter if you right-click the workflow and check the run history from there. But I'm unable…

  • Create Exchange User Mailbox - Quest Powershell

    Hi guys,

    I'm just looking to see if it's possible to create an exchange user mailbox using Quest AD Shell module within Powershell? I'm not familiar with QAD module and it's commands.

    In our current environment there is an option to "Create…

  • Creating users with unique attributes

    Hi,

    I am currently struggling to figure out a strategy to ensure that user attributes are unique.

    I did some reading and found an article that recommended what attributes should be unique: https://blogs.technet.microsoft.com/389thoughts/2017/02/03/uniqueness…

  • Add-PSSnapin : No snap-ins have been registered for Windows PowerShell version 5.

    Hi,

    I am trying to access Quest AD server via Powershell PSSession which is running in windows 7, powershell 5.1. But the Quest AD server running in Windows 12, Powershell 3.1.

    I am facing  the below error when add-snapin from PSSession

    "Add-PSSnapin …

  • Update description field on a managed unit fail

    Hi

    In the Helpdesk site I have created custom form with access to the description attribute and linked this to the directory object type of a Managed Unit. I have also created a user account with limited permissions in ARS but enough to allow changes…

  • Working with group changes using Powershell

    Hi,

    Are there any example scripts floating around that show how to interact with changes made to groups using the script modules?

    I am fairly familiar with working with User objects and "onPreCreate", "OnPostCreate" etc, but I don't have any examples…

  • Workflow Script dependencies

    Hi,

    i wrote a custom script for computer to add them to sccm.

    The commands work fine (add Computer to SCCM and to an OSD Collection) i just have trouble as i'm getting a timeout in the gui while create the object because i takes some time to get an Device…

  • Using SET-QADUser to change CN attribute

    Hi,

    I need to update a bunch of users names to title case (John Smith). Currently everything is upper case.

    Set-QADUser -Identity "john.smith" -DisplayName "John Smith" -ObjectAttributes @{cn="John Smith"}

    Using the command…

  • Using a custom password generation script

    Hi,

    I would like to use a custom password generation script written using powershell.

    The custom script is essential just a copy of the default, but I swapped the "New-Password" function with my own and then deleted some of the other checks the default…

  • Issues setting attributes via PowerSHell

    Hi all,

    we are about to roll-out self-service for group management.

    For that reason, I need to bulk-set primary and secondary owners.

    While trying to get started I am experiencing issues in settings neccessary attributes.

    I can set ManagedBy flag and…

  • ARS Scripts to PowerShell

    Hi,

    I am for some reason uninstalling ARS. But keeping the ARS scripts as they are still in work. So how do I convert ARS scripts in to PowerShell Scripts? Or is there any way to run the ARS Scripts Without ARS?

    Thanks,

    zzeet

  • Possible to add a reason / justification for a request / workflow using PowerShell and Add-QADGroupMember?

    Hello all,

    Recently, we have implemented Workflows into ARS and I am trying to make sure that I can still automate certain processes. Currently, I am working with a security group that has a workflow implemented which sends an email to an approver which…

  • Add script to specific user attribute

    Hello,

    I'm trying to add a script to users attributes that will generate a 8 digit pin every 24 hours.

    We  have the script ready to go and will set it up in a scheduled task however,  I am having trouble linking the script to the specific attribute…

  • QARS Workflow/Policy Script to capture onPostModify of the mail attribute for a user and then write user's employeeID and mail attribute to a CSV file for export to our Workday HR system

    I need to implement a workflow/policy script that triggers onPostModify of the mail attribute, both for new users and changes to the mail attribute of existing users, and writes the user's employeeID and mail attribute to a CSV file and uploads it to…

  • Parameters to script and back

    Hello

    I can't find any information about how to send parameter values from a workflow to a powershell script and back (after modifying them).

    What I already tried to pass parametervalues to a script:

    $testvar = $Workflow.Parameter("test")…

  • Get-QADuser not returning values for edsvaHomeDirectory

    Hello,

        Quest is populating this value for us for every new user created.  I would like to pull a report containing username and edsvaHomeDirectory for all users in AD.

    This is what I am running:

    get-qaduser -Identity * -Sizelimit '0' -IncludedProperties…

  • Add-qadpermission -extendedrights

     Good morning,

    So I have a bit of an issue, I'm currently trying to script the entire lock down of AD

    Access Applies to Permission
    Allow  This object and all child objects Create user
    Allow  user Write userAccountControl
    Allow  user ExtendedRight…
  • Powershell Add to group based on user attribute

    I'm writing my user create policy.  I'm going to set the office attribute to be a mandatory value.  In the policy I am going to include runs script.  Can someone help me with the first script.  If office attribute contains x, add to group X, if office…

  • Unable to set edsvaSecondaryOwnersCanUpdateMembershipList attribute on a group object using PowerShell

    Hello all,

    I have run into another snag when trying to modify objects in ARS with PowerShell. Currently, I am working on scripting DL creation but am hung up on changing one attribute. My current code is as follows:

    Connect-QADService -Proxy

    Set-QADObject…

  • Unable to add users to a shared mailbox using Set-QADObject @{'edsva-MsExch-SharedMailboxUsers'='user'}

    Hello all,

    I am currently scripting the creation of a shared mailbox using PowerShell and am running into a roadblock. I can create the new object without an issue, all included information is included however I cannot seem to add any users to the shared…

  • ARS PowerShell script to "Move" users from one group to another.

    I have a .csv with 2 columns. Column 1 is called SourceGroup with a list of groups, and the other is DestinationGroup with a different list. I have a script I am trying to use that will Add the users from SourceGroup to the DestinationGroup, after the…