Details
-
Feature
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Starting Situation
- Experimental support for PowerShell with JobScheduler Master is provided with the information indicated by the How to program the JobScheduler API in PowerShell article.
- A .NET adapter class for 32bit systems is available that comes with two .dll files as indicted by the article.
- Manual job configuration is required
Desired Feature
- A PowerShell .NET adapter class is available for 32bit and 64bit Windows systems.
- The PowerShell adapter is provided with a single .dll file for both processor architectures.
- The PowerShell adapter class can be used with .NET releases 4.0, 4.6
Usage
- A single .dll file for x86 und x64 architectures is provided.
- Sample for registration for x86 JobScheduler as indicated with the above article.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe "[install_path]\bin\JobSchedulerPowershellAdapter.dll" /codebase
- Sample for registration for x64 JobScheduler
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe "[install_path]\bin\JobSchedulerPowershellAdapter.dll" /codebase
Maintainer Notes
- As of now the PowerShell adapter class is not specific for a JobScheduler release (but for a PowerShell version).
- Therefore the PowerShell adapter class can be used starting with release 1.10.4. Improved handling of job configuration for PowerShell will be introduced with later releases.