Archive for the ‘PowerShell Studio’ Category


 

PowerShell Studio 2016: Service Release v5.2.118 and PSScriptAnalyzer

Monday, March 28th, 2016 by David Corrales
We released a new service build for PowerShell Studio 2016 (v4.2.118). Here's what's new:   Support for PSScriptAnalyzer module PSScriptAnalyzer module is a community driven module that evaluates your PowerShell scripts and ensures they follow community approved best practices. http://www.powershellgallery.com/packages/PSScriptAnalyzer/   PowerShell Studio 2016 now allows you to run PSScriptAnalyzer directly from the ribbon (Tools->Analysis->Analyze Script): Note: This option will be disabled if the PSScriptAnalyzer is not installed.   When you use the Analyze Script command, the module results are displayed in the Debug Panel: Jump to the respective line in the script by double-clicking on result.   Triggered Analysis…   More »

Exporting from Modules: A Reminder

Thursday, March 24th, 2016 by June Blender
There are so many new things in Windows PowerShell that I often assume that I know the basics. But, while working on a project about modules, I ran into some new guidance from PowerShell developer Jason Shirk and a great blog post that demonstrates that information about variables in a TechNet topic about module manifests is wrong. Here are some important reminders about modules and their manifests: By default, all functions and aliases are exported, but variables are not exported. "By default, all variables are exported" in How to Write a Module Manifest (MSDN) is wrong. This topic is outdated…   More »

PowerShell Studio 2016: Custom PrimalSense

Tuesday, March 15th, 2016 by David Corrales
We've written a series of blog posts to introduce you to the newest features of PowerShell Studio 2016. In this blog, Part 4, we cover new customizable PrimalSense in PowerShell Studio 2016. But, there's more: In Part 1, we review the new UI features, including our new dark themes. In Part 2, we introduce our new debugging features, including variable and function breakpoints and improvements to the Variables pane. In Part 3, we look at some of the new editor features of PowerShell Studio 2016.   Custom PrimalSense Lists The new customizable PrimalSense feature allows users to tailor their PrimalSense…   More »

My First Form: New Videos for PowerShell GUI Beginners

Monday, March 14th, 2016 by June Blender
Like most things, once you know the basics, it's really easy to build GUI applications with Windows PowerShell and PowerShell Studio. And, like most things, it's hard to learn the basics. We're here to help. We just posted a two-part series of videos. You can watch them in any order. My First Form: Build a Simple PowerShell GUI App is a step-by-step guide to building a little PowerShell GUI app that displays the versions of Windows and Windows PowerShell on your system. My First Form: Controls and Properties is like a prequel. It introduces you to the concepts of the Windows Forms controls…   More »

PowerShell Studio 2016: What’s New? (Part 3)

Monday, March 7th, 2016 by David Corrales
PowerShell Studio 2016 is released! We've written a series of blog posts to introduce you to the newest features. In this blog, Part 3, we will look at some of the new editor features of PowerShell Studio 2016. But, there's more: In Part 1, we review the new UI features, including our new dark themes. In Part 2, we introduce our new debugging features, including variable and function breakpoints and improvements to the Variables pane. In Part 4, we show the new customizable PrimalSense in PowerShell Studio 2016.     Import Functions PowerShell Studio already allowed you to convert functions…   More »

There’s only one right place for curly braces

Thursday, March 3rd, 2016 by June Blender
If you ever want to start an argument with programmers or scripters, mention your preferred code or script formatting habit. A tweet about the PowerShell backtick continuation character or the placement of comment-based help for a function will elicit enough reaction to bring down a small server. But nothing gets people more riled up than the position of curly braces in a script block. On the same line or a separate line? From 10PM.com First, PowerShell MVP Aleksandar Nikolic will remind you (and rightly so!) that "curly braces" is redundant, because all braces are curly. That's how you distinguish braces…   More »

PowerShell Studio 2016: What’s New? (Part 2)

Wednesday, March 2nd, 2016 by David Corrales
PowerShell Studio 2016 is released! We've written a series of blog posts to introduce you to the newest features. In this blog, Part 2, we introduce our new debugging features, including variable and function breakpoints and improvements to the Variables pane. But, there's more: In Part 1, we review the new UI features, including our new dark themes. In Part 3, we look at some of the new editor features of PowerShell Studio 2016. In Part 4, we show the new customizable PrimalSense in PowerShell Studio 2016.   The first debugging feature we are looking at is the new interface…   More »

PowerShell Studio 2016 Released! – What’s New? (Part 1)

Monday, February 29th, 2016 by David Corrales
PowerShell Studio 2016 is released as part of the regular update cycle for our subscribers. We will cover all the new features in a series of “What’s New” articles. In this blog, Part 1, we introduce new UI features, including our new dark themes. But, there's more: in Part 2, we introduce our new debugging features, including variable and function breakpoints and improvements to the Variables pane. In Part 3, we look at some of the new editor features of PowerShell Studio 2016. In Part 4, we show the new customizable PrimalSense in PowerShell Studio 2016. Now let’s take a look…   More »

Is there a PSEdit for PowerShell Studio?

Wednesday, February 24th, 2016 by June Blender
My friend, Thom Schumacher, who has been leading the Arizona PowerShell User Group for the past few months, is getting to know PowerShell Studio. Like many of us, he came to PowerShell Studio from PowerShell ISE, so he looks for the "ISE way" to do things in PowerShell Studio. "How do I use PSEdit in PowerShell Studio?," Thom asked on Twitter. Here's my answer. Um, you don't need it Being very literal, you don't need the PSEdit function in PowerShell Studio. The PSEdit function, which is defined in and works only in PowerShell ISE (not in the ISE module), opens…   More »

Update-Module 5.0 adds, not updates

Wednesday, February 17th, 2016 by June Blender
Applies to: -- Windows PowerShell 5.0.10586.63 -- PowerShellGet 1.0.0.1 I'm a huge fan of sharing Windows PowerShell modules and making them easy to find (Find-Module), view (Save-Module), and install (Install-Module). So, I truly love the new PowerShellGet module. However, you really need to understand how it works before you use it. Otherwise, you might end up with commands and modules that don't work correctly (or at all) or don't do what you expect. Or, you might download modules with commands that shadow or hide commands that your scripts run. Update-Module is one of the really useful cmdlets in PowerShellGet, but if you don't know…   More »