Search found 71 matches

by juneblender
Tue Mar 22, 2016 11:45 am
Forum: Windows PowerShell
Topic: PSS 2016 5.2.117 - Problem with wordwraps
Replies: 9
Views: 3533

Re: PSS 2016 5.2.117 - Problem with wordwraps

Just got the definitive answer from Windows PowerShell MVP Kirk Munro (@poshoholic). Preceding space required only if preceding token does not have enclosures. Otherwise the backtick becomes part of the preceding token rather than a continuation char. By enclosures I mean quotes, brackets, array/has...
by juneblender
Tue Mar 22, 2016 10:40 am
Forum: Windows PowerShell
Topic: PSS 2016 5.2.117 - Problem with wordwraps
Replies: 9
Views: 3533

Re: PSS 2016 5.2.117 - Problem with wordwraps

I suspect that you're right. I wrote about_Escape_Characters and, sadly, never thought to test the spaces before or after. We've learned that a space AFTER the backtick makes it ignored. I haven't seen any comments about a space before, but I've just tested it on a few cases (not conclusive). I'm go...
by juneblender
Wed Mar 02, 2016 11:13 am
Forum: PowerShell Studio
Topic: Powershell Studio 2016 questions
Replies: 2
Views: 856

Re: Powershell Studio 2016 questions

Maekee, to clear the console, you can use the Clear-Host cmdlet (aliases: clear, cls). But, even better, you can start a new console session without disturbing your editor session by right-clicking the console pane and clicking Restart Shell. Restart Shell gives you a console session that is unaffec...
by juneblender
Wed Dec 30, 2015 4:39 pm
Forum: PowerShell HelpWriter
Topic: Replicate Parameter text in a Help file
Replies: 1
Views: 5699

Re: Replicate Parameter text in a Help file

Awesome. Thanks so much.
by juneblender
Tue Dec 01, 2015 6:08 pm
Forum: PowerShell Studio
Topic: Unable to run Add-AzureAccount
Replies: 5
Views: 2865

Re: Unable to run Add-AzureAccount

I just confirmed this issue on PowerShell 5.0.10586.0 with PowerShell Studio 4.2.98. Unfortunately, this is an effect of the type of authentication window that Microsoft Azure displays. Instead of a typical pop-up window, like the window that appears when you use the Show-Command cmdlet or the ShowW...
by juneblender
Wed Nov 25, 2015 6:28 pm
Forum: PowerShell GUIs
Topic: What to do instead of Break?
Replies: 21
Views: 5923

Re: What to do instead of Break?

Great question. The answer isn't GUI-specific, but it's not obvious either. To stop the pipeline, you need to throw an exception; a terminating error. -ErrorAction Stop converts a non-terminating error, like the Get-WmiObject error, to a terminating error. So, you were absolutely on the right track....
by juneblender
Fri Nov 20, 2015 1:02 pm
Forum: PowerShell Studio
Topic: Powershell Studio - Include Language Files (.psd1) in exe
Replies: 8
Views: 2800

Re: Powershell Studio - Include Language Files (.psd1) in exe

This is a great question, Renato. I'm going to blog the answer. I found the clue in this error message: ERROR: Import-LocalizedData : The FileName parameter was not specified. The FileName ERROR: parameter is required when Import-LocalizedData is not called from a script ERROR: file. And, the soluti...
by juneblender
Mon Nov 09, 2015 8:48 am
Forum: PowerShell Studio
Topic: Upgrading PowerShell Studio 2015 prompts for license activation again
Replies: 6
Views: 2960

Re: Upgrading PowerShell Studio 2015 prompts for license activation again

Hi, Milton, Did you try running PowerShell Studio elevated (Run as administrator)? When you run elevated, SAPIEN installs the newest updating tool. This installation requires admin permissions, but you need to do this only once. After the new update tool is installed, it should run just fine with re...
by juneblender
Wed Oct 21, 2015 1:48 pm
Forum: PowerShell HelpWriter
Topic: Import/Create with Custom Types
Replies: 4
Views: 5748

Re: Import/Create with Custom Types

That makes sense. Since 3.0, PowerShell is optimized for managing modules, but the optimizations, like module auto-loading, don't affect snap-ins.

Let's see if David comes up with a solution for your help file.
by juneblender
Wed Oct 21, 2015 1:03 pm
Forum: Windows PowerShell
Topic: How can I add PowerShell 3.0 to my PowerShell Studio 2015?
Replies: 2
Views: 2424

Re: How can I add PowerShell 3.0 to my PowerShell Studio 201

Hi, Maureen,

I think this blog post might help. If you're still stuck, let me know.

https://www.sapien.com/blog/2013/02/25/ ... owershell/

-- JuneB