September 4, 2020
Announcements!
PowerShell Universal Visual Studio Code Extension
(blog.ironmansoftware.com)
Today, I'm happy to announce the release of the first version of the PowerShell Universal Visual
By: Adam Driscoll submitted:Jun 16 2022
Today, I'm happy to announce the release of the first version of the PowerShell Universal Visual
Studio Code Extension! This extension provides some features to make it easier to get up and running with Universal and initially aids in authoring dashboards.
By: Adam Driscoll submitted:Jun 16 2022
Blogs, Articles, and Posts
Formatting dates from text or objects
(powershell.city)
Ever imported data just to have a non readable date stamp?
By: Xajuan Smith submitted:Jun 16 2022
Ever imported data just to have a non readable date stamp?
By: Xajuan Smith submitted:Jun 16 2022
How to monitor a printer with Powershell
(scriptinglibrary.com)
When it comes to monitoring, as much I like scripting languages, it is never my first choice to rely
By: Paolo Frigo submitted:Jun 16 2022
When it comes to monitoring, as much I like scripting languages, it is never my first choice to rely
only on a 'custom' script. Considering how many variables are involved: requirements, environments, the overall experience of the team that will manage that piece of software, and all efforts to develop, test, and support the solution over time.
By: Paolo Frigo submitted:Jun 16 2022
NetNeighbor Watch: The PowerShell Alternative To Arpwatch
(spiderzebra.com)
In this post, we are going to setup NetNeighbor Watch on a Raspberry Pi. NetNeighbor Watch can keep
By: SpiderZebra submitted:Jun 16 2022
In this post, we are going to setup NetNeighbor Watch on a Raspberry Pi. NetNeighbor Watch can keep
an eye on your network and send you an email when a new host is discovered. NetNeighbor Watch is done completely in PowerShell. The results are very similar to those of arpwatch. NetNeighbor Watch is for anyone that wants more visibility into the wireless or wired devices on their network. We will also setup a weekly email report with all of the known hosts on your network. In this post, I will walk you through the entire process of setting this up from scratch on a Raspberry Pi, lets get started!
By: SpiderZebra submitted:Jun 16 2022
PowerShell Core Support Lifecycle
(docs.microsoft.com)
Based on the Lifecycle of PowerShell, the following table lists the dates when various releases will
By: Microsoft submitted:Jun 16 2022
Based on the Lifecycle of PowerShell, the following table lists the dates when various releases will
no longer be supported.
By: Microsoft submitted:Jun 16 2022
Restoring (Recovering) PowerShell Scripts from Event Logs
(evotec.xyz)
A few days ago, I was asked to take a look at PowerShell Malware. While I don't know much about
By: Przemyslaw Klys submitted:Jun 16 2022
A few days ago, I was asked to take a look at PowerShell Malware. While I don't know much about
malware, my curiosity didn't let me skip on this occasion, and I was handed and WindowsPowerShell.evtx file. Ok, that's not what I expected! I wanted PowerShell .ps1 files that I can read and asses? Well, you play with the cards you were dealt with. What I was handed over was PowerShell Event Log. By design, PowerShell writes whatever you execute, and it thinks it is risky to Windows PowerShell Operation Event Log.
By: Przemyslaw Klys submitted:Jun 16 2022
Scheduled Script Best Practices
(reddit.com)
A great discussion on r/PowerShell about the best way to schedule PowerShell scripts.
By: u/save_earth submitted:Jun 16 2022
A great discussion on r/PowerShell about the best way to schedule PowerShell scripts.
By: u/save_earth submitted:Jun 16 2022
Visually display Active Directory Nested Group Membership using PowerShell
(evotec.xyz)
In the Active Directory PowerShell module, you have two commands to your disposal that help display
By: Przemyslaw Klys submitted:Jun 16 2022
In the Active Directory PowerShell module, you have two commands to your disposal that help display
group membership. Those are Get-ADGroup and Get-ADGroupMember. The first command contains property Members, which gives you DistinguishedName of all members, and Get-ADGroupMember can provide you either direct members or with Recursive switch all members recursively (skipping groups). Till a few weeks ago, I was a happy user of those commands until I noticed two things. Member property for Get-ADGroup sometimes misses elements for whatever reason.
By: Przemyslaw Klys submitted:Jun 16 2022
Projects, Scripts, and Modules
Active Directory Scripts Galore: Come and Get It!
(adamtheautomator.com)
Active Directory is one of the most common uses for PowerShell. I have personally been building
By: Adam Bertram submitted:Jun 16 2022
Active Directory is one of the most common uses for PowerShell. I have personally been building
Active Directory scripts using VBScript and PowerShell for over a decade. Here's a big sample of Active Directory PowerShell scripts to do all kinds of stuff!
By: Adam Bertram submitted:Jun 16 2022
IT Admin Toolkit
(nkasco.com)
A customizable and expandable destination for centralizing day-to-day job functions
By: Nathan Kasco submitted:Jun 16 2022
A customizable and expandable destination for centralizing day-to-day job functions
By: Nathan Kasco submitted:Jun 16 2022
Updated Version of the Graph User Statistics Script Available
(office365itpros.com)
Last June, I wrote about a PowerShell script to interrogate the Microsoft Graph to retrieve usage
By: Tony Redmond submitted:Jun 16 2022
Last June, I wrote about a PowerShell script to interrogate the Microsoft Graph to retrieve usage
data from workloads like Exchange Online, SharePoint Online, and Teams. Some of this data is available via PowerShell cmdlets like Get-ExoMailboxStatistics and Get-SPOSite, but using the Graph is usually faster.
By: Tony Redmond submitted:Jun 16 2022
Books, Media, and Learning Resources
8 Quick and easy tips to get you started with PowerShell
(koupi.io)
PowerShell is a very powerful scripting language. It is built on top of the .NET framework and can
By: Caroline Chiari submitted:Jun 16 2022
PowerShell is a very powerful scripting language. It is built on top of the .NET framework and can
interact with all its libraries. This architecture makes it a convenient tool for anyone working on Windows until recently, that is. Recently PowerShell was released for MacOS and Linux, making it an even more useful skill to possess.
By: Caroline Chiari submitted:Jun 16 2022
Debugging PowerShell Modules with Pester Unit Tests in Visual Studio Code
(youtube.com)
If you are the author of a PowerShell module, you can use the built-in debugging tools in Microsoft
By: Trevor Sullivan submitted:Jun 16 2022
If you are the author of a PowerShell module, you can use the built-in debugging tools in Microsoft
Visual Studio Code to debug your script modules. In this video, we'll build a simple PowerShell script module, and then use the Pester unit testing module to write some failing tests. Then, we'll set a breakpoint in our module and break into the debugger when we execute the Pester unit tests. Once execution is paused, we'll step through the module code line by line, to discover where things are going wrong. We'll then fix the module code, and ensure that our Pester unit tests are passing.
By: Trevor Sullivan submitted:Jun 16 2022
The PowerShell Scripting and Toolmaking Book
(leanpub.com)
Learn the patterns, practices, and details of PowerShell Scripting and Toolmaking from the
By: Don Jones and Jeff Hicks submitted:Jun 16 2022
Learn the patterns, practices, and details of PowerShell Scripting and Toolmaking from the
industry's two most recognized experts on the subject.
By: Don Jones and Jeff Hicks submitted:Jun 16 2022
Fun
How To Write Unmaintainable Code
(github.com)
Ensure a job for life 😉
By: tinkerttoy submitted:Jun 16 2022
Ensure a job for life 😉
By: tinkerttoy submitted:Jun 16 2022
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.