PowerShell – Telegram
PowerShell
822 subscribers
214 photos
4 videos
1 file
802 links
Task automation and configuration management framework #PowerShell
Download Telegram
PowerShell 7.2-preview.1 is out!

Engine Updates and Fixes:
- Change the default fallback encoding for GetEncoding in Start-Trannoscript to be UTF8 without a BOM

General Cmdlet Updates and Fixes
- Update pwsh -? output to match docs
- Fix NullReferenceException in Test-Json
- Make Dispose in TrannoscriptionOption idempotent
- Add additional Microsoft PowerShell modules to the tracked modules list
- Relax further SSL verification checks for WSMan on non-Windows hosts with verification available
- Add the OutputTypeAttribute to Get-ExperimentalFeature
- Fix blocking wait when starting file associated with a Windows application
-Emit warning if ConvertTo-Json exceeds -Depth value

Code Cleanup

https://github.com/PowerShell/PowerShell/releases/tag/v7.2.0-preview.1
📦 PoshBot.

Connect to Servers & Report Status, Deploy Code, Execute Runbooks, Query APIs If you can write it in PowerShell, PoshBot can execute it
📦 Pester 5.1.0 is out!

New features
- BeforeDiscovery block
- "TestCases" for Describe and Context
- "TestCases" can take any array, not just arrays of hashtables
- Templates expand to all variables and allow dot-notation
- Smaller improvements

https://github.com/pester/Pester/releases/tag/5.1.0
Any idea? :)
📦 Announcing PowerShell Crescendo Preview.1

The Crescendo module is an experiment to provide a novel way to create functions which invoke native commands by using a JSON configuration file.

https://devblogs.microsoft.com/powershell/announcing-powershell-crescendo-preview-1/
📌Roadmap for PowerShell.
📘 PowerShell 7 for IT Professionals

Take advantage of everything Microsoft’s new PowerShell 7 has to offer.

#ebook
PowerShell 7.2 Preview 2 release.

Experimental Features:
- PSAnsiRendering: Enable ANSI formatting via $PSStyle and support suppressing ANSI output

Now we can have text contains ANSI escape codes which control text decorations like color, bold, italics, etc…

See other updates and improvements in Github repo below.

https://devblogs.microsoft.com/powershell/powershell-7-2-preview-2-release/
📘 Hosting and Protecting Your Own NuGet Feed with ProGet

Why might you want to do this? Remember when PowerShell Gallery went down for a while in October? That’s a pretty good reason. Another reason might be if you like or need the use of the PowerShellGet cmdlets when interacting with the PowerShell Gallery, but do not want to store your code publicly.

https://adamcook.io/p/hosting-and-protecting-your-own-nuget-feed-with-proget/