MVP Systems Software  
email us now

Process Dependencies

Expand / Collapse
 

Process Dependencies


When JAMS allows you to make your jobs dependent upon a number of factors. Such as, Is that mission critical process running?

You can easily create a PowerShell job to test a wide array of conditions, for example:


$ProcessName = "abcxyz"

Get-Process -name $ProcessName


If the process cannot be found, the job will fail:

NoProcessFoundForGivenName,Microsoft.PowerShell.Commands.GetProcessCommand
Cannot find a process with the name 'abcxyz'. Verify the process name and call the cmdlet again. 



Rate this Article:

Add Your Comments


Name: *
Email Address:
Web Address:
   
  
 
 
   
Verification Code:
*
 

Details
Last Modified:Thursday, August 20, 2009

Last Modified By: DanielS

Type: HOWTO

Level: Novice

Rated 5 stars based on 1 vote

Article has been viewed 1,042 times.

Options