0 votes

I need a detailed, step-by-step, of the custom commands

by (40 points)

1 Answer

0 votes
by (272k points)

Hello,

Have a look at the following script from our repository: https://www.adaxes.com/script-repository/all-business-rules-custom-commands-scheduled-reports-and-scheduled-tasks-s394.htm. For the report to include information only about Custom Commands, the $configurationObjectInfos variable should look like the following:

$configurationObjectInfos = @{
    "Custom Commands" = "CustomCommands", "adm-CustomCommand";
    #"Business Rules" = "BusinessRules", "adm-BusinessRule";
    #"Scheduled Tasks" = "ScheduledTasks", "adm-ScheduledTask";
    #"Reports \ Schedule" = "ReportSchedule", "adm-ReportScheduledTask";
} # TODO: comment out unnecessary

If that is not what you need, please, describe the desired behavior in all the possible details with live examples.

Related questions

0 votes
1 answer

Hi there, i've a custom command with multiple powershell scripts (for clearance reasons). If for example the frist script produces an error i Write an Error but the next ... tried with an simple exit 1; I only Write-Errors on issues. Kind regards, Constantin

asked Jul 23, 2021 by Constey (190 points)
0 votes
1 answer

Are PowerShell commands supposed to show up in the programming interface after adding the module to the Adaxes server? I've installed modules and they don't show.

asked Aug 18, 2020 by ComputerHabit (790 points)
0 votes
1 answer

For a custom command, I need to perform some actions, then reboot a computer, then perform some more. How can we handle the reboot so the actions continue once the computer is back up and ready? Thanks

asked May 17, 2022 by jcrook (100 points)
0 votes
1 answer

Is there a way to bind custom commands to an OU? Command1 to OU1 and all objects under this location Command2 to OU2 and so on

asked Dec 10, 2018 by plesen (100 points)
0 votes
1 answer

We are running Adaxes 2013.1 and have built several custom commands in our development environment and we would like to export them to our production environment. We don't see ... is this possible or do we have to rebuild the commands in the prod environment?

asked Jul 29, 2013 by avfasi (80 points)
3,346 questions
3,047 answers
7,782 comments
544,988 users