DESCRIPTION
The Active Roles Management Shell can be used externally on a scheduled basis. For this, use Windows Scheduled Tasks and configure the following options:
Program/Script: PowerShell.exe
Add arguments (optional): "path\script.ps1"
The first line of the references PS1 file should contain the following cmdlet:
Import-Module ActiveRolesManagementShell