Browse Forum Posts by Tags

Showing related tags and posts for the PowerShell for Windows forum. See all tags in the site
  • How do I get the job creation date on job termination ?

    I've made script for running a script with any number of parameters in the back ground. I've registered the StateChanged event for the job, and the script Writes Start, Stop and elapsed time after the job terminates. I'm using the script 'Register-TemporaryEvent.ps1' from Windows...
    Posted to PowerShell for Windows (Forum) by Carsten Schwartz on 10-29-2010
    Filed under: Start-Job Background
  • Jobs never leave the status Running

    I´m trying to run small and simple Jobbing Script on a Window Server 2003 R2, but after i´ve invoked the start-job cmdlet, the Job starts and stuck in the state "Running". For Example i try start-job -ScriptBlock {Get-Process} but the Job never Ends. Do you know if i need some Windows...
    Posted to PowerShell for Windows (Forum) by Oliver Dörr on 05-12-2011
    Filed under: Start-Job Background, running, jobbing
  • PSRemote Challenge

    I have a need to copy files from a remote server to another server that will be a scheduled task to run every hour. The files can be quite large so I found that 'robocopy' is the better utility for this case. I have read the post for how to utilize it within powershell and it works great locally...
    Posted to PowerShell for Windows (Forum) by squeekie on 10-24-2011
    Filed under: Start-Job Background, powershell, file, powershell pssession, pssession, winrm, Windows Server 2003, Directory listing, remote server, server, Robocopy, PS-Remote
  • Trouble backgrounding .bat file invocations

    Background: I'm using PowerShell to automate a legacy build process. There are a couple .bat files I need to invoke and would like to run them in parallel. They end with a "Pause" command, so I need to supply input in order for the jobs to complete. I can invoke the .bat files serially...
    Posted to PowerShell for Windows (Forum) by BillJr58 on 04-13-2012
    Filed under: Start-Job Background, batch multiple command lines powershell windows
Page 1 of 1 (4 items)
Copyright 2012 PowerShell.com. All rights reserved.