Posts Tagged ‘Windows PowerShell’


 

Running PowerShell Scripts: Survey Results

Monday, February 8th, 2016 by June Blender
We're always evaluating the best, easiest, and most efficient ways to write, run, and publish Windows Powershell scripts and modules. But, our starting point is always how people work now. We were curious about how PowerShell scripters, including managers, ran scripts, and how their employees ran scripts written for them.   To gather this information, SAPIEN Technologies, Inc. created an online survey about the ways in which users run PowerShell scripts. We encouraged users to participate in a blog post and several posts on Facebook and Twitter. And, people really responded. We collected 88 responses between 12/16/2015 and 1/05/2016.  …   More »

iPowerShell Pro adds support for iOS 9 Features

Thursday, January 21st, 2016 by Ferdinand Rios
SAPIEN has just released another update to iPowerShell Pro, its iOS-based PowerShell editor and remote connectivity tool. With this update, we focussed primarily on iOS 9 compatibility. iPad Multi-Tasking iPowerShell Pro is now a good citizen in the iPad multi-tasking community. If you're using an iPad running iOS 9, you can split the screen and use two apps at the same time. This can take several forms depending on your iPad version. Slide over – Slide Over lets you interact with a second app without leaving the app you’re currently using. To see your previously-used apps, swipe from the right edge of…   More »

Spotlight on the Label Control

Wednesday, December 16th, 2015 by June Blender
The Spotlight on Controls series describes the controls, that is, the objects in the System.Windows.Forms namespace, so you can use them effectively when building GUI apps in PowerShell Studio and PrimalScript. Each post focuses on one control and lists its most important properties, methods, and events, including the default event that PowerShell Studio adds to your script when you double-click the control. The posts include many examples written in Windows PowerShell, so you can use them right away. Read more: Spotlight on Controls: Common properties and methods This post describes the Label control. Label Control [System.Windows.Forms.Label] Creates a clickable text…   More »

Displaying Help for a Script in an Executable File

Wednesday, December 9th, 2015 by June Blender
This is the third blog in a multi-part series about designing a Windows PowerShell scripts that will be packaged in an executable file. Passing Parameters to a Script in an Executable File explains how to use the special parsing features of PowerShell Studio and PrimalScript to make passing parameters easy for PowerShell users and authors. Parsing Parameters for a Script in an Executable File explains how to parse parameters manually for special uses. Displaying Help for a Script in an Executable File explains how to display help for a script in an executable file. Output from a Script in an…   More »

Parsing Parameters for a Script in an Executable File

Monday, December 7th, 2015 by June Blender
This is the second blog in a multi-part series about designing a Windows PowerShell script that will be packaged in an executable file. Passing Parameters to a Script in an Executable File explains how to use the special parsing features of PowerShell Studio and PrimalScript to make passing parameters easy for PowerShell users and authors. Parsing Parameters for a Script in an Executable File explains how to parse parameters manually for special uses. Displaying Help for a Script in an Executable File explains how to display help for a script in an executable file. Output from a Script in an…   More »

New! “Check out this feature” Videos

Friday, November 20th, 2015 by June Blender
How many times have you found about a feature of a SAPIEN product, like PowerShell Studio, and realized that 1) you never knew it existed and 2) it would have saved you gobs of time had you only known about it. We're introducing a new series of videos on our SAPIEN Technologies YouTube channel to help you keep up with all of the features in SAPIEN programs, like PowerShell Studio, PrimalScript, VersionRecall, and PowerShell HelpWriter. Even when you know these programs well, there are so many features that you might have missed a new one, or even an old one,…   More »

Creating Objects in Windows PowerShell

Monday, October 26th, 2015 by June Blender
Applies to: PowerShell 5.0.10240 I was recently in the beautiful city of Copenhagen, Denmark, where I was the guest of PSUG.DK, PowerShell User Group in Denmark. We met in the swanky Microsoft offices for a hands-on about classes in Windows PowerShell 5.0. Microsoft Offices, Copenhagen, Denmark. In the hands-on lab, we create a class, create instances of the class, and add constructors, properties and methods. Then, we try some of the more advanced features, like static properties and methods, inheritance, and interfaces. To keep the class in a reasonably brief, when we create objects, I show New-Object and the New…   More »

Using Module-Qualified Cmdlet Names

Friday, October 23rd, 2015 by June Blender
Open-source projects and new methods of distributing modules, such as PowerShellGet and the PowerShell Gallery, have significantly increased the availability of Windows PowerShell modules. While we once relied on modules from Microsoft, we now can select from hundreds of new modules developed in the community. The upside of having so many modules is vastly increased utility. But, all of those new modules make cmdlet and function name conflicts more likely. Many modules use prefixes, but some are likely to slip through. To be sure that you're using the cmdlet or function that you selected, and not a different one with…   More »

Why Do We Need Constructors?

Wednesday, October 21st, 2015 by June Blender
While traveling after PowerShell Summit Europe in Stockholm, I was honored to be the guest of the Microsoft Technical User Group in Oslo, Norway (@MTUG_Norge). This well-established user group meets on the beautiful campus of the University of Oslo, a short light-rail ride from downtown Oslo. We got together for a hands-on lab on classes in PowerShell 5.0. It was an experienced group -- mainly IT operations folks -- who are well-versed in PowerShell. The concepts are all new, but the group of 35-40 people were quick to understand them. One thoughtful guy asked a particularly good question: Why do…   More »

What’s new in iPowerShell Pro?

Wednesday, October 14th, 2015 by Ferdinand Rios
Build 5.0.133 of iPowerShell Pro has just been released. This build primarily covers iOS 9 compatibility with some bug fixes and performance increases. But we did slip in a very interesting and future oriented feature: the ability to connect to PowerShell remotely via SSH! In June of 2015, the PowerShell team announced that they were going to embrace SSH connectivity to PowerShell via OpenSSH. This is exciting news for many in the community. Of course, we wanted to get a head start on supporting this ability, but how do we support something that has not yet been released? As this article states,…   More »