Search found 71 matches

by juneblender
Tue Jun 07, 2016 2:22 pm
Forum: Former and Future Customers - Questions
Topic: Powershell HelpWriter - How to load from a DLL?
Replies: 1
Views: 6824

Re: Powershell HelpWriter - How to load from a DLL?

Yes, it supports all module types. Does Get-Module get the module and Get-Command get the commands in the module?
by juneblender
Wed May 18, 2016 10:47 am
Forum: PowerShell
Topic: Working with calendar in PowerShellStudio
Replies: 16
Views: 10102

Re: Working with calendar in PowerShellStudio

Wow! For folks who haven't seen this before, there's a DateTimePicker object (System.Windows.Forms.DateTimePicker) that you can grab from your PowerShell Studio toolbox and use as a calendar selector without any changes to the defaults.

Thanks, @dan.potter!
by juneblender
Mon May 16, 2016 1:59 pm
Forum: Former and Future Customers - Questions
Topic: Populating Intellisense
Replies: 4
Views: 5580

Re: Populating Intellisense

Yes, I rely on it, too, and it's it implemented in PowerShell Studio.

In this image, I define a function. Then, on the next line, I call the function. PowerShell Studio knows the parameters and PrimalSense (our version of intellisense) prompts for them.

Are you trying something different?
by juneblender
Thu May 12, 2016 2:21 pm
Forum: PowerShell HelpWriter
Topic: Blank pop up while exporting help from module
Replies: 1
Views: 22657

Re: Blank pop up while exporting help from module

Hi, Gael! Thanks for taking the time to explain and post on the forum. I'll download the module and see if I can reproduce it, then work with my colleagues on the dev team.

Best wishes,
June
by juneblender
Fri May 06, 2016 8:36 am
Forum: PrimalScript
Topic: PSScriptAnalyzer
Replies: 4
Views: 4273

Re: PSScriptAnalyzer

The PSScriptAnalyzer module is available on the PowerShell Gallery. You can get it on GitHub, too (https://github.com/PowerShell/PSScriptAnalyzer), but I would stick with the released version. To get modules from the PowerShell Gallery, you need the PowerShellGet module. Here's the installation sequ...
by juneblender
Wed May 04, 2016 9:26 am
Forum: Former and Future Customers - Questions
Topic: The Language used...
Replies: 3
Views: 5257

Re: The Language used...

Great question. Start with about_Scopes: https://technet.microsoft.com/en-us/lib ... 47849.aspx

That topic explains scopes and scope modifiers and includes examples that you can try.
by juneblender
Sun Apr 24, 2016 11:29 pm
Forum: PowerShell
Topic: how to convert get-printer to Boolean
Replies: 14
Views: 12008

Re: how to convert get-printer to Boolean

Hi, Sean, PowerShell has two types of errors, non-terminating and terminating. Non-terminating errors, like the kind generated by Write-Error, produce an error, but don't stop the pipeline, which continues to process. Terminating errors stop the pipeline. Trap and Try-Catch both catch only terminati...
by juneblender
Wed Apr 13, 2016 9:29 am
Forum: Former and Future Customers - Questions
Topic: HelpWriter and binary Cmdlets
Replies: 10
Views: 12785

Re: HelpWriter and binary Cmdlets

Thanks. I've repro'd the bug now.

Just to confirm, when you start HelpWriter, are you using the Browse button to navigate to the dll file with your cmdlets? Are there multiple dlls in the module?
by juneblender
Fri Apr 08, 2016 12:05 pm
Forum: Former and Future Customers - Questions
Topic: HelpWriter and binary Cmdlets
Replies: 10
Views: 12785

Re: HelpWriter and binary Cmdlets

Tom, several of us have been working on this and can't repro it. Can you run Import-Module and Get-Command -Module <ModuleName> w/o error on the cmdlets in your module?

Sorry for the delay, BTW. I was at Global DevOps Summit in Bellevue.
by juneblender
Wed Apr 06, 2016 6:29 am
Forum: Former and Future Customers - Questions
Topic: HelpWriter and binary Cmdlets
Replies: 10
Views: 12785

Re: HelpWriter and binary Cmdlets

Hi, Tom, PowerShell HelpWriter works on modules of all types, including binary modules. To create a help file for your module: 1. In HelpWriter, click File, New, New Help File for Module. 2. Select from the list of modules (in $env:PSModulePath) or, to get to a module in a different path, click Brow...