Monitoring Logon Attempts in Active Directory with PowerShell
By: Patrick Gruenauer
Domain-Controllers monitor successful logon attempts by default. All events of all login attempts are logged in the Event Viewer. In this article I will cover how to monitor all logon events with PowerShell. Let’s dive in.
Link
By: Patrick Gruenauer
Domain-Controllers monitor successful logon attempts by default. All events of all login attempts are logged in the Event Viewer. In this article I will cover how to monitor all logon events with PowerShell. Let’s dive in.
Link
SID-500.COM
Monitoring Logon Attempts in Active Directory with PowerShell
Domain-Controllers monitor successful logon attempts by default. All events of all login attempts are logged in the Event Viewer. In this article I will cover how to monitor all logon events with P…
👍3
Update: PowerShell Community Textbook
By: PowerShellMichael
Update time for the PowerShell Community Textbook!
Link
By: PowerShellMichael
Update time for the PowerShell Community Textbook!
Link
reddit
Update: PowerShell Community Textbook
Update time for the PowerShell Community Textbook! We've been really busy writing and merging chapters, so we are starting to round the bend for...
Tiny PowerShell Projects (MEAP)
By: Bill Burns
PowerShell can automate almost any IT task. This book guides you through 17 practical PowerShell projects that will build your skills and save you hours—or even days—of work.
Link
By: Bill Burns
PowerShell can automate almost any IT task. This book guides you through 17 practical PowerShell projects that will build your skills and save you hours—or even days—of work.
Link
Manning Publications
Tiny PowerShell Projects
PowerShell can automate almost any IT task. This book guides you through 17 practical PowerShell projects that will build your skills and save you hours—or even days—of work. </b>
In Tiny PowerShell Projects</i> you will learn how to:
Automate and…
In Tiny PowerShell Projects</i> you will learn how to:
Automate and…
Literally a decade later I discover a better way with enum…
By: u/Jacmac_
Yes, enums can be very useful
Link
By: u/Jacmac_
Yes, enums can be very useful
Link
reddit
Literally a decade later I discover a better way with enum...
[Flags()] enum AccountStatus { SCRIPT = 1 ACCOUNTDISABLE = 2 HOMEDIR_REQUIRED = 8 LOCKOUT = 16 ...
An Iron Scripter Warm-Up Solution
By: Jeff Hicks
We just wrapped up the 2022 edition of the PowerShell+DevOps Global Summit. It was terrific to be with passionate PowerShell professionals again. The culmination of the event is the Iron Scripter Challenge.
Link
By: Jeff Hicks
We just wrapped up the 2022 edition of the PowerShell+DevOps Global Summit. It was terrific to be with passionate PowerShell professionals again. The culmination of the event is the Iron Scripter Challenge.
Link
The Lonely Administrator
An Iron Scripter Warm-Up Solution • The Lonely Administrator
Here are my PowerShell solutions for a recent Iron Scripter warm-up noscripting challenge. Problem solving is a great way to improve coding skills.
3 different options to Sort
By: Panos Grigoriadis
I ended up writing some notes on a few different ways to sort. I'm pretty sure others might find this useful, so I created a gist. I have an example for sorting a) with an IComparer, b) with LINQ and c) with [array]
Link
By: Panos Grigoriadis
I ended up writing some notes on a few different ways to sort. I'm pretty sure others might find this useful, so I created a gist. I have an example for sorting a) with an IComparer, b) with LINQ and c) with [array]
Link
Gist
3 different options to Sort
3 different options to Sort. GitHub Gist: instantly share code, notes, and snippets.
Star Wars Main Theme in PowerShell – YouTube
By: PDQ.com
IMO, the greatest thing ever made with PowerShell
Link
By: PDQ.com
IMO, the greatest thing ever made with PowerShell
Link
YouTube
Star Wars Main Theme in PowerShell
Starts at 0:14 for console syncing reasons
An 8 part command line orchestra built in PowerShell using PDQ Deploy.
For best viewing experience, change quality to 1080p and play Full screen.
May the fourth be with you!
A small behind the scenes here:
…
An 8 part command line orchestra built in PowerShell using PDQ Deploy.
For best viewing experience, change quality to 1080p and play Full screen.
May the fourth be with you!
A small behind the scenes here:
…
PowerShell 7.3 Experimental Features
By: PowerShell Team
Use Get-ExperimentalFeature to get a list of the currently enabled features. You might need to explicitly enable them to use them:
Link
By: PowerShell Team
Use Get-ExperimentalFeature to get a list of the currently enabled features. You might need to explicitly enable them to use them:
Link
GitHub
PowerShell 7.3 Experimental Features · Discussion #321 · PowerShell/PowerShell-RFC
Use Get-ExperimentalFeature to get a list of the currently enabled features. You might need to explicitly enable them to use them: get-experimentalfeature | enable-experimentalfeature We really app...
👍2
Find Who Sent Email from Shared Mailbox in Office 365 using PowerShell
By: O365Reports.com
Shared mailbox delegates can send emails from the shared mailbox based on permissions like ‘Send As’ and ‘Send On Behalf.’
Link
By: O365Reports.com
Shared mailbox delegates can send emails from the shared mailbox based on permissions like ‘Send As’ and ‘Send On Behalf.’
Link
Office 365 Reports
Find Who Sent Email From Shared Mailbox using PowerShell
This PowerShell noscript helps admins to find out who sent what email from the shared mailbox in your Office 365 environment.
How to create a command-line predictor
By: PowerShell Team
PSReadLine 2.1.0 introduced the concept of a smart command-line predictor by implementing the Predictive IntelliSense feature. PSReadLine 2.2.2 expanded on that feature by adding a plugin model that allows you create your own command-line predictors.
Link
By: PowerShell Team
PSReadLine 2.1.0 introduced the concept of a smart command-line predictor by implementing the Predictive IntelliSense feature. PSReadLine 2.2.2 expanded on that feature by adding a plugin model that allows you create your own command-line predictors.
Link
Docs
How to create a command-line predictor - PowerShell
This article describes how to create a command-line predictor to help with command completion in PowerShell.
How to use Managed Identity to connect to Azure, Exchange, Graph, Intune,… in Azure Automation Runbook
By: Ondrej Sebela
Managed Identity is definitely a better option for authentication in Azure Automation Runbooks than RunAs account because it doesn't require certificate/secret renewal. Therefore it is maintenance-free.
Link
By: Ondrej Sebela
Managed Identity is definitely a better option for authentication in Azure Automation Runbooks than RunAs account because it doesn't require certificate/secret renewal. Therefore it is maintenance-free.
Link
Do it PowerShell way :)
How to use Managed Identity to connect to Azure, Exchange, Graph, Intune,... in Azure Automation Runbook
Updated 6.6.2024
Managed Identity is definitely a better option for authentication in Azure Automation Runbooks than the RunAs account because it doesn't require certificate/secret renewal. Therefore it is maintenance-free. However, it took me a whi...
Managed Identity is definitely a better option for authentication in Azure Automation Runbooks than the RunAs account because it doesn't require certificate/secret renewal. Therefore it is maintenance-free. However, it took me a whi...
I, uh, may have gotten a little carried away with my
By: Justin Grote
#Powershell #Azure #PIM role activation status monitor...
Link
By: Justin Grote
#Powershell #Azure #PIM role activation status monitor...
Link
Twitter
Justin Grote
I, uh, may have gotten a little carried away with my #Powershell #Azure #PIM role activation status monitor...
How to pipe binary stream in Powershell?
By: u/Moises-Tohias
I did some research and found that Powershell doesn't have the ability to pipe binary stream, (you can pipe just string AFAIK)
Link
By: u/Moises-Tohias
I did some research and found that Powershell doesn't have the ability to pipe binary stream, (you can pipe just string AFAIK)
Link
reddit
How to pipe binary stream in Powershell?
I did some research and found that Powershell doesn't have the ability to pipe binary stream, (you can pipe just string AFAIK) I come from linux...
👍2
Talking Crescendo and Documentation with Stevie Coaster
By: The PowerShell Podcast
In this episode, we talk about Crescendo, a development accelerator that can help rapidly build PowerShell cmdlets around existing command-line tools. We also discuss coding on twitch, writing with the customer in mind, and proper documentation practices.
Link
By: The PowerShell Podcast
In this episode, we talk about Crescendo, a development accelerator that can help rapidly build PowerShell cmdlets around existing command-line tools. We also discuss coding on twitch, writing with the customer in mind, and proper documentation practices.
Link
Podbean
Talking Crescendo and Documentation with Stevie Coaster | The PowerShell Podcast
Episode Summary:
In this episode, we talk about Crescendo, a development accelerator that can help rapidly build PowerShell cmdlets around existing command-line tools. We also discuss coding on twitch, writing with the customer in mind, and proper documentation…
In this episode, we talk about Crescendo, a development accelerator that can help rapidly build PowerShell cmdlets around existing command-line tools. We also discuss coding on twitch, writing with the customer in mind, and proper documentation…
👍3
Contributing to PowerShell Made Easy with Sean Wheeler
By: The PowerShell Podcast
We caught up with Sean Wheeler at the PowerShell + DevOps Global Summit to discuss all things documentation. We discuss why open source is an open discussion and how documentation moving to open source makes for a lot of opportunities to help contribute to the PowerShell community. We discuss the value of the PowerShell blog, and how contributing to the blog can help you practice and improve your writing skills, get your blogs published, and provides an opportunity to plug your own site at the same time.
Link
By: The PowerShell Podcast
We caught up with Sean Wheeler at the PowerShell + DevOps Global Summit to discuss all things documentation. We discuss why open source is an open discussion and how documentation moving to open source makes for a lot of opportunities to help contribute to the PowerShell community. We discuss the value of the PowerShell blog, and how contributing to the blog can help you practice and improve your writing skills, get your blogs published, and provides an opportunity to plug your own site at the same time.
Link
Podbean
Contributing to PowerShell Made Easy with Sean Wheeler | The PowerShell Podcast
We caught up with Sean Wheeler at the PowerShell + DevOps Global Summit to discuss all things documentation. We discuss why open source is an open discussion and how documentation moving to open source makes for a lot of opportunities to help contribute to…
👍1
Powershell Application Insights Telemetry
By: Justin Grote
Report the results and performance of any noscriptblock to Azure Application Insights
Link
By: Justin Grote
Report the results and performance of any noscriptblock to Azure Application Insights
Link
Gist
Trace-AICommand: Report the results and performance of any noscriptblock to Azure Application Insights
Trace-AICommand: Report the results and performance of any noscriptblock to Azure Application Insights - Trace-AICommand.ps1
Use the Abstract Syntax Tree (AST) to list parameters and variables in PowerShell functions
By: Mike F. Robbins
One thing I’ve missed during the past couple of years with virtual-only conferences is the hallway track. While at the PowerShell + DevOps Global Summit 2022, there was a discussion about using PascalCase for parameter names and camelCase for user-defined variables in your PowerShell functions.
Link
By: Mike F. Robbins
One thing I’ve missed during the past couple of years with virtual-only conferences is the hallway track. While at the PowerShell + DevOps Global Summit 2022, there was a discussion about using PascalCase for parameter names and camelCase for user-defined variables in your PowerShell functions.
Link
👍1
Why is “$($i )” different from “$(($i ))”
By: u/alphanimal
For those who like to know how things work.
Link
By: u/alphanimal
For those who like to know how things work.
Link
reddit
Why is "$($i++)" different from "$(($i++))"
$i = 0 "$($i++)" #will output nothing "$(($i++))" #will output the old value of $i similarly, typing `$i++` and `($i++)` directly on the...
Azure Service Bus PowerShell Module
By: David O'Brien
Unfortunately, the Az.ServiceBus PowerShell module does not contain any cmdlets to send a message to a topic, and also none to “delete” them. So I got to work and developed my own module.
Link
By: David O'Brien
Unfortunately, the Az.ServiceBus PowerShell module does not contain any cmdlets to send a message to a topic, and also none to “delete” them. So I got to work and developed my own module.
Link
Cloud for the win!
Azure Service Bus PowerShell Module
I recently worked with Azure Service Bus again. Service Bus was the messaging system of the microservice we were building for a customer. As part of that design we needed to test the performance of our application and we needed to make this simple, and flexible.Azure…