Does this help?

http://social.technet.microsoft.com/Forums/en-CA/winserverpowershell/thread/6887f6a4-1a64-4dce-8c5e-a20373b6cf4f



Christopher Bodnar 
Enterprise Architect I, Corporate Office of Technology:Enterprise 
Architecture and Engineering Services 
Tel 610-807-6459 
3900 Burgess Place, Bethlehem, PA 18017 
christopher_bod...@glic.com 




The Guardian Life Insurance Company of America

www.guardianlife.com 







From:   James Rankin <kz2...@googlemail.com>
To:     "NT System Admin Issues" <ntsysadmin@lyris.sunbelt-software.com>
Date:   01/16/2013 11:42 AM
Subject:        PowerShell noob issues



I'm trying to tidy up some old scripts and move them to PowerShell, but 
hitting some issues.

I want to get PS to call out to an external program (ctxclios.exe, to be 
precise, http://www.ctrl-alt-del.com.au/files/CTXCliOS.txt), but I want to 
write the return code from the external program into a Registry value. I'm 
struggling a bit as how to achieve this.

Does anyone have any pointers that might nudge me in the right direction?

TIA,


-- 
James Rankin
Technical Consultant (ACA, CCA, MCTS)
http://appsensebigot.blogspot.co.uk
~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin


-----------------------------------------
This message, and any attachments to it, may contain information
that is privileged, confidential, and exempt from disclosure under
applicable law.  If the reader of this message is not the intended
recipient, you are notified that any use, dissemination,
distribution, copying, or communication of this message is strictly
prohibited.  If you have received this message in error, please
notify the sender immediately by return e-mail and delete the
message and any attachments.  Thank you.
~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

<<image/jpeg>>

Reply via email to