Quantcast
Channel: Windows PowerShell - SAPIEN Blog
Browsing all 308 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Using a ModuleSpecification Object

With the advent of side-by-side module versions in Windows PowerShell 5.0, the lovely, but obscure ModuleSpecification object has become your new best friend. Use it to make sure that the commands and...

View Article


Image may be NSFW.
Clik here to view.

PowerShell Studio 2016 – Service Release & High DPI Support

We released a new service build of PowerShell Studio 2016 (v5.2.124)!   Here’s what’s new: High DPI Support We have added high DPI support to PowerShell Studio’s UI. Those of you who previously ran...

View Article


Image may be NSFW.
Clik here to view.

PrimalScript 2016 service build adds CPU and memory performance graphs

The latest service build of PrimalScript 2016 (7.2.91) adds performance graphs for your scripts. To enable this feature you just need to make the “Performance” tab visible before you execute your...

View Article

Image may be NSFW.
Clik here to view.

Introducing the SAPIEN Information Center

Over the years, the articles in this blog have grown extensively. There’s a lot of valuable information in here, but it’s become hard to find because it’s mixed in with various tour announcements,...

View Article

Image may be NSFW.
Clik here to view.

Write a Multi-Form PowerShell GUI App

Tested on: PowerShell 2.0+, PowerShell Studio 2016 This step-by-step example shows you how to create a very simple multi-form PowerShell GUI app. The app consists of a parent form that gets data from a...

View Article


Image may be NSFW.
Clik here to view.

Setting up PowerShell on your Mac (Update!)

Now that PowerShell is available on the Mac, we thought it would be useful to show how easy it is to setup a Mac terminal session that automatically opens into PowerShell. Figure 1 shows what we mean....

View Article

Image may be NSFW.
Clik here to view.

How Do Multi-Form Projects Work?

Applies to: PowerShell Studio 2016, Windows PowerShell 3.0+ I recently wrote an article with step-by-step instructions for creating a very simple multi-form PowerShell GUI application. In our sample...

View Article

Image may be NSFW.
Clik here to view.

Writing Help for Dynamic Parameters

Because dynamic parameters can be added to a command from multiple sources, the command author (who writes the help) cannot predict the dynamic parameters that might be available at runtime. Therefore,...

View Article


Image may be NSFW.
Clik here to view.

HelpUri v. HelpInfoUri

Although the names are similar and often confused, these properties are different. If you confuse them, the help for your PowerShell commands and modules won’t work. The HelpUri property stores the URL...

View Article


Image may be NSFW.
Clik here to view.

SAPIEN Script Packager updates and new features.

The Script Packager in PrimalScript 2016 gets an update with the next service build (7.2.95). Since this service build changes the locations where your executable files are generated and some new...

View Article

Image may be NSFW.
Clik here to view.

Friday Puzzle: What does a Catch block catch?

On Friday, January 6, 2017, I posted the following puzzle on Twitter and Facebook (here, too!). It shows a Try block that encloses an expression with an intentional error and a Catch block that writes...

View Article

Image may be NSFW.
Clik here to view.

Friday Puzzle: Why doesn’t Include include?

On Friday, January 20, 2017, I posted the following puzzle on Twitter and Facebook (and here!). It shows a Get-ChildItem command where the value of the Path parameter is $PSHome, the Windows PowerShell...

View Article

Friday Puzzle Solution: What does Return keyword return?

On Friday, February 3, we posted a Friday Puzzle that shows a PowerShell function and a PowerShell class method that contain the same command sequence, including a statement with the Return keyword....

View Article


Enabling deep script block logging

As of the KB3000850 update and PowerShell 5.0, PowerShell has included script block logging so that admins would have more tools for the blue team side of pen testing. If you’re unfamiliar or have...

View Article

Image may be NSFW.
Clik here to view.

PowerShell Studio 2017: Service Release v5.4.137

Today we released a new build of PowerShell Studio 2017 (v5.4.137). In this build we added a number of new features, including some user requests, and made some improvements on existing features.   New...

View Article


Image may be NSFW.
Clik here to view.

iPowerShell Now Available on Android

SAPIEN technologies, Inc. is proud to announce that we’ve officially released iPowerShell on the Play Store!  In this blog post, we will outline the two biggest features available. SSH/PSWA Servers...

View Article

Image may be NSFW.
Clik here to view.

Designing GUIs for High DPI Displays

I posted a new article on how to design a GUI for high DPI displays on our SAPIEN Information Center:   Designing GUIs for High DPI Displays In this article, I will cover techniques on how to make your...

View Article


Image may be NSFW.
Clik here to view.

New Script engines for Windows PowerShell

One of the more common tasks for an administrator is to write a script for a helpdesk employee or a fellow admin who is maybe not so PowerShell savvy (yet). Many of you like to package that script as...

View Article

Image may be NSFW.
Clik here to view.

Creating a system tray application with PowerShell

One of the great benefits of PowerShell is the ability to very quickly retrieve system information and metrics. We have added three new packager engines to PowerShell Studio and PrimalScript to make it...

View Article

Image may be NSFW.
Clik here to view.

Write a Windows Service in PowerShell

Previously I showed you the new Windows Application engine (https://www.sapien.com/blog/2017/06/14/new-script-engines-for-windows-powershell/) and the Windows System Tray engine...

View Article
Browsing all 308 articles
Browse latest View live