Search found 25 matches

by brinkcm
Mon Mar 09, 2020 6:18 am
Forum: PowerShell
Topic: Powershell 7 or new instances of PS
Replies: 8
Views: 4497

Re: Powershell 7 or new instances of PS

PowerShell 6 had those limitations, but PowerShell 7 does not. :)
by brinkcm
Fri Mar 06, 2020 9:21 am
Forum: PowerShell Studio
Topic: How do I edit the module cache for PSH 7?
Replies: 3
Views: 2867

How do I edit the module cache for PSH 7?

64-bit PowerShell Studio 5.7.173 W10 64-bit I do not see options to edit the PSH 7 cache, nor do I see a way to add PSH 7 as a PSH version. I can run scripts in the PSH 7 host, but not edit the cache. Screenshots attached. Cache Editor Capture1.PNG Cache Editor > Add new PowerShell version Capture2....
by brinkcm
Fri Mar 02, 2018 12:22 pm
Forum: PowerShell Studio
Topic: Get-FileHash not recognized by PSS
Replies: 1
Views: 1879

Get-FileHash not recognized by PSS

Product, version and build: PowerShell Studio 2018 v5.5.149
32 or 64 bit version of product: 64
Operating system: W10 1703
32 or 64 bit OS: 64


PSS doesn't recognize Get-FileHash in any way. Verified on 2 different machines. It's really odd.
by brinkcm
Tue Jan 31, 2017 11:36 am
Forum: Wish List and Feature Requests
Topic: PSH Studio - Please add Tee-Object's -Variable parameter as a real variable
Replies: 2
Views: 2743

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

Code: Select all

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.
by brinkcm
Tue Aug 16, 2016 10:29 am
Forum: Wish List and Feature Requests
Topic: Types not recognizes for VMware modules/snapins
Replies: 3
Views: 3379

Types not recognizes for VMware modules/snapins

Product, version and build: PowerShell Studio 2016 v5.2.127 32 or 64 bit version of product: 64 Operating system: W7 32 or 64 bit OS: 64 PowerShell Version: 5.0 The same modules and snapins that allow the "not found" types to work in the console are present in the Object Browser. PrimalSen...
by brinkcm
Tue Apr 26, 2016 6:20 am
Forum: PowerShell GUIs
Topic: Memory leak in compiled exe when using timers
Replies: 29
Views: 10994

Re: Memory leak in compiled exe when using timers

I had somehow confused WPF/XAML GUIs in PSH with workflows. Other than a leading "w" I have no idea why I did that. :) Do the JobTracker functions have a place in dealing with workflows? It's a good framework, but I'd rather engineer a small wheel than re-inventing a big one. Trying rv on ...
by brinkcm
Mon Apr 25, 2016 12:24 pm
Forum: PowerShell GUIs
Topic: Memory leak in compiled exe when using timers
Replies: 29
Views: 10994

Re: Memory leak in compiled exe when using timers

I'm familiar with the concepts of workflows, but would need to create the GUIs from scratch as PSS doesn't have a designer for workflow GUIs. It looks like jobs are the culprit. Using a trial of ANTS Memory Profiler, I see that there are thousands of instances of System.Management.Automation.PSRemot...
by brinkcm
Mon Apr 25, 2016 11:02 am
Forum: PowerShell GUIs
Topic: Memory leak in compiled exe when using timers
Replies: 29
Views: 10994

Re: Memory leak in compiled exe when using timers

Here's a question: I currently have ten timers including timerJobTracker with the intent of adding many more. Each one launches a job, and updates form fields with the results of the job. Each timer's tick event has .Enabled=$false when entering the event and .Enabled=$true when exiting it. Is there...
by brinkcm
Mon Apr 25, 2016 10:51 am
Forum: PowerShell GUIs
Topic: Memory leak in compiled exe when using timers
Replies: 29
Views: 10994

Re: Memory leak in compiled exe when using timers

All timers were set to 60s.