Browse By Tags

  • New-QADUser cmdlet Issue when logging the account creation event

    So when using the new-qaduser cmdlet, see below, The Event Log for event 4720 on the DC its connecting to to create the user account shows:

    Security ID: Domain\testing3
    Account Name: $2RG100-UU7PKQ1Q51GA
    Account Domain: Domain

    Attributes:
    SAM Account…

  • How to trigger map operation and commit without using the GUI console?

    Is there a way to trigger a map operation and commit for a password sync pair without using the GUI console?  The admin guide explains how to do it with console, but I'd prefer to send a command to the QARS server to trigger that, instead (preferably from…

  • How to call a remote powershell script from within a ARS workflow?

    Hi all, 

    Using ARS 7.4.3. I have a rather long Powershell script which I would like to start from a workflow. Meaning the workflow starts an Active Roles Powershell script which then fires the external script. In a normal powershell command windows, I…

  • Launch Windows Command or PS from ARS Web Site

    Is there a way to create a command from the ARS website that would have a remote computer run GPUPDATE /FORCE ??

    I am picturing finding the Computer in ARS Web Site, putting in a check mark then having the command available. Out of the box you can choose…

  • I want to create computer objects without accessing the ARS console

    I tried with the below code but it gives error.

    powershell.exe -command New-QADComputer -Name <Name of the new computer> -ParentContainer "<OU-Copied the distinguishedName of an earlier computer object from the AD>" -ObjectAttr…
  • Set visibility of an entry in a form through PowerShell script

    Hi everyone,

    We have built a custom form in which fields are populated through a PowerShell script, ARS runs this script as you are opening the form.
    It is used to provide a view of bought Office 365 licenses by each of our subsidiaries local IT teams…

  • Working with the proxyAddresses Attribute

    Hey,

    Just wanted to share my recent experience with working with the proxyAddresses attribute.

    Disclaimer: I am definitely not an expert with PowerShell and I mainly just script to the point of what works for me. I just wanted to compile my experience…

  • Create Dynamic Group in PowerShell

    The script creates a brand new Group and converts it to Dynamic upon setting the MemberShip rules.

    If the group already exists, remove the "New-QADGroup" command.

    This was tested in Active Roles 7.4.1.

    NOTE: This is provided "AS IS" and is not…

  • How to add additional column from different tables in RestAPI call

    In the API call we have an option to add additional columns for display in output, how should we refer a foreign attribute ? 

    For example I use a POST method to get person details, how to add a column from say department table ? 


    hostname/.../Person

  • 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,…

  • Powershell Component - Execute Commandline

    Hello,

    I currently have a problem using the powershell component in one of my processes.

    The error is as follows:

    The term 'Powershell command' is not recognized as the name of a cmlet, function, script file, or operable program"

    "Process…

  • 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…

  • 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…

  • PowerShell Library Source Code

    # *****************************************************************************
    # Best Practices Library For PowerShell
    # *****************************************************************************\
    #
    # Copyright One Identity
    #
    # Last modified: July 5, 20…

  • Custom e-mail with powershell

    Hello,

    Is there a way to access a variable from the PowerShell script in a custom email with shared settings?

    Thank you,

    Lu

  • 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…