Select Page

PowerShell Module Function Export in Constrained Language

PowerShell Module Exporting Functions in Constrained Language PowerShell offers a number of ways to expose functions in a script module. But some options have serious performance or security drawbacks. In this blog I describe these issues and provide simple guidance ... continue reading

PowerShell Module Exporting Functions in Constrained Language

PowerShell Module Exporting Functions in Constrained Language PowerShell offers a number of ways to expose functions in a script module. But some options have serious performance or security drawbacks. In this blog I describe these issues and provide simple guidance ... continue reading

PowerShell Standard Library: Build single module that works across Windows PowerShell and PowerShell Core

This is the first of a series of blog posts that will help you take advantage of a new NuGet package PowerShellStandard Library 5.1.0. This package allows developers to create modules that are portable between Windows PowerShell 5.1 and PowerShell ... continue reading
PowerShell Injection Hunter: Security Auditing for PowerShell Scripts

PowerShell Injection Hunter: Security Auditing for PowerShell Scripts

At the DEFCON security conference last year, we presented the session: “Get $pwnd: Attacking Battle Hardened Windows Server“. In this talk, we went through some of the incredibly powerful ways that administrators can secure their high-value systems (for example, Just ... continue reading

Increased Windows Modules coverage with PowerShell Core 6.1

During the May 2018 Community Call and a tweet a few weeks later, we mentioned that PowerShell team was spending significant time in the Windows codebase. We even demoed using the Active Directory PowerShell Module from PowerShell Core 6 during ... continue reading

DSC Resource Kit Release July 2018

We just released the DSC Resource Kit! This release includes updates to 12 DSC resource modules. In the past 6 weeks, 128 pull requests have been merged and 90 issues have been closed, all thanks to our amazing community! The ... continue reading
PowerTip: Turn off the power to your computer with PowerShell

PowerTip: Turn off the power to your computer with PowerShell

Summary: A simple way to power off your computer by using the Windows PowerShell cmdlets. Hey, Scripting Guy! I’ve got a script that needs to power off a system after it’s done. How can I accomplish this with PowerShell? Look ... continue reading

Parse HTML and pass to Cognitive Services Text-to-Speech

Summary: Having some fun with Abbott and Costello’s “Who’s on first?” comedy routine, and multiple voices with Bing Speech. ------------------------------- Hello everyone! The last few posts, I showed you all about the Cognitive Services Text-to-Speech API. You learned about the ... continue reading
PowerTip: Determine your version of PowerShell and host operating system

PowerTip: Determine your version of PowerShell and host operating system

Summary: Identify your PowerShell environment by making use of built-in PowerShell variables. Hey, Scripting Guy! If I’m writing a script, how can I detect if I am running on Windows, Linux, or Mac with PowerShell? Just use the built-in variable ... continue reading
Loading...