Finally got around to create a Discord Server and bridge it to @matrixdotorg
You can join you #PowerShellOnLinux community via any of the links below they are connected ๐
Matrix
https://t.co/XcNyWdIQHd
Telegram
https://t.co/AOrEx39cXd
Discord
https://t.co/yWDHnAJCBo
@jzetterman You can do implicit remoting to import the AD module from your Windows server straight into your local shell. No dedicated PSSession needed.
Works great from Linux and macOS too.
https://t.co/EixYoEga5X
PowerShell on Linux & macOS is seriously underrated.
Same language. Same scripts. Runs everywhere.
Installed via brew/apt in seconds and suddenly your automation works on Windows, Linux, and Mac without rewriting everything in bash.
Whoโs using `pwsh` outside of Windows? Whatโs your best cross-platform trick?
#PowerShell
Task of the day: You need to recursively find all JSON files, extract the 'https://t.co/SbnjV2CbaU' field from each, and export to CSV.
Bash: find . -name "*.json" -exec jq ... | awk ... | while read... (proceeds to summon ancient demons)
PowerShell:
Get-ChildItem -Recurse -Filter *.json | Get-Content | ConvertFrom-Json | Select https://t.co/SbnjV2CbaU | Export-Csv emails.csv
Same task.
One feels like dark magic.
The other feels like cheating.
PowerShell just hits different ๐
#PowerShell #Bash #Linux #DevLife"
Task: Filter a 50,000-row CSV, keep only rows where Status = 'Active' and Amount > 1000, then export to new file.
Bash: awk -F, '$4=="Active" && $7>1000' | cut -d, -f1,2,7 > out.csv
(and huge.csv pray the commas in fields don't murder you)
PowerShell: $data = Import-Csv huge.csv
Where-Object { $_.Status -eq 'Active' and [double]$_.Amount -gt 1000 }; $data Export-Csv out.csv
PowerShell treats data like data. Bash treats everything like a hostage negotiation with text.
#PowerShell #Bash #DataHell"
Hi @Bitwarden ๐
Any plans for official #PowerShell support using the SecretManagement module?
This would be huge for PowerShell users and automation workflows!
https://t.co/QcHqsRYWw8
@unixterminal@ryanyates1990@Microsoft@powershell@windowsserver I remember @jsnover talking about how had it was to get PowerShell to be included in windows desktop in the first place.
It's probably just as hard if not harder to get pwsh 7 to be included in windoes 11 ๐คฆโโ๏ธ
I wish @microsoft and the @powershell team would get their act together and make #PowerShell 7 the default on windows.
So it can finally be the same version on all platforms.
Lets get this post as many likes and retweets as possible to finally make it a reality ๐ช