Is there a way to pass parameters to a script run through Adaxes? I tried placing it in the Script text box under Action Parameters as shown in the attached screenshot but it seems to completely ignore the parameter.
You can do it in the following way:
& C:\Scripts\MyScript.ps1 -StringParameter "String value" -IntParameter 1234567890
Dear support, I'm trying to automate network share creations via custom commands. They idea is to create share and groups with command A and schedule ... "ADS_SCOPE_BASE" $scopeItem.Exclude = $False $scopeItem.SetInfo() $task.ActivityScopeItems.Add($scopeItem)
Receive "Index operation failed; the array index evaluated to null. Stack trace: at <ScriptBlock>, <No file>: line 104>" and "Index operation failed; the ... $GroupName, $GroupDN." } } #foreach write-output "" Write-Output "" Stop-Transcript
I asked this question last year, but have just dealt with running the commands manually since as I was unable to work out a solution. https://www.adaxes.com/questions/10506 ... desktop support not Azure Magician and do not know what API's teams falls under.
Hi, I need to start Adaxes scheduled task from Powershell console running on another host. How can I do that?
I have to generate an Excel sheet populated with some users informations. It works on the server itself, but not when i run it via Custom commands. There is the code that ... it does'nt open and throws an error : How to interact with com objects on Adaxes?