Jump to content

Recommended Posts

Posted

Hi all,

 

Is it possible to create a powershell script that check the output of another script for a certain generated text/ID and depend on it carry on a new task depend on the founded value?


Posted

No…

 

…not unless you learn to post your question in the appropriate location on the forum and include pertinent detail to enable interested parties to attempt to help you!

Posted

@  Yzöwl

sorry for posting in a wrong forum. I actually don't know where to post my question.

 

@ Tripredacus

One script!

Sound interesting. How can I do so?

Posted

The script which is generating the output text/ID may be able3 to be expanded to incorporate the new requirement or be re-written to merge both tasks into a single new script.

Posted

Because I'm feeling generous, you're going to be offered one more chance…

 

Either post the script you are using and a full explanation of its output and your intentions for its expansion into powershell or I close the Topic and any further Topics you open with the same inane ramblings.

Posted

Actually I do not have any script right now. I have the idea and I am asking about how this can be done in PowerShell. I do know the commands that I should use to carry on such a sequence...

Posted

We can't do all the work for you, but maybe point into some directions. For example, the answer to your initial question is that instead of using 2 scripts, use one. With one you can read and store data in a variable to be used in another function.

Some links you can check out:

http://technet.microsoft.com/en-us/library/dd315394.aspx

http://www.powershellpro.com/powershell-tutorial-introduction/variables-arrays-hashes/

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...