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

Breaking change:
TLS 1.0 and TLS 1.1 were retired from the default on Linux machines where OpenSSL 1.1 and above is used.

General Cmdlet Updates and Fixes:
- Fix case where exception message contains just "`n" on Windows.
- Recognize CONOUT$ and CONIN$ as reserved device names.
- Fix ConciseView for interactive advanced function when writing error.


https://github.com/PowerShell/PowerShell/releases/tag/v7.1.0-rc.1
💡 Function name can contain white spaces:

new-item function:"get-process -name chrome" -Value "'hello'"

& "get-process -name chrome"

(most certainly a bad practice)
You can assign a .NET type to a Powershell variable and use its static methods from the variable:

PS C:\> $list = [Collections.Generic.List[int]](1..10)
PS C:\> $linqe = [Linq.Enumerable]
PS C:\> $linqe::Take($list,3)
1
2
3
🤡 PowerShell Hero.
#fun
CVE-2020-16886: PowerShellGet Module WDAC Bypass Vulnerability

A security feature bypass vulnerability exists in the PowerShellGet V2 module. An attacker who successfully exploited this vulnerability could bypass WDAC (Windows Defender Application Control) policy and execute arbitrary code on a policy locked-down machine.

https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-16886
📘 Free eBook - Windows Server 2019 Automation with PowerShell Cookbook - Third Edition

Limited-time offer - 1 Day only!

https://www.packtpub.com/free-learning
PowerShell 7.1-RC2 is out!

Engine Updates and Fixes:
- Rename Get-Subsystem to Get-PSSubsystem and fix two related minor issues
- Add missing PSToken token table entries to fix the PSParser API
- Add additional PowerShell modules to the tracked modules list
- Fix blocking wait when starting file associated with a Windows application)
- Revert PSNativePSPathResolution to being an experimental feature

General Cmdlet Updates and Fixes:
- Emit warning if ConvertTo-Json exceeds -Depth value

Build and Packaging Improvements


https://github.com/PowerShell/PowerShell/releases/tag/v7.1.0-rc.2
📌 24-hour recorded stream of the best PowerShell & DevOps content

- Irregular: Regular Expressions Made Strangely Simple
- Toast Notifications with PowerShell: From Noob to Master Baker
- vSphere DSC: Configure vSphere environment at scale
- Monochrome Investigation: Debugging from the command line
- Introduction to C# for PowerShell Devs
- Ogling the Next Normals in Modern Engineering: A DevOps Walkthrough!
- Beyond Pester 101: Applying testing principles to PowerShell
- Pester 5, looking back and forward

... and many more!

https://www.twitch.tv/devopsorg
🤮1💩1