Obviously you already used functions …
What exactly do you have problems with? If you want to (re-)use the output of a cmdlet or function you always can save it to a variable.
Obviously you already used functions …
What exactly do you have problems with? If you want to (re-)use the output of a cmdlet or function you always can save it to a variable.