August 25, 2023
Blogs, Articles, and Posts
Configure do not allow unencrypted SMB Sessions with PowerShell
(alexandrumarin.com)
In today's interconnected world, data sharing is a fundamental aspect of modern computing. One of
By: Alex Radu Marin submitted:Aug 25 2023
In today's interconnected world, data sharing is a fundamental aspect of modern computing. One of
the protocols that facilitates this exchange is the Server Message Block (SMB), used predominantly in Windows environments. While SMB offers convenient file and printer sharing capabilities, it's essential to delve into one of its potential security pitfalls - unencrypted SMB [...]
By: Alex Radu Marin submitted:Aug 25 2023
Find Out Where Users Get Sensitivity Labels From
(office365itpros.com)
A question about finding out which sensitivity label policy makes a label available to a user
By: Tony Redmond submitted:Aug 25 2023
A question about finding out which sensitivity label policy makes a label available to a user
requires some PowerShell to figure out the answer with some human-friendly results. The outcome is a script that analyzes sensitivity label policies to find where a user gets their labels from. It's another example of how useful PowerShell can be.
By: Tony Redmond submitted:Aug 25 2023
How to Efficiently Remove Comments from Your PowerShell Script
(evotec.xyz)
As part of my daily development, I create lots of code that I subsequently comment on and leave to
By: Przemyslaw Klys submitted:Aug 25 2023
As part of my daily development, I create lots of code that I subsequently comment on and leave to
ensure I understand what I tried, what worked, and what didn't. This is my usual method of solving a problem. Sure, I could commit it to git and then look it up, and I do that, but that doesn't change my behavior where I happen to have lots of "junk" inside of my functions that stay commented out. While this works for me, and I've accepted this as part of my process, I don't believe this should be part of the production code on PowerShellGallery or when the code is deployed.
By: Przemyslaw Klys submitted:Aug 25 2023
PowerShell Classes and SessionState
(mdgrs.hashnode.dev)
Since PowerShell class methods are implemented as ScriptBlocks internally, the concept of the Bound
By: mdgrs submitted:Aug 25 2023
Since PowerShell class methods are implemented as ScriptBlocks internally, the concept of the Bound
and Unbound ScriptBlocks that I talked about in my previous article also applies to them.
By: mdgrs submitted:Aug 25 2023
PowerShell KeePass and saving time.
(ehmiiz.tech)
However, I found myself using the graphical user interface (GUI) of my password manager daily to
By: Emil Larsson submitted:Aug 25 2023
However, I found myself using the graphical user interface (GUI) of my password manager daily to
simply search copy and paste secret. The problem with navigating a GUI every day is that it's time consuming, and there's room for improvement, especially if you enjoy delving into some PowerShell and/or always have a terminal open.
By: Emil Larsson submitted:Aug 25 2023
PowerShell: Search and delete empty Folders
(sid-500.com)
Big Data? Pain? Looking for empty folders and want to delete them? In this post I show you how to
By: Patrick Gruenauer submitted:Aug 25 2023
Big Data? Pain? Looking for empty folders and want to delete them? In this post I show you how to
proceed to find and delete empty folders.
By: Patrick Gruenauer submitted:Aug 25 2023
Retrieve local and remote PowerShell logs
(powershellisfun.com)
There are a few PowerShell EventLogs and some files containing your PowerShell history and the
By: Harm Veenstra submitted:Aug 25 2023
There are a few PowerShell EventLogs and some files containing your PowerShell history and the
commands, script blocks, etc., that you have used. This can be very helpful if your computer or servers are hacked at your office. Or, if you just want to check things 😉 In this blog post, I will show you how to retrieve all those events locally and remotely and save those in an Excel sheet.
By: Harm Veenstra submitted:Aug 25 2023
Using Enums in PowerShell
(onsb.co)
Enums were introduced to PowerShell in version 5.0 and can be used as a simple way to validate
By: Dane submitted:Aug 25 2023
Enums were introduced to PowerShell in version 5.0 and can be used as a simple way to validate
script and parameter input.
By: Dane submitted:Aug 25 2023
Projects, Scripts, and Modules
Monitor and Report Additions to Teams Membership
(office365itpros.com)
A question about how to report specific changes to Teams memberships gave another excuse to use
By: Tony Redmond submitted:Aug 25 2023
A question about how to report specific changes to Teams memberships gave another excuse to use
PowerShell with the unified audit log to deliver a solution. The idea is that you can check audit log entries to see when specific user accounts join the membership of Teams. Once you've found that data, it's a simple matter of creating email to share the results. All done with a few lines of PowerShell...
By: Tony Redmond submitted:Aug 25 2023
New-VmsAzureAppRegistration.ps1
(gist.github.com)
Setting up single sign-on in the Milestone VMS using Azure AD can be a bit daunting for anyone
By: Josh Hendricks submitted:Aug 25 2023
Setting up single sign-on in the Milestone VMS using Azure AD can be a bit daunting for anyone
without experience configuring OpenID Connect (OIDC) apps. I finally got around to documenting it via PowerShell. The script will create an Azure App Registration, a custom app role, and then configure Milestone to use Azure as an external identity provider.
By: Josh Hendricks submitted:Aug 25 2023
PSSnow
(github.com)
A powershell module for interacting with the various ServiceNow REST API's.
By: Tom Piechota submitted:Aug 25 2023
A powershell module for interacting with the various ServiceNow REST API's.
By: Tom Piechota submitted:Aug 25 2023
Books, Media, and Learning Resources
PowerShell Quick Tips : Notifications
(youtube.com)
Quick tips in PowerShell. In this video ill be going over how to create notifications for your
By: JackedProgrammer submitted:Aug 25 2023
Quick tips in PowerShell. In this video ill be going over how to create notifications for your
scripts to be able to alert your users of errors or script completion, etc.
By: JackedProgrammer submitted:Aug 25 2023
Community
Shell-Shocked: PowerShell Gallery Security, Reddit Questions, and more
(powershellpodcast.podbean.com)
In this episode of the PowerShell Podcast, we thank our listeners on reaching 60k downloads, discuss
By: The Powershell Podcast submitted:Aug 25 2023
In this episode of the PowerShell Podcast, we thank our listeners on reaching 60k downloads, discuss
Fred's upcoming security deep dive on Discord, and answer some of Reddit's biggest questions. We'll delve into the benefits of PowerShell on macOS and Linux, evaluate PowerShell Gallery security flaws, and examine Christian Ritter and Evotec's perspectives on creating PSCustomObjects. We also dip into PowerShell Crescendo with Andrew and Jordan. Stay tuned for an exciting mix of insights and best practices.
By: The Powershell Podcast submitted:Aug 25 2023
Fun
tiPS v 0.0.11
(powershellgallery.com)
PowerShell tips delivered straight to your terminal
By: Daniel Schroeder submitted:Aug 25 2023
PowerShell tips delivered straight to your terminal
By: Daniel Schroeder submitted:Aug 25 2023
Do you have a suggestion for PowerShell Weekly? Do you know something that should be included? Let me know in the comments below, or on
twitter.