Job Tracker Help
Posted: Tue Jun 30, 2020 10:03 am
Product, version and build: PS Studio 2020
32 or 64 bit version of product: 64
Operating system: Win 10
32 or 64 bit OS: 64
Hey all
I am new to PS Studio and PowerShell in general. I have created a PS Form for our Service Desk and Level 2 Techs to use. Right now the form freezes when running one of the functions, and I am trying to use the Job Tracker to keep the form free while the function runs. I created a test form with just one function to try and work it out and apply to the original form, but so far no luck. I have not been able to find a page that shows step by step instructions on customizing the job tracker functions yet. Can anyone tell me where I am going wrong? It runs the function and outputs to the richtextbox but the form still locks up. Any help is appreciated.
32 or 64 bit version of product: 64
Operating system: Win 10
32 or 64 bit OS: 64
Hey all
I am new to PS Studio and PowerShell in general. I have created a PS Form for our Service Desk and Level 2 Techs to use. Right now the form freezes when running one of the functions, and I am trying to use the Job Tracker to keep the form free while the function runs. I created a test form with just one function to try and work it out and apply to the original form, but so far no luck. I have not been able to find a page that shows step by step instructions on customizing the job tracker functions yet. Can anyone tell me where I am going wrong? It runs the function and outputs to the richtextbox but the form still locks up. Any help is appreciated.
Code: Select all
$button1_Click={
$Icheck = InfoCheck
Add-JobTracker -Name $job -JobScript {
Param (
$Icheck
)
# other code
} -CompletedScript {
Receive-Job -Job $job
} -ArgumentList $Icheck
}