🥇 PowerShell war games.
Fun and educational way to learn PowerShell.
https://underthewire.tech/wargames
Fun and educational way to learn PowerShell.
https://underthewire.tech/wargames
📌 v7.1.3 Release of PowerShell
Engine Updates and Fixes:
- Remove the 32K character limit on the environment block for
- Fix webcmdlets to properly construct URI from body when using
General Cmdlet Updates and Fixes
- Fix
Build and Packaging Improvements
- Bump .NET SDK to 5.0.4
Engine Updates and Fixes:
- Remove the 32K character limit on the environment block for
Start-Process- Fix webcmdlets to properly construct URI from body when using
-NoProxyGeneral Cmdlet Updates and Fixes
- Fix
PromptForCredential() to add targetName as domainBuild and Packaging Improvements
- Bump .NET SDK to 5.0.4
📌 SANS 3-part series: PowerShell for Audit, Compliance and Security Automation and Visualization
In this session, we will cover the basics of using PowerShell for common infosec, compliance and audit tasks. We will make heavy use of demonstrations to explore the object-oriented nature of the shell, important commands for getting help, and how to select, sort, filter and transform results from native Windows tools.
Part 1. The PowerShell Tools I Use for Audit and Compliance Measurement
Part 2. Using the VMWare PowerCLI modules to Measure VMWare Compliance
Part 3. Accessing Web APIs with PowerShell
In this session, we will cover the basics of using PowerShell for common infosec, compliance and audit tasks. We will make heavy use of demonstrations to explore the object-oriented nature of the shell, important commands for getting help, and how to select, sort, filter and transform results from native Windows tools.
Part 1. The PowerShell Tools I Use for Audit and Compliance Measurement
Part 2. Using the VMWare PowerCLI modules to Measure VMWare Compliance
Part 3. Accessing Web APIs with PowerShell
💡 v7.2.0-preview.4 Release of PowerShell
- Fix
- Update engine noscript signature validation to match
- Avoid array allocations from
- Add
- Re-enable VT mode on Windows after running command in
- Fix
- Fix
- Update
- Remove the 32,767 character limit on the environment block for
- Don't write possible secrets to verbose stream for web cmdlets
- Update .NET to version
- Fix
Get-Date -UFormat%G and %g behavior.- Update engine noscript signature validation to match
Get-AuthenticodeSignature logic.- Avoid array allocations from
GetDirectories and GetFiles- Add
UseOSCIndicator setting to enable progress indicator in terminal- Re-enable VT mode on Windows after running command in
ConsoleHost- Fix
Move-Item for FileSystemProvider to use copy-delete instead of move for DFS paths- Fix
PromptForCredential() to add targetName as domain- Update
Concise ErrorView to not show line information for errors from noscript module functions- Remove the 32,767 character limit on the environment block for
Start-Process- Don't write possible secrets to verbose stream for web cmdlets
- Update .NET to version
6.0.100-preview.2.21155.3📌Essential Interfaces: IDisposable
https://blog.iisreset.me/essential-interfaces-idisposable/
IDisposable interface, what it's for, and how to use types that implement it in PowerShell.https://blog.iisreset.me/essential-interfaces-idisposable/
graceful is noforce
Essential Interfaces: IDisposable
Ever wondered how to correctly wrap IDisposable types in PowerShell classes? Here's a couple of hints!
📘 PowerShell Variable Scope Guide: Using Scope in Scripts and Modules.
PowerShell scope protects variables and other artifacts by limiting where they can be read and modified. Scope levels protect items that should not be changed.
https://www.varonis.com/blog/powershell-variable-scope/?utm_source=dlvr.it&utm_medium=twitter
PowerShell scope protects variables and other artifacts by limiting where they can be read and modified. Scope levels protect items that should not be changed.
https://www.varonis.com/blog/powershell-variable-scope/?utm_source=dlvr.it&utm_medium=twitter
Varonis
PowerShell Variable Scope Guide: Using Scope in Scripts and Modules
PowerShell variable scopes can cause confusion in writing noscripts and functions. This post will cover PowerShell scopes in relation to noscripts and modules.
❗ Announcing PSArm preview
PSArm is an experimental PowerShell module that provides a domain-specific language (DSL) embedded in PowerShell for Azure Resource Manager (ARM) templates, allowing you to use PowerShell to build ARM templates.
https://devblogs.microsoft.com/powershell/announcing-the-preview-of-psarm/
PSArm is an experimental PowerShell module that provides a domain-specific language (DSL) embedded in PowerShell for Azure Resource Manager (ARM) templates, allowing you to use PowerShell to build ARM templates.
https://devblogs.microsoft.com/powershell/announcing-the-preview-of-psarm/
PowerShell Team
Announcing the preview of PSArm
Announcing PSArm preview Today, we are pleased to announce the first preview of a new experimental module that make it easier than ever for PowerShell users to create Azure Resource Manager (ARM) templates: PSArm. This module enables existing PowerShell users…
📌 PowerShell File Checksum Integrity Verifier (PsFCIV) is now a separate package.
The module replaces and enhances discontinued Microsoft's File Checksum Integrity Verifier (FCIV) which is intended to monitor file share integrity.
https://www.pkisolutions.com/powershell-file-checksum-integrity-verifier-psfciv/
The module replaces and enhances discontinued Microsoft's File Checksum Integrity Verifier (FCIV) which is intended to monitor file share integrity.
https://www.pkisolutions.com/powershell-file-checksum-integrity-verifier-psfciv/
📘 Local PowerShell Module Repository, No Server Required
https://blog.devolutions.net/2021/03/local-powershell-module-repository-no-server-required
https://blog.devolutions.net/2021/03/local-powershell-module-repository-no-server-required
blog.devolutions.net
Local PowerShell Module Repository, No Server Required
Simple PowerShell noscripts can go a long way on their own, but they can go even further with PowerShell modules. The largest PowerShell repository is PSGallery, where one can find modules to get the jo...
📦 SecretManagement and SecretStore are Generally Available
Two modules are now generally available on the PowerShell Gallery:
- Microsoft.PowerShell.SecretManagement
- Microsoft.PowerShell.SecretStore
https://devblogs.microsoft.com/powershell/secretmanagement-and-secretstore-are-generally-available/
Two modules are now generally available on the PowerShell Gallery:
- Microsoft.PowerShell.SecretManagement
- Microsoft.PowerShell.SecretStore
https://devblogs.microsoft.com/powershell/secretmanagement-and-secretstore-are-generally-available/
Microsoft News
SecretManagement and SecretStore are Generally Available
We are excited to announce two modules are now generally available on the PowerShell Gallery: Microsoft.PowerShell.SecretManagement Microsoft.PowerShell.SecretStore To install the modules, open any PowerShell console and run: Install-Module Microsoft.Pow…
📦 A lightweight wrapper module for handling mutexes in PowerShell
The Mutex module is designed as a minimal wrapper around the .NET mutex functionality. It is designed to synchronize resource access across process boundaries within the same host.
Are plainly put, it is used to prevent access conflicts. For examples from writing to the same file.
https://github.com/friedrichweinmann/mutex
The Mutex module is designed as a minimal wrapper around the .NET mutex functionality. It is designed to synchronize resource access across process boundaries within the same host.
Are plainly put, it is used to prevent access conflicts. For examples from writing to the same file.
https://github.com/friedrichweinmann/mutex
GitHub
FriedrichWeinmann/Mutex
Contribute to FriedrichWeinmann/Mutex development by creating an account on GitHub.
📦 v7.2.0-preview.5 Release of PowerShell.
Breaking Changes
- Make PowerShell Linux deb and RPM packages universal
- Enforce AppLocker Deny configuration before Execution Policy Bypass configuration
- Disallow mixed dash and slash in command line parameter prefix
Experimental Features
-
Engine Updates and Fixes
General Cmdlet Updates and Fixes
Breaking Changes
- Make PowerShell Linux deb and RPM packages universal
- Enforce AppLocker Deny configuration before Execution Policy Bypass configuration
- Disallow mixed dash and slash in command line parameter prefix
Experimental Features
-
PSNativeCommandArgumentPassing: Use ArgumentList for native executable invocation (breaking change) Engine Updates and Fixes
General Cmdlet Updates and Fixes
📌 A PowerShell users' guide to regular expressions: part 1 and part 2 (of 3).
Even experts can be a little intimidated by reading through a noscript and meeting something like
So here is piece of good news - It won’t take much longer to understand that monster. Let’s start at the beginning.
https://jhoneill.github.io/powershell/2021/04/10/regex1.html
https://jhoneill.github.io/powershell/2021/04/11/regex2.html
Even experts can be a little intimidated by reading through a noscript and meeting something like
^\{?[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}\}?$So here is piece of good news - It won’t take much longer to understand that monster. Let’s start at the beginning.
https://jhoneill.github.io/powershell/2021/04/10/regex1.html
https://jhoneill.github.io/powershell/2021/04/11/regex2.html
jhoneill.github.io
A PowerShell users' guide to regular expressions: part 1 (of 3).
PowerShell (or PWSH if you prefer). Devops (especially Azure Devops), Photography, and general thoughts
🎬 PowerShell Testing with Pester 5
0:00 Intro
2:28 About Jakub Jares
3:15 Install Pester
4:46 Overview of Pester
13:32 Practical Example
34:38 Pester VSCode Extension
37:22 Debugging in VSCode with Pester
43:24 Practical Example
1:07:00 Test Drive
1:16:00 Other Features
1:34:00 VS Code Code Coverage
1:49:00 Q&A
https://www.youtube.com/watch?v=qeiy8fRMHf8
0:00 Intro
2:28 About Jakub Jares
3:15 Install Pester
4:46 Overview of Pester
13:32 Practical Example
34:38 Pester VSCode Extension
37:22 Debugging in VSCode with Pester
43:24 Practical Example
1:07:00 Test Drive
1:16:00 Other Features
1:34:00 VS Code Code Coverage
1:49:00 Q&A
https://www.youtube.com/watch?v=qeiy8fRMHf8
YouTube
PowerShell Testing with Pester 5
At this meeting we will have Pester owner and maintainer Jakub Jares as guest speaker.In this session the following topics are covered:0:00 Intro2:28 About...
📚 5 new modules on Microsoft Learn for PowerShell
▪️ Introduction to PowerShell
▪️ Connect commands into a pipeline
▪️ Introduction to noscripting in PowerShell
▪️ Write your first PowerShell code
▪️ Automate Azure tasks using noscripts with PowerShell
▪️ Introduction to PowerShell
▪️ Connect commands into a pipeline
▪️ Introduction to noscripting in PowerShell
▪️ Write your first PowerShell code
▪️ Automate Azure tasks using noscripts with PowerShell
PowerShell Summit 2021: Day 1
▪️ State of the Shell
▪️ Pwsh with GitHub Actions
▪️ Writing accessible Tools
▪️ Incident Management with PowerShell
▪️ State of the Shell
▪️ Pwsh with GitHub Actions
▪️ Writing accessible Tools
▪️ Incident Management with PowerShell