Help for this page

Select Code to Download


  1. or download this
    foreach my $targetServer (@targets) {
      # Ping host to check its available
    ...
      }
      $p->close();
    }
    
  2. or download this
    # Main subroutine, here's where we will deploy content 
    sub deployRoutine($$$;$) {  
    ...
      my $returnCode = `$cmd`;
      return $returnCode ;
    }
    
  3. or download this
    Process can't access file because it is used by another process
    Connecting to MYSERVER...Starting PsExec service on MYSERVER...Connect
    +ing with PsExec service on MYSERVER...Copying C:\temp\deploy_files.cm
    +d to MYSERVER...Error copying C:\temp\deploy_files.cmd to remote syst
    +em:
    Free to wrong pool 348d3a0 not 298de8 during global destruction.