Search found 16 matches

by D.Leaman
Sun Mar 17, 2019 3:23 am
Forum: Windows PowerShell
Topic: Select-Object : Cannot convert System.Management.Automation.PSObject
Replies: 3
Views: 548

Re: Select-Object : Cannot convert System.Management.Automation.PSObject

Since the data you posted was actually tab separated, I added in commas and made it a real csv data set: Hitroll,20,19,18 150,3CP,4CP,4EP 149,3BP,4CP,4DP 148,3AP,4BP,4CP 147,3AP,4BP,4CP 146,3AP,4BP,4CP 145,3AK,4AP,4CP 144,3,4AP,4BP Using this data, you can do something like so and you'll get the fol...
by D.Leaman
Fri Feb 01, 2019 10:32 am
Forum: Windows PowerShell
Topic: Launch IE tabs based on TXT file
Replies: 6
Views: 585

Re: Launch IE tabs based on TXT file

I can now confirm that if you have Chrome open and run the above code, it will open the pages in new tabs.
by D.Leaman
Fri Feb 01, 2019 9:42 am
Forum: Windows PowerShell
Topic: Launch IE tabs based on TXT file
Replies: 6
Views: 585

Re: Launch IE tabs based on TXT file

This should do the trick: $URL = Get-Content C:\Users\xadmin\Documents\Dashboard\URL.txt $URL | ForEach-object { Start-Process -FilePath "chrome.exe" -ArgumentList $_ } You get your URL data from the file, pipe it to ForEach-Object as JVierra recommended, and then execute the Start-Process cmdlet ag...
by D.Leaman
Fri Jan 25, 2019 9:27 pm
Forum: Feedback
Topic: SAPIEN Store Returning an Error
Replies: 3
Views: 191

Re: SAPIEN Store Returning an Error

No problem! Happy to help :)
by D.Leaman
Fri Jan 25, 2019 9:27 pm
Forum: Feedback
Topic: Windows Application vs Windows Form Application
Replies: 1
Views: 154

Windows Application vs Windows Form Application

In a recent blog post Alex talked about how to create a notepad-esque application using PowerShell and the SAPIENHost object. We're looking into building an application just like this for our service desk and I'm wondering, what are the benefits are of doing this over using a Forms project with a Ri...
by D.Leaman
Fri Jan 25, 2019 8:10 pm
Forum: Feedback
Topic: SAPIEN Store Returning an Error
Replies: 3
Views: 191

SAPIEN Store Returning an Error

Hey SAPIEN, I just bought a license for PowerShell Studio and when I went to copy the license (on the sapien.com/account/products page) I accidentally clicked "Add Premium Support", which then gave me this error: 2019.01.25_SAPIEN_Store_Error.png I experienced this while logged into this account so ...
by D.Leaman
Fri Jan 25, 2019 7:54 pm
Forum: Feedback
Topic: PowerShell Studio Unhandled Exception
Replies: 7
Views: 392

Re: PowerShell Studio Unhandled Exception

I still have yet to encounter this issue so I would consider it a rare enough occurrence to not worry about.

If I run into anything in the future I'll be sure to make a post. Thanks for the help, everyone! :D
by D.Leaman
Thu Jan 17, 2019 11:34 am
Forum: Feedback
Topic: PowerShell Studio Unhandled Exception
Replies: 7
Views: 392

Re: PowerShell Studio Unhandled Exception

The project is located on a local drive, and I was only adding a blank line when editing the file. However, I've not been able to reproduce it on my end since it first happened the other day.

If it happens again I'll post here with some more information.
by D.Leaman
Thu Jan 17, 2019 7:58 am
Forum: Feedback
Topic: PowerShell Studio Unhandled Exception
Replies: 7
Views: 392

Re: PowerShell Studio Unhandled Exception

I've answered your questions below, however, I've been trying to reproduce the issue again on my end to get better steps and have been unsuccessful. If I run into it again I'll try to narrow it down to fewer steps. Hey Olga, I've attached the project below that I was working in when this error occur...
by D.Leaman
Tue Jan 15, 2019 12:31 pm
Forum: Feedback
Topic: PowerShell Studio Unhandled Exception
Replies: 7
Views: 392

Re: PowerShell Studio Unhandled Exception

Of course, shortly after my previous reply I seem to have found some steps to reproduce the bug. Enable auto save every 1 minute in Options -> Backup Open a .ps1 script in PowerShell Studio and make some changes. Press the Alt key, bringing up the shortcut info for each item in the ribbon. Wait unti...