Introduction
If you want to stay on top of #PowerShell
community and whatever is happening around the world related to PowerShell then you are at the right place friend! In this PowerShell Weekly Newsletter, I will cover content from the following sources, which you don’t want to miss 😎
If you like reading this newsletter follow me on Twitter @singhprateik, for more such content and support my efforts! and to get our PowerShell weekly newsletter EVERY FRIDAY please do subscribe here 👇👇👇 and join the growing community of 1000+ readers!
Table of Contents
Editors Pick
Here are some of the articles specially picked by me for your reading…
-
PowerShell 7.1-preview.6 is now available in the Microsoft Store
What’s new in this version 👇
Breaking Changes:
-
Rename -FromUnixTime to -UnixTimeSeconds on Get-Date to allow Unix time input
-
Make $ErrorActionPreference not affect stderr output of native commands
-
Allow explicitly specified named parameter to supersede the same one from hashtable splatting
Enhancements and fixes:
-
Refactor command line parser to do early parsing
-
Add support for some .NET intrinsic type converters
-
Refresh and enable the ComInterop code in PowerShell
-
Add -Runspace parameter to all *-PSBreakpoint cmdlets
-
Fix error message from new symbolic link missing target
-
Make the parameter args non-nullable in the public ConsoleHost APIs
-
Add missing dispose for CancellationTokenSource
-
Add the parameter -Paged to Get-Help to support paging
-
Fix Get-Help not properly displaying if parameter supports wildcards
-
Update pwsh help for -InputFormat parameter
-
Declare MIT license for files copied from Roslyn
-
Improve BigInteger casting behaviors
-
Fix Get-Acl -LiteralPath “HKLM:Software\Classes\*” behavior
-
Add DefaultVisit method to the visitor interface and class
-
Fix conflicting shorthand
-
-
Reading SCCM Logs with PowerShell
by @tseknet
SCCM log files follow a standard schema that we can use to parse these log files for the data we’re interested in (timestamp, log data, etc.). Once we’ve separated the important bits, we can do whatever we’d like with that data. In this case, let’s dive into how we can write those logs to the Event Log for later forensic investigation.
This post covers how this can be done for an OS upgrade task sequence file (
smsts.log
), but this script can be adapted to take any log file and write the contents to the Event Log. [Read more]
-
Using PowerShell Data Types Accelerators to Speed up Coding
by @alistek
Often in PowerShell, certain operations are time-consuming or repetitive. Crafted solutions must be in place to compensate for these. An administrator may spend many hours solving difficult edge cases. Good thing PowerShell data types offer Type Accelerators to ease these challenges. These .NET classes are easy entry points into advanced functionality. Accelerators will help you save time and effort for many of the common tasks that a script may need. [Read more]
Trending Github Repositories
Github repositories that are trending are a good way to find and contribute to some cool PowerShell projects! Following is the list of top 10 trending PowerShell Github repositories.
Repository | Description | Stars | Forks | Num Of Stars Today |
---|---|---|---|---|
farag2/Windows-10-Setup-Script | Script to setup Windows 10 LTSC/1903/1909/2004 | 1,487 | 194 | 1,487 |
actions/virtual-environments | GitHub Actions virtual environments | 1,176 | 503 | 1,176 |
Sycnex/Windows10Debloater | Script to remove Windows 10 bloatware. | 6,386 | 769 | 6,386 |
PowerShellMafia/PowerSploit | PowerSploit – A PowerShell Post-Exploitation Framework | 7,372 | 2,838 | 7,372 |
JanDeDobbeleer/oh-my-posh | A prompt theming engine for Powershell | 3,856 | 236 | 3,856 |
fireeye/commando-vm | Complete Mandiant Offensive VM (Commando VM), a fully customizable Windows-based pentesting virtual machine distribution. commandovm@fireeye.com | 3,702 | 803 | 3,702 |
nettitude/PoshC2 | A proxy aware C2 framework used to aid red teamers with post-exploitation and lateral movement. | 532 | 140 | 532 |
lukesampson/scoop | A command-line installer for Windows. | 11,390 | 927 | 11,390 |
microsoft/winget-pkgs | The Microsoft community Windows Package Manager manifest repository | 2,753 | 635 | 2,753 |
lextm/windowsterminal-shell | Install/uninstall scripts for Windows Terminal context menu items | 490 | 54 | 490 |
Top Tweets
If you are into tech then you can’t miss these PowerShell related popular tweets in last week, here is the list of top 10 most popular PowerShell tweets…
Twitter Handle | Retweet Count | Favorite Count | Status | Status URL |
---|---|---|---|---|
@wugeej | 224 | 504 | Several ways to download and execute malicious code through cmds
1. #Linux |
[Tweet] |
@BCSecurity1 | 192 | 347 | We hinted during our #PowerShell talk at #defconsafemode a few weeks ago, that we were working on some new ScriptBl… https://t.co/94fFciMz7D | [Tweet] |
@Ba4bes | 134 | 383 | New blog post! Calling a REST API from PowerShell. In this practical guide I walk you through the basics to get an… https://t.co/JIXX1rmLEg |
[Tweet] |
@Hakin9 | 74 | 75 | Watch our video tutorial about 2FA Bypass With PowerShell! https://t.co/uLgd6V52xw
#infosec #hacking #hackers… https://t.co/bwR7jDNlfb |
[Tweet] |
@Steve_MSFT | 57 | 164 | It appears #PowerShell 7.1-preview.6 is now available in the Microsoft Store. Give it a try: https://t.co/sAmoALDH5C | [Tweet] |
@mwbengtsson | 56 | 133 | Script Update: Windows 10 Toast Notification Script Update: Run ConfigMgr Software Updates directly from the action… https://t.co/inQwrXS3af | [Tweet] |
@BCSecurity1 | 54 | 156 | Testing some stuff this morning and it looks like #Microsoft is finally employing behavior based detections in Defe… https://t.co/oUlBO46zRv | [Tweet] |
@DirectoryRanger | 46 | 100 | How to bypass AMSI and execute ANY malicious #Powershell code.
https://t.co/O2dBpP314g |
[Tweet] |
@ThomasMaurer | 31 | 57 | How to use PowerShell ISE Mode in Visual Studio Code 💻 https://t.co/FmXAvhcusu #PowerShell #VSCode #PowerShellISE… https://t.co/VO72uCiu93 |
[Tweet] |
@joeyaiello | 23 | 85 | HUGE news for the #PowerShell folks on Win10! This was a LOT trickier than it looks, huge props to the team and the… https://t.co/VAGRgRFiwC | [Tweet] |
Top Reddit posts
PowerShell Reddit r/PowerShell is a vibrant community and you should be on board if you want to get onto the nerve of PowerShell Community, here is a list of top Reddit posts last week..
Author | Title | Ups | Num of Comments | URL |
---|---|---|---|---|
/u/adbertram | Using PowerShell Data Types Accelerators to Speed up Coding | 90 | 15 | [Post] |
/u/Wireless_Life | Windows Terminal Preview 1.3 Release | 84 | 31 | [Post] |
/u/daniteh | Reading SCCM Logs with PowerShell (My First PowerShell Blog Post!) | 73 | 5 | [Post] |
/u/agumonkey | Become a PowerShell Debugging Ninja by Kirk Munro (2018) | 63 | 30 | [Post] |
/u/kingtools | WindTerm 1.5: A Free Professional PowerShell/SSH/SFTP/Telnet/Serial Client for DevOps | 62 | 11 | [Post] |
/u/dverbern | My amateurish script to ‘webscrape’ COVID-19 stats for Victoria, Australia from a public webpage. | 42 | 6 | [Post] |
/u/SpecterXP | Poor System Performance/System Cleanup script | 25 | 21 | [Post] |
/u/mkanet | -expandproperty for object containing two hashtables? | 25 | 10 | [Post] |
/u/SirWobbyTheFirst | PowerShell Regex is Broken | 19 | 27 | [Post] |
/u/nkasco | IT Admin Toolkit – A Customizable and Expandable Destination For Centralizing Day-To-Day Job Functions | 18 | 3 | [Post] |
New on Youtube
Here are some new PowerShell videos uploaded on youtube.com last week!
Channel | Title | URL |
---|---|---|
Doug Finke | PowerShell – Data without a Database – Adam Jacobson | [Video] |
Adam Driscoll | Module Monday: PowerShell Protect | [Video] |
Security Aravind | how to PowerShell set IP address server 2019 PowerShell set IP address DHCP server 2019 | [Video] |
Security Aravind | how to PowerShell set IP address server 2019 change network IP PowerShell windows server 2019 | [Video] |
Fun & Tech | How to Install Jenkins on Windows 10 and add PowerShell plugins for PowerShell Automation | [Video] |
Roel Van de Paar | Linux: How to remotely setup PowerShell to accept Enter-PSSession? | [Video] |
Bestseller Books on Leanpub.com
Here are the top 10 book titles which were trending as bestsellers under the PowerShell category!
Author of “PowerShell Guide to Python“, “Windows Subsystem for Linux (WSL)” and currently writing the most awaited book: “PowerShell to C# and Back” !
Prateek Singh
Related posts
Categories
Author of Books
Awards
Open Sourced Projects
Author at
Blog Roll
Mike F RobbinsDamien Van Robaeys
Stéphane van Gulick
Kevin Marquette
Adam Bertram
Stephanos Constantinou
Francois-Xavier Cat
Ravikanth Chaganti
Roman Levchenko
Blog Stats
- 1,132,467 People Reached