Forum Discussion
smorgan263
Feb 18, 2022Copper Contributor
How to use output from 1 script in another script ??
I am trying to take the output from Script 1 and execute the actions in Script 2 against it. Script 1 = Select Device from a drop down list Script 2 = Execute option 1 or 2 against the selected De...
tumtum1973
Apr 07, 2022Copper Contributor
Make these scripts into Functions in one file and you can call them as needed.
PowerShell Scripting - Chapter 9 - Functions
https://docs.microsoft.com/en-us/powershell/scripting/learn/ps101/09-functions?view=powershell-7.2
Your Getting Started Guide to Powershell Functions
https://adamtheautomator.com/powershell-functions/
Thanks,
tumtum
PowerShell Scripting - Chapter 9 - Functions
https://docs.microsoft.com/en-us/powershell/scripting/learn/ps101/09-functions?view=powershell-7.2
Your Getting Started Guide to Powershell Functions
https://adamtheautomator.com/powershell-functions/
Thanks,
tumtum