Why can't you just write a PoSH script that pauses for the # of seconds you 
need and then creates a file with an exe extension?  You are not running the 
exe file are you?

Thanks


Webster

From: [email protected] [mailto:[email protected]] On 
Behalf Of James Rankin
Sent: Friday, October 18, 2013 6:09 AM
To: [email protected]
Subject: [NTSysADM] More PowerShell

A guy I knew once gave me a bit of PowerShell which would compile an executable 
on an endpoint. The executable did nothing except run for a couple of seconds 
and then exit, which was exactly what I needed.

Unfortunately I am now putting together a blog post which utilizes this handy 
function but the guy who wrote it is unwilling for me to use his code, even 
with a credit. So I thought I'd Google about and try and find my own way of 
doing it.....but I can't find anything I can make head or tail of.

Can anyone point me in the direction of some PS that can do this sort of thing, 
so I can put together my own bit of code for the blog post?

Cheers,



--
James Rankin
Technical Consultant (ACA, CCA, MCTS)
http://appsensebigot.blogspot.co.uk

Reply via email to