PSH Studio - Please add Tee-Object's -Variable parameter as a real variable

Post feature requests, product enhancement ideas, and other product-specific suggestions here. Do not post bug reports.
Forum rules
Do not post any licensing information in this forum.
Locked
User avatar
brinkcm
Posts: 25
Meble kuchenne na zamówienie - na wymiar - Wrocław
Joined: Fri Aug 21, 2015 12:28 pm
Location: Michigan

PSH Studio - Please add Tee-Object's -Variable parameter as a real variable

Post by brinkcm »

  1. Get-FileHash -Path ($file.Value)[0] | Tee-Object -Variable 'fileHash'
This results in a file hash being passed to the console, as well as populating a variable called $fileHash. What I'd like to see is $fileHash recognized as a variable throughout PSH Studio.

User avatar
davidc
Posts: 5913
Joined: Thu Aug 18, 2011 4:56 am

Re: PSH Studio - Please add Tee-Object's -Variable parameter as a real variable

Post by davidc »

We can add it to the PrimalSense. Thank you for the request.
David
SAPIEN Technologies, Inc.

DevinL
Site Admin
Posts: 1098
Joined: Mon Aug 17, 2015 2:25 pm

Re: PSH Studio - Please add Tee-Object's -Variable parameter as a real variable

Post by DevinL »

Hey Brinkcm,

Just a note that in the latest service build of PowerShell Studio (5.4.136) we added this feature.

Please give it a try and let us know if you have any troubles or concerns.
DevinL
SAPIEN Technologies, Inc.

Locked