Showing archive results for 2020

Jun 22, 2020
Post comments count3
Post likes count0

Native Commands in PowerShell – A New Approach

Jim Truher

In this two part blog post I'm going to investigate how PowerShell can take better advantage of native executables. In the first post, I'm going to discuss a few of the ways that PowerShell can better incorporate native executables into our object oriented world and how we can use these tools to better fit into our model of more discrete operations...

PowerShell Crescendo
Jun 16, 2020
Post comments count11
Post likes count1

Resolving PowerShell Module Assembly Dependency Conflicts

Robert Holt

When writing a PowerShell module, especially a binary module (i.e. one written in a language like C# and loaded into PowerShell as an assembly/DLL), it's natural to take dependencies on other packages or libraries to provide functionality. Taking dependencies on other libraries is usually desirable for code reuse. However, PowerShell always load...

May 19, 2020
Post comments count2
Post likes count0

PowerShell Team May 2020 Update

Steve Lee

Previously, I published a blog on our investments plans during the PowerShell 7.1 release timeframe. We've made progress across many of those investments with more work ahead of us. PowerShell 7.1 preview 3 We are now able to ship simultaneously with each new .NET 5 preview release! This means that you can start leveraging new capabilities...

May 18, 2020
Post comments count0
Post likes count0

PowerShellGet 3.0 Preview 3

Sydney Smith

PowerShellGet 3.0 preview 3 is now available on the PowerShell Gallery. The focus of this release is the  parameter for  which now allows for json, hashtable, or .json files as input. For a full list of the issues addressed by this release please refer to this GitHub project. Note: For background information on PowerShellGet 3.0 please refer to th...

PowerShellGet
May 11, 2020
Post comments count3
Post likes count1

PowerShell 7 Video Series

Sydney Smith

As a part of our PowerShell 7 release, the PowerShell Team put together a series of videos explaining and demoing aspects of the release. The intent of these videos was for User Groups to host events celebrating and discussing PowerShell 7, however, in light of the current guidance against group gatherings, we have decided to make these videos avai...

May 4, 2020
Post comments count0
Post likes count0

PSScriptAnalyzer (PSSA) 1.19.0 has been released

Jim Truher

TL;DR; (Too Long; Didn't Read) This new minor version brings 5 new rules, the formatter is much faster and other enhancements and fixes. You can get it from the PSGallery here. At the same time the PowerShell extension for VS Code has released a new preview version. This ships with this new version of PSSA so that you can also take advantage of al...

PSScriptAnalyzer
Apr 30, 2020
Post comments count0
Post likes count0

PowerShellGet 3.0 Preview 2

Sydney Smith

PowerShellGet 3.0 preview 2 is now available on the PowerShell Gallery. The focus of this release is the Install-PSResource parameter, error messages, and warnings. For a full list of the issues addressed by this release please refer to this GitHub project. Note: For background information on PowerShellGet 3.0 please refer to the blog post...

PowerShellGet
Apr 9, 2020
Post comments count3
Post likes count0

PowerShell Gallery TLS Support

Sydney Smith

Summary To provide the best-in-class encryption to our customers, the PowerShell Gallery has deprecated Transport Layer Security (TLS) versions 1.0 and 1.1 as of April 2020. The Microsoft TLS 1.0 implementation has no known security vulnerabilities. But because of the potential for future protocol downgrade attacks and other TLS vulnerabilities, ...

PowerShellGetPowerShell Gallery
Apr 7, 2020
Post comments count3
Post likes count0

Depending on the right PowerShell NuGet package in your .NET project

Robert Holt

Alongside the executable packages published with each PowerShell release, the PowerShell team also maintain several NuGet packages that are available on NuGet to allow targeting PowerShell as an API platform in .NET. As a .NET application that both provides APIs and expects to load .NET libraries implementing its own (binary modules), it's ...

Mar 30, 2020
Post comments count1
Post likes count0

PowerShellGet 3.0 Preview 1

Sydney Smith

We are excited to announce that our first preview release of PowerShellGet 3.0 is now available on the PowerShell Gallery. This is a major update to PowerShell's experience for discovering, installing, updating and publishing PowerShell resources like modules, DSC resources, role capabilities and scripts. This was first proposed in RFC PR #185 ...

PowerShellGet