Mike Kanakos
Announcements!
Update: 2021 PowerShell DevOps Global Summit
(powershell.org)
It's time to get excited for the PowerShell + DevOps Global Summit, which is returning April 27-29,
By: Mike Kanakos submitted:Jun 16 2022
It's time to get excited for the PowerShell + DevOps Global Summit, which is returning April 27-29,
2021 as a virtual event. I'm here to share with you some details we have planned for this year's event. The upcoming summit will differ from years past, since this event will be 100% virtual. You may wonder what a virtual event would be like, and is it worth it to attend?
By: Mike Kanakos submitted:Jun 16 2022
Blogs, Articles, and Posts
Building a better Group Policy backup with Powershell
(networkadm.in)
The PowerShell script I discuss in this post creates a Group Policy backup in a different way than
By: Mike Kanakos submitted:Jun 15 2022
The PowerShell script I discuss in this post creates a Group Policy backup in a different way than
with the Backup-GPO cmdlet of the Group Policy module. With my function, it will be much easier to identify the correct Group Policy Object (GPO) in case you have to restore Group Policy settings.
By: Mike Kanakos submitted:Jun 15 2022
Finding nested Active Directory groups faster with PowerShell
(4sysops.com)
Finding nested groups in large Active Directory groups can be a challenging task. Active Directory
By: Mike Kanakos submitted:Jun 16 2022
Finding nested groups in large Active Directory groups can be a challenging task. Active Directory
includes the cmdlet Get-ADGroupMember for finding group members, but it cannot be used to query groups with over 5000 members. The cmdlet also suffers from performance bottlenecks. I'd like to share with you a tool I built that solves both those problems.
By: Mike Kanakos submitted:Jun 16 2022
Get-CIMInstance Vs Get-WMIObject: What’s The Difference?
(networkadm.in)
Sysadmins have been using WMI for years, and then Microsoft gave us data access via CIM with the
By: Mike Kanakos submitted:Jun 16 2022
Sysadmins have been using WMI for years, and then Microsoft gave us data access via CIM with the
rollout of PowerShell v3.0. What's the difference between these management interfaces? Which one should you use, and why?
By: Mike Kanakos submitted:Jun 16 2022
Getting familiar with Invoke-Item in PowerShell
(networkadm.in)
A few weeks ago I was browsing the tips and tricks page on my good friend, Jeff Hicks' website and
By: Mike Kanakos submitted:Jun 16 2022
A few weeks ago I was browsing the tips and tricks page on my good friend, Jeff Hicks' website and
stumbled across a cmdlet I was not familiar with: Invoke-Item. His tips page included a one liner that stated:
By: Mike Kanakos submitted:Jun 16 2022
Getting Started with PowerShell: The First Five Commands You Need to Master
(networkadm.in)
Getting started with PowerShell is easy. In fact, it's easy enough for some people that they just
By: Mike Kanakos submitted:Jun 15 2022
Getting started with PowerShell is easy. In fact, it's easy enough for some people that they just
dive in and start using it every day with little formal knowledge. At some point though, everyone needs a little help. The PowerShell console has a rich set of cmdlets and built-in help that can be useful for learning how to use the PowerShell language correctly.
By: Mike Kanakos submitted:Jun 15 2022
Getting started with the PSReadLine module for PowerShell
(4sysops.com)
PSReadLine is a module created by Microsoft to customize the command line editing environment in
By: Mike Kanakos submitted:Jun 16 2022
PSReadLine is a module created by Microsoft to customize the command line editing environment in
PowerShell. It offers numerous customizations that can change how your command line editor presents data in many ways.
By: Mike Kanakos submitted:Jun 16 2022
How to perform Azure AD bulk operations with PowerShell
(networkadm.in)
While the Azure portal is fine for simple user and group management in Azure Active Directory,
By: Mike Kanakos submitted:Jun 16 2022
While the Azure portal is fine for simple user and group management in Azure Active Directory,
PowerShell is the optimal choice when you need to make large-scale changes. But there are caveats to consider before you can reap the automation benefits.
By: Mike Kanakos submitted:Jun 16 2022
Improve IT efficiency with a PowerShell self-service portal
(techtarget.com)
Implementing a PowerShell self-service portal can help the IT department give users a safe way to
By: Mike Kanakos submitted:Mar 24 2023
Implementing a PowerShell self-service portal can help the IT department give users a safe way to
run scripts for various jobs.
By: Mike Kanakos submitted:Mar 24 2023
Invoke-Command: Compensating for slow responding computers
(4sysops.com)
Sometimes, running remote code with the PowerShell cmdlet Invoke-Command can take a long time to
By: Mike Kanakos submitted:Jun 16 2022
Sometimes, running remote code with the PowerShell cmdlet Invoke-Command can take a long time to
run-and not for any reason having to do with your code itself. Connecting to older computers means that long bits of code take longer to run. Computers on the other side of slow WAN links will always be slower in responding than something close and well connected.
By: Mike Kanakos submitted:Jun 16 2022
Invoke-Command: Connecting to computers requiring different credentials
(4sysops.com)
Connecting to computers that require different credentials via the PowerShell cmdlet Invoke-Command
By: Mike Kanakos submitted:Jun 16 2022
Connecting to computers that require different credentials via the PowerShell cmdlet Invoke-Command
is a common occurrence. This post explains how you manage these situations.
By: Mike Kanakos submitted:Jun 16 2022
Jump Start: PowerShell Remoting
(networkadm.in)
PowerShell remoting is a method you can use to connect securely to many machines with very little
By: Mike Kanakos submitted:Jun 15 2022
PowerShell remoting is a method you can use to connect securely to many machines with very little
effort. Using remoting, a user can quickly query information or deploy a change to multiple computers without ever having to login via a GUI or RDP. Here's a collection of content I have created on PowerShell remoting that you can use to learn how to configure and use PowerShell remoting:
By: Mike Kanakos submitted:Jun 15 2022
Learn to adjust the AdminCount attribute in protected accounts
(techtarget.com)
It's critical to know how to change the settings for protected accounts and groups in Active
By: Mike Kanakos submitted:Jun 16 2022
It's critical to know how to change the settings for protected accounts and groups in Active
Directory to avoid serious problems. PowerShell can make quick edits to keep order.
By: Mike Kanakos submitted:Jun 16 2022
Power Up your PowerShell experience with these four add-ons
(commandline.ninja)
The developers behind PowerShell released a handful of tools and new functionality to improve how
By: Mike Kanakos submitted:Jun 16 2022
The developers behind PowerShell released a handful of tools and new functionality to improve how
you work with PowerShell. I write about four additions you should consider for your everyday PowerShell usage over at the TechTarget website.
By: Mike Kanakos submitted:Jun 16 2022
PowerShell 7.5 new features
(4sysops.com)
Microsoft has unveiled the first release candidate of PowerShell 7.5, with the General Availability
By: Mike Kanakos submitted:Jan 3 2025
Microsoft has unveiled the first release candidate of PowerShell 7.5, with the General Availability
(GA) launch expected in January or February 2025. This release candidate provides the most accurate preview of the upcoming final production version of PowerShell 7.5. This new version includes hundreds of changes, ranging from minor adjustments to major new features. In the following sections, we will discuss the key changes in this major PowerShell update.
By: Mike Kanakos submitted:Jan 3 2025
Use PowerShell to find Windows services configured to run as another user
(networkadm.in)
One day at work my manager asked me to find all services running under different credentials on a
By: Mike Kanakos submitted:Jun 16 2022
One day at work my manager asked me to find all services running under different credentials on a
handful of a specific servers. The ask went something like this: "Hey Mike, can you find all the services configured to run as another user on a specific group of servers?"
By: Mike Kanakos submitted:Jun 16 2022
What’s New with Select-String in PowerShell7?
(commandline.ninja)
Select-String is one of those commands that either you use it often or not much at all. There
By: Mike Kanakos submitted:Jul 1 2022
Select-String is one of those commands that either you use it often or not much at all. There
doesn't seem to be a middle of the road for Select-String. I don't get called upon to use it that often, but when I do, it usually saves my bacon at work. The most typical use case for me is for searching flat log files for patterns of text or for all entries of a particular phrase across a bunch of files.
By: Mike Kanakos submitted:Jul 1 2022
What’s new with Select-String in PowerShell7?
(networkadm.in)
Select-String is one of those commands that either you use it often or not much at all. There
By: Mike Kanakos submitted:Jun 15 2022
Select-String is one of those commands that either you use it often or not much at all. There
doesn't seem to be a middle of the road for Select-String. I don't get called upon to use it that often, but when I do, it usually saves my bacon at work. The most typical use case for me is for searching flat log files for patterns of text or for all entries of a particular phrase across a bunch of files.
By: Mike Kanakos submitted:Jun 15 2022
Projects, Scripts, and Modules
Get-PCUptime
(networkadm.in)
Find out how long computers have been running via PowerShell
By: Mike Kanakos submitted:Jun 16 2022
Find out how long computers have been running via PowerShell
By: Mike Kanakos submitted:Jun 16 2022
Monitoring Active Directory with the PowerShell module PSADHealth
(4sysops.com)
The toolkit is a collection of scripts and tools that check the internal pieces of Active Directory
By: Mike Kanakos submitted:Jun 15 2022
The toolkit is a collection of scripts and tools that check the internal pieces of Active Directory
so you don't have to. It is not a replacement for tools already in place such as DCDiag. Instead, this toolkit comprises tools that my co-writers and I have found nowhere else. The goal of this module is to enable you to know when the core pieces of Active Directory aren't working as expected so you can take action.
By: Mike Kanakos submitted:Jun 15 2022
Books, Media, and Learning Resources
Configuring PowerShell Remoting Security & Logging
(networkadm.in)
Last week I gave a presentation on configuring PowerShell remoting security and logging for my user
By: Mike Kanakos submitted:Jun 16 2022
Last week I gave a presentation on configuring PowerShell remoting security and logging for my user
group. This talk focused on how to properly setup remoting security and logging options. I talk briefly about how remoting works with some simple examples of what a real-world remoting connection looks like.
By: Mike Kanakos submitted:Jun 16 2022
Deploy WebJEA to empower your users with PowerShell
(techtarget.com)
Learn to set up WebJEA and use this web-based self-service portal to let users run PowerShell
By: Mike Kanakos submitted:Apr 14 2023
Learn to set up WebJEA and use this web-based self-service portal to let users run PowerShell
without having to climb a learning curve.
By: Mike Kanakos submitted:Apr 14 2023
Jumpstart: PowerShell Learning Resources
(networkadm.in)
Some people prefer books, others prefer blogs, some prefer videos and some prefer interactive tools.
By: Mike Kanakos submitted:Jun 16 2022
Some people prefer books, others prefer blogs, some prefer videos and some prefer interactive tools.
I have put together a list of resources you can use a reference for places to learn and practice PowerShell.
By: Mike Kanakos submitted:Jun 16 2022
Learning Powershell: Weaning Yourself Away From the GUI for Active Directory
(networkadm.in)
I recently was a guest on the Hybrid Identity Podcast to discuss getting started with automation and
By: Mike Kanakos submitted:Jun 16 2022
I recently was a guest on the Hybrid Identity Podcast to discuss getting started with automation and
how it fits in with Identity Management. This is a new podcast presented by Semperis and hosted by 15 time MVP Sean Deuby. The podcast is off to a fantastic start with wide range of experts in the field of Identity Management. It's a great listen because of the topics but also because the episodes are only 15-20 minutes in length.
By: Mike Kanakos submitted:Jun 16 2022
Making Your First Module
(youtube.com)
Mike Kanakos walks the SoCal PowerShell User Group through the PowerShell module authoring process
By: Mike Kanakos submitted:Jun 16 2022
Mike Kanakos walks the SoCal PowerShell User Group through the PowerShell module authoring process
step by step to get you started on writing your own modules.
By: Mike Kanakos submitted:Jun 16 2022
Video: Configuring PowerShell Remoting security
(networkadm.in)
I believe that remoting in PowerShell unfairly gets a bad rap in the security world and the truth is
By: Mike Kanakos submitted:Jun 15 2022
I believe that remoting in PowerShell unfairly gets a bad rap in the security world and the truth is
that when done right; PowerShell remoting is equal to SSH. The problem is that Microsoft and Windows get a bad rap because most people assume Windows is not secure. I invite you to watch the video and take notes. If you have questions, please reach out to me via the comments here or via the contact information posted int he video. Also, you can more links on this website that discuss remoting in detail.
By: Mike Kanakos submitted:Jun 15 2022
Community
Summit 2024 Speaker Spotlight: Steven Judd
(powershell.org)
Hey there, PowerShell enthusiasts! Today marks the start of a series of interviews featuring select
By: Mike Kanakos submitted:Mar 22 2024
Hey there, PowerShell enthusiasts! Today marks the start of a series of interviews featuring select
Summit 2024 presenters. I plan to sit and chat briefly with a mix of familiar ...
By: Mike Kanakos submitted:Mar 22 2024