Select Page

Improvements in Windows PowerShell Container Images

Beginning with Windows Server 20H1 Insider builds, Windows Server Core Insider images have been reduced in size from ~2.1 GBs to ~1.1 GBs. How did the Server Core images get over 40% smaller? Traditionally, Windows 10 and Windows Server have ... continue reading
img

PowerShell 7 Preview 5

Today we shipped PowerShell 7 Preview5! This release contains a number of new features and many bug fixes from both the community as well as the PowerShell team. See the Release Notes for all the details of what is included ... continue reading

How to use PowerShell in Azure Data Studio

Sydney Smith joins Scott Hanselman to show the rich editing experience provided by the PowerShell extension in Azure Data Studio by creating a SQL Server in a Linux Docker container with external storage—all using PowerShell Core in Azure Data Studio.To ... continue reading
gif

PowerShell 7 Preview 4

We continue to make progress towards our PowerShell 7 release which currently is targeting December 2019 for a Release Candidate and January 2020 for General Availability and will be our first LTS (Long Term Servicing) release! Please see the previous ... continue reading
A picture containing scissors  Description automatically generated

PowerTip: Identify which Platform PowerShell is running on

Summary: Using $PSVersionTable to identify if you are on Windows or Unix Hey, Doctor Scripto! I’m working on my PowerShell scripts and I need to be able to identify if I’m working on Windows or Linux. How can I do ... continue reading

Creating a Platform Independent Function in PowerShell

Summary: Creating a Function in PowerShell and the power of the $PSVersionTable to make code more portable Q: Hey, Doctor Scripto! I saw that post last week on converting Here-String into an array. I wanted to write my code to ... continue reading
A picture containing scissors  Description automatically generated

PowerTip: Identify if you are running on PowerShell Core

Summary: Pulling up the properties of $PSVersionTable to identify your PowerShell edition Hey, Doctor Scripto! I want to write my modules and scripts to be more portable. How can I tell if I am executing on PowerShell Core? Just use ... continue reading
Maximizing the Power of Here-String in PowerShell for Configuration Data

Maximizing the Power of Here-String in PowerShell for Configuration Data

Summary: Discovering some of the awesome and neat ways to leverage a Here-String in a Script or function Q: Hey, Doctor Scripto! I used to write scripts with supporting configuration files that never really changed. I was wondering if there ... continue reading
SSH on Windows Server 2019

SSH on Windows Server 2019

First published on TECHNET on Oct 29, 2018 Hello all from PFE Land! I'm Allen Sudbring, PFE in the Central Region. Today I'm going to talk about the built in SSH server that can be added to Windows Server 2019 ... continue reading

New Telemetry in PowerShell 7 Preview 3

Beginning in PowerShell 7 Preview 3, PowerShell will be sending some additional data points to Microsoft. This data will allow us to better understand usage of PowerShell and enable us to prioritize our future investments. These additional points of data ... continue reading