Give me an example. Sent from my Windows Phone ________________________________ From: Joseph L. Casale Sent: 9/15/2012 8:36 PM To: NT System Admin Issues Subject: Accessing powershell variables from within a scriptblock
I have a script that needs to perform validation on some variables inside a scriptblock. I can't simply invoke it as the code wouldn't be applicable to the host performing the validation. Is there a way to look in a scriptblock and pick out variables so I can validate them? Thanks! jlc ~ 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 [email protected]<mailto:[email protected]> with the body: unsubscribe ntsysadmin ~ 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 [email protected] with the body: unsubscribe ntsysadmin
