Search found 104 matches

by owinsloe
Wed Sep 11, 2019 7:23 pm
Forum: PowerShell
Topic: Get Input from CSV Files
Replies: 3
Views: 2932

Re: Get Input from CSV Files

$data[0].psobject.properties.name will give you the ordered col headers
by owinsloe
Wed Sep 04, 2019 9:58 pm
Forum: Wish List and Feature Requests
Topic: Auto fill end condition commentary
Replies: 1
Views: 4251

Auto fill end condition commentary

It would be nice if you could set an option to place commentary at the end of scriptblocks such as if,do,switch,while,try etc etc. This provides an nice visible method of determining where the completion of each code block concludes. eg. If (-not $User) { #Obtaining Local Account SIDs for $Bin.Name ...
by owinsloe
Wed Aug 21, 2019 2:37 pm
Forum: PowerShell Studio
Topic: textbox appendtext hang following a clear
Replies: 1
Views: 1322

textbox appendtext hang following a clear

Product: PowerShell Studio 2019 (64 Bit) Build: v5.6.167 OS: Windows 10 Enterprise (64 Bit) Build: v10.0.18362.0 Hi, something very interesting. This is reproducible and quite odd. On a form I have a start button that does some processing and logs progress out to a multiline readonly textbox. This i...
by owinsloe
Mon Aug 19, 2019 1:07 pm
Forum: PowerShell Studio
Topic: Download and install error
Replies: 2
Views: 1338

Re: Download and install error

Alexander, interesting...that worked fine thanks, not really sure how that could have changed the behaviour..."solar flares"? :)
by owinsloe
Sun Aug 18, 2019 9:55 pm
Forum: PowerShell Studio
Topic: Download and install error
Replies: 2
Views: 1338

Download and install error

Product: PowerShell Studio 2019 (64 Bit) Build: v5.6.165 OS: Windows 10 Enterprise (64 Bit) Build: v10.0.18362.0 trying to install updates and getting error popup, "The archive is corrupted" Tried a couple of times and also tried logging session off and back on. I seem to be able to download without...
by owinsloe
Tue Jul 30, 2019 3:22 pm
Forum: PowerShell Studio
Topic: Recommended practice for setting exitlevel
Replies: 2
Views: 1141

Re: Recommended practice for setting exitlevel

Hi, thanks for the response but I fell into the trap of the most basic test... Let's say we have a test.ps1 sitting in c:\temp and the only line in the script is; $script:ExitCode=1 Then I run up a CMD window and run powershell then; c:\temp\test.ps1 $lastexitcode I would expect to see $lastexitcode...
by owinsloe
Sun Jul 28, 2019 2:52 pm
Forum: PowerShell Studio
Topic: Recommended practice for setting exitlevel
Replies: 2
Views: 1141

Recommended practice for setting exitlevel

Product: PowerShell Studio 2019 (64 Bit) Build: v5.6.165 OS: Windows 10 Enterprise (64 Bit) Build: v10.0.18362.0 Hi, I think I have been down this road before. Just after some assurance on what is the best practice for setting an exit level when exiting from a packaged console executable. If I packa...
by owinsloe
Tue Jun 18, 2019 4:12 pm
Forum: Wish List and Feature Requests
Topic: Error object blocks with open brace on newline
Replies: 6
Views: 5672

Re: Error object blocks with open brace on newline

Hmmmm, yes, that seems like a logical place. Thanks for the feedback David.
Cheers
by owinsloe
Tue Jun 18, 2019 3:32 pm
Forum: Wish List and Feature Requests
Topic: Error object blocks with open brace on newline
Replies: 6
Views: 5672

Re: Error object blocks with open brace on newline

David, No problem and understand what you are saying. Yes, syntax wise, it's fine, but if your intention is to have a non blocking script to run that does not require user input then this unexpected behavior can be very frustrating. Maybe if I try a new approach, rather than PSS reporting this as an...
by owinsloe
Tue Jun 18, 2019 2:40 pm
Forum: Wish List and Feature Requests
Topic: Error object blocks with open brace on newline
Replies: 6
Views: 5672

Re: Error object blocks with open brace on newline

Product: PowerShell Studio 2019 (64 Bit) Build: v5.6.165 OS: Windows 10 Enterprise (64 Bit) Build: v10.0.17763.0 Hi David, That would have been amazing (and coincidental) had it resolved the issue, but it did not. I pasted this into a new script and run through the PSS editor and it raised the smdle...