• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Clatent

Technology | Fitness | Food

  • About
  • Resources
  • Contact

PowerShell

Module Monday November 7, 2022

November 7, 2022 by ClaytonT Leave a Comment

It’s Monday…..

So here is a new module for today! This one is actually expanding on one liner Wednesday form last week.

This module is called “Password Solution” which allows you to easily search, review, and email users, managers, and IT about passwords expiring. You can even create specific  templates to send out to depending on who is receiving it. He make makes it so easy, it makes it tough for a reason not to have something like this in place!

Another great feature is the dashboard that he provides you, which saves you a lot of time trying to make your own from the one liner last week.

PowerShell Gallery:
PasswordSolution/0.0.29

Tagged With: AD, Module Monday, PowerShell

Read-Only Friday November 4, 2022

November 4, 2022 by ClaytonT Leave a Comment

It’s Friday, and today I have some great resources to keep you from doing any major unplanned changes to your network today.

Have you heard of Matthew Dowst? I hadn’t until I listened to the PowerShell Podcast on Monday. He is the man behind PS Weekly. If you haven’t heard of it, check it out in the links below. It’s a weekly recap of great PowerShell finds that he has put together.

And even better, he has a book out now(in MEAP form) that will be finished in 2023, called Practical Automation with PowerShell. I’ve already taken a quick look at it, and will be picking it up too.

Definitely check out both as well as the PowerShell Podcast if you haven’t already

PSWeekly:
PowerShell Weekly

Practical Automation with PowerShell:
Practical Automation with PowerShell

PowerShell Podcast:
PowerShell Podcast

Tagged With: Books, Podcast, PowerShell, Read-Only Friday

One-Liner Wednesday November 2, 2022

November 2, 2022 by admin Leave a Comment

Get-ADUser -filter {Enabled -eq $True -and PasswordNeverExpires -eq $False} –Properties "DisplayName", "msDS-UserPasswordExpiryTimeComputed" |
Select-Object -Property "Displayname",@{Name="ExpiryDate";Expression={[datetime]::FromFileTime($_."msDS-UserPasswordExpiryTimeComputed")}} | sort-object ExpiryDate

Here is a one liner that find very useful and hope you do to.

You can customize it even more, but for now this one grabs all the AD User accounts that are expiring and the ones expiring first at the top. I love using this to stay in front of users passwords expiring then they can’t connect or if they are off network and is a rush to get it done.

You could even sent this up as a scheduled task and have it pull the next 2 weeks of users. Then either you reach out to them, it emails them, or it notifies your help desk to reach out to them to help change their password.

Or you could have it in your dashboard so you’d always see the next 2 weeks of users passwords expiring.

Tagged With: AD, One Liner Wednesday, Passwords, PowerShell, Windows Server

Module Monday October 31, 2022

October 31, 2022 by ClaytonT Leave a Comment

Module Monday Halloween Edition!

Know how every year you use most of the same decorations, but forget certain ones or even forget where they go? This Module is to help prevent that when building Functions and/or modules. It’s called PSModuleDevelopment by Fred.

He gives you a few stock templates to start out with, but the real test to this module is you can create your templates so you won’t forget all the standard parts to a module for a certain task. You could create a function/module template for doing something in 365 and already have your connect and disconnect built in, and/or connecting to a certain tenant.

You can even version control your templates and call certain ones directly if needed, as well as delete versions.

I just started started use this module and already a fan of it, and if you like this one definitely check out his PSFramework!

GitHub:
PSModuleDevelopment

PowerShell Gallery:
PSModuleDevelopment/2.2.11.139

Tagged With: Automation, Module Development, Module Monday, PowerShell

Read-Only Friday October 28, 2022

October 28, 2022 by ClaytonT Leave a Comment

It’s Friday and the day for no major unplanned changes to your infrastructure.

How does your team share documentation between each other? Is it all in GitHub, Teams, Sharepoint, OneNote, Notion, ConnectWise, BookStack, etc? Or is it simple as word docs on a network share? Would you recommend the current way you are doing it?

If you use a combination, I’d love to hear the process of how you have it setup. If you prefer, you can message me, and I’ll do a summary of what everyone is using.

I know I have friends in all different size companies, curious to see how some of the solutions scale.

Tagged With: Documentation, PowerShell, Read-Only Friday

One-Liner Wednesday October 26, 2022

October 26, 2022 by ClaytonT Leave a Comment

One Liner Wednesday Cyber Security Edition

Want to see the top Malware that hits your 365 Exchange? Try this one liner out

Get-MailTrafficSummaryReport -Category TopMalware -StartDate 08-01-2022 -EndDate 10-25-2022 | Select-Object C1,C2 | out-gridview

This will give you the different types of malware Microsoft has found and how many times it found in since August 1. Then it will display it in a grid view that you can filter. I normally export to Excel/CSV to keep the data as it goes away after 90 days. Bigger organizations I’d recommend pushing it into a database for longer term analytics.

Check out Microsoft Docs and my 365 GitHub Repository for more ideas!

Microsoft Documentation:
Get-MailtrafficSummaryReport

365 Exchange Security Dasboard(Very early stages)
365 Exchange Security Dashboard

My Microsoft 365 GitHub Repository:
Powershell365

Tagged With: 365, Automation, One Liner Wednesday, PowerShell, Reporting

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 16
  • Page 17
  • Page 18
  • Page 19
  • Page 20
  • Go to Next Page »

Primary Sidebar

Clayton Tyger

Tech enthusiast dad who has lost 100lbs and now sometimes has crazy running/biking ideas. Read More…

Find Me On

  • Email
  • GitHub
  • Instagram
  • LinkedIn
  • Twitter

Recent Posts

  • Learning ValidateSet in PowerShell: Valid Values Only
  • Teams Chat and PowerShell – How to add value!
  • EntraFIDOFinder: New Web UI and Over 70 New Authenticators
  • January 19, 2026 Updates to EntraFIDOFinder
  • v0.0.20 EntraFIDOFinder is out

Categories

  • 365
  • Active Directory
  • AI
  • AzureAD
  • BlueSky
  • Cim
  • Dashboards
  • Documentation
  • Entra
  • Get-WMI
  • Learning
  • Module Monday
  • Nutanix
  • One Liner Wednesday
  • Passwords
  • PDF
  • Planner
  • PowerShell
  • Read-Only Friday
  • Reporting
  • Security
  • Uncategorized
  • Windows
  • WSUS

© 2026 Clatent