Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[?] Powershell script feed from other output script

Featured Replies

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?

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!

  • Author

@  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?

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.

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.

  • Author

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...

Easy method write the value to a registry key or temp file, then program your second script where to look.

 

  • Author

guys my problem is:

1. Can I use PowerShell to create such a script?

2. If yes, then which commands should I use to do so?

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/

  • Author

Thanks for the links. It will be a great chance to learn more about PowerShell.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.