PowerShell Studio: Working with Azure Cloud Shell

I have been playing around with my Linux environment and AzureRM.Netcore cmdlets for some time now. I have also been using my Windows 10 WSL (Windows Subsystem for Linux) for working cross-platform with Microsoft Azure Cloud Shell. Azure Cloud Shell has been around for some time and has undergone some significant improvements—notably the ability to […]

Read More

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 Just as in the iOS version, there is a console capable of managing your servers using SSH or PowerShell Web Access. We worked with /n Software again using […]

Read More

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 never heard of it before, I recommend giving this blog post a read. Not only does the post describe what script […]

Read More

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. The puzzle asks: What does the function return? What does the class method return? And, of course, we want to understand why. To […]

Read More

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 installation directory, and the value of the Include parameter is ‘*ps1xml.’ The command returns nothing — not a single file — even […]

Read More

Which Version Does Import-Module Import?

Applies to: Windows PowerShell 5.0.10586, 5.1.14385.0, PowerShellGet 1.0.0.1 The Import-Module cmdlet, the #Requires directive, and module auto-loading (PS 3.0+) all import modules into a PowerShell session. But, which modules do they import by default? It’s an important question when you are writing shared code that uses commands from other modules. And, the answer has become […]

Read More

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, special offers, conference recaps, and the like. So, we have decided to pull the important articles and place them—along with information relevant […]

Read More

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 module that you use are the ones that you intend. Using ModuleSpecification Let’s start with an example. I want to get the Expand-Archive […]

Read More

Which PowerShell Versions are Users Running?

In March 2016, SAPIEN Technologies, Inc. posted a survey asking users and administrators which versions of Windows PowerShell they’re running. We got 148 responses by the April 8 when we closed the survey. This blog post reports the findings. While reading them, please keep in mind that this is not a statistically valid survey. We […]

Read More

Inheritance in PowerShell Classes

If you’re learning about classes in Windows PowerShell 5.0, one of the first new concepts that you’ll encounter is inheritance. When you create a class that is based on another class, your new subclass or child class automatically gets the inheritable members (e.g. properties and methods) of the parent class or base class. Inheritance is […]

Read More

Search

Enter any query and press enter
Advanced search operators:
+ ⟶ Term must appear
- ⟶ Term must not appear
"" ⟶ Exact string must appear
How do I use these?

Join our mailing list

Enter your email address to subscribe to our mailing lists for Monthly Blog Digests, Product Announcements and more (you can choose which you receive once you sign-up!)

Tags

Categories

Archives

Dashboard