How Do Get Job Results Dialog Boxes Work?
The Get Job cmdlet gets attached objects that represent the currently started jobs in the session. You can also use Get-job to access started jobs from the history of the session, or by applying the Start-job cmdlet with various parameters. Using the parameters of Get-job you can search for specific jobs, or get all jobs from the session history. The job data object which Get-job returns contains information about the currently started job, however, it doesn’t contain the actual job details.
You may search the Get-job parameters to get started jobs from the command line. The parameters of the Get-job command include the following – none, -followed, -noexecution, -notempty, this parameter was introduced in windows 3.0 and is supported only on Windows server operating systems. The first parameter is the primary key which is notempty indicating that the command should be executed without any arguments. The second parameter is the path of the file or directory where the jobs should be stored.
-notempty indicates that the command should be executed without displaying the message Enter control. -followed indicates that the jobs should be displayed in a sequential manner from the left to the right. -noexecution indicates that the commands that you type in are not executed. -id this parameter was introduced in windows 3.0. The file or directory specified by the -id parameter is ignored and only the matching connection ID is shown.
The Get jobs dialog box can also be used to exit or close the current job. The parameters of the Get job dialog box are -jobname the name of the job in the windows 3.0 system. The parameters for the Quit dialog are -noerase, -nofollow, this indicates that the command should be not printed. The next parameter is the command to start the new job. -wait is waiting for the confirmation of the user before starting the new job. Use of these parameters enables the user to exit or close the command line application.
The Get job Results dialog box can be used to get the information about one or more jobs stored in the computer. The parameters of the dialog box are -help, -showhelp, -helpids, -ids, this indicates that the information of all the jobs is displayed in the Help menu of the computer. The parameters of the Get job Results dialog box can be individually specified to get the information of specific job or group of jobs. The user can specify the type of display of the list of help items and groups of help items. Use of the Lookup, Compare and Set parameters enables the user to compare the help items of different sessions and compare the values of the parameters.
The final parameters of the Get job Results dialog box are the values of the parameters that have not been required and those that are required. The value of this parameter can be zero (meaning that the information is available without requiring confirmation) or it can be one. If one is required, this parameter must be one and the value of this parameter must be one. To check the availability of a particular job type, you can check the availability of the Get Job Results dialogue box and the parameters that are set to get an example of what can be expected.