PowerShell – Telegram
PowerShell
821 subscribers
214 photos
4 videos
1 file
802 links
Task automation and configuration management framework #PowerShell
Download Telegram
📘 PowerShell Security Guide

- PowerShell as hacking-tool
- Disarm PowerShell with integrated mechanisms
- Restrict execution of noscripts
- Set Execution Policy
- Securing communication
- SSH Remoting with Public Key Authentication

and so on...
#ebook #free
💡 New Pluralsight Course - Extending PowerShell

The course is aimed at helping you learn and understand PowerShell Modules and is part of a larger learning path for PowerShell 7 that is being produced currently on PowerShell.

https://www.pluralsight.com/courses/powershell-extending
💡 Metalize!

PowerShell 6.1,7 versions:
PS C:\> function metalize {$input-replace'[aeiou]',{"$_`u{0308}".Normalize('FormC')}}

PS C:\> "Svyatoslav" | metalize

Svyätösläv

PowerShell 5 version:
$callback = {
 param($match)
 "$match$([char]0x0308)".Normalize('FormC')
}

$re = [regex]'[aeiou]'
$re.Replace("Svyataslav", $callback)

Svyätäsläv

Revert back:
"Svyätäsläv".Normalize('FormD') -replace '\p{Mn}'

Svyataslav
#fun
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)