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

Clatent

Technology | Fitness | Food

  • About
  • Resources
  • Contact

PowerShell

Module Monday January 9, 2023

January 9, 2023 by ClaytonT Leave a Comment

It’s another Module Monday, but this time it isn’t really a module, but a script, that I think in the future could be turned into a module with even more functionality. I came across this script when I was looking for a quick way to download Window ISOs easily. I mean, who isn’t tired of going through all the clicks just to get a Window’s ISO from Microsoft?

This script finds Windows 11 ISOs and goes all the way back to Windows 7, but hoping you don’t need those for your own sanity. It does only cover home, business, and education, but that is becauase those are the most common.

It’s so nice just type in .\fido.ps1 win 11 -rel latest and this will download the latest version of Windows 11 for you? Why not put it in a scheduled task, so you don’t have to worry about downloading the latest version? Or if you or someone on your team needs a certain version you can just type in -win 10 -rel 21H1 and you know you have the right one? It also downloads very quickly as well.

Hope this saves you as much time as it has for me!

GitHub:
Fido

Tagged With: Automation, ISO, Module Monday, PowerShell, Windows

One-Liner Wednesday January 4, 2023

January 4, 2023 by ClaytonT Leave a Comment

Today’s One-Liner Wednesday is one that is overlooked by many, but is very useful. It’s one of the basics that everyone should know or use. I’ll show you a few different options of it as a reminder for some and new knowledge for others.

Get-Help ModuleName -Online

This will give you a fully searchable web browser window for the help documentation of that module. This has helped me many times instead of trying to use the console window then all of the code you were working on is up above.

Get-Help ModuleName -ShowWindow

Does the same but opens it up in a different window that is searchable as well except it doesn’t support provider help.

Get-Help ModuleName -Examples

You would run this if you just wanted to see the examples for this module, and didn’t want to see anything else. You can do this for each of the help parameters as well if you just want one section of the help.

Get-Help -Name sql

This will search all the help articles and return any with the word SQL in it. You can use wildcards in this as well.

Get-Help about_*

This is another great one, this allows you to see all available conceptual articles, then you can pick which one you want. You can use wild cards on this as well to filter the results to more targeted information. Did you know there is an article for automatedlab_office ? Check it out and see!

Hope you found this helpful and be sure to check more out on get-help below as there is so much more it can do.

Microsoft Learn:
Get-Help

Tagged With: Help, One Liner Wednesday, PowerShell

Module Monday January 2, 2023

January 2, 2023 by ClaytonT Leave a Comment

Happy New Year! Welcome to the first Module Monday of 2023. This is also the first official Module Monday posted on here. I’ve put most of last years posts on there for easier searching. I’ll be adding other content and longer content on here, so be sure to keep checking back. I’m still updating the site, but wanted to get the blog up so I can help more people sooner. It’s not that helpful if I just store it for myself, right?

With that said, our first module for Monday Monday is ImagePlayground by Przemyslaw Klys who I have featured here before. This is a cool module where it can help you can create and read QR Codes, read/remove EXIF data, add watermarks, create/read barcodes, and so much more.

I’m so glad I found this module so soon, and can’t wait to play with it more. I see many cases that this module will be useful. A few ideas are for formatting images for documentation and/or blog posts so they are all the same, adding watermarks to each, and converting a bunch of images files to fit certain criteria depending on the site I need to upload to.

How do you see using it?

PowerShell Gallery:
ImagePlayground/0.0.4

GitHub:
ImagePlayground

Tagged With: Module Monday, PowerShell

Read-Only Friday December 30, 2022

December 30, 2022 by ClaytonT Leave a Comment

Last Read-Only Friday of the year! I’m hoping you have enjoyed these, One Liner Wednesday, and Module Monday this year. I’ve enjoyed creating them and hearing how helpful they have been for you this year. Don’t worry they will be coming back for 2023. I may be making some changes a bit, but only for the better. Are there any topics, concepts, and/or modules you’d like me to cover in 2023? I’ve already started a list, but would love your input on things you’d like to see, as I know it would help others as well.

And for today’s Read-Only Friday?? If you don’t have any deadlines you need to get done by today… just relax. Look over some documentation, check on all your systems, ensure everything is working. If everything is… take screen shots and take photos where necessary so you have a last known working configuration of each. These can save you hours of time if someone bumps a wire by accident or if a vendor moves something they shouldn’t have, you can match up to these photos/screenshots/configs and see what has changed. Other than that, enjoy your day and have a great and safe weekend!

Tagged With: Automation, PowerShell, Reporting

One-Liner Wednesday December 28, 2022

December 28, 2022 by ClaytonT Leave a Comment

Today’s one-liner Wednesday will be great for system admins that need to see when and which updates were installed on a single server or multiple servers. It’s a quick and dirty way to do it, and I’m going to look around and see if there is a one with better formatting, but this gets the job done for now.

If you only need updates on one computer for the month of September 2022, this is all you need to do.

Export-InstalledPatchTOPDF -ComputerName localhost -month 9 -Year 2022

If you need multiple computers and want for a whole year, you would write this.

Export-InstalledPatchTOPDF -ComputerName localhost, server01, server02, server03 -Year 2022

And that’s it. As mentioned the output formatting could be a little better, but the functionality is great, and will reach out to him to see if he will be fixing it. If not, I’ll definitely be looking for another option.

PowerShell Gallery:
ExportInstalledPatchToPDFUpdated

Blog:
Prakash78

Tagged With: Automation, One Liner Wednesday, PowerShell, Reporting, Windows Server

One-Liner Wednesday December 21, 2022

December 21, 2022 by ClaytonT Leave a Comment

It’s Wednesday, so you know what that means? A new one liner that I’m hoping is useful for you as it has been useful for me. I’ve talked about date and time before, but that was for selecting dates. What about if you wanted to figure out how many days till the end of the year, or how many seconds from current time to 3 months and 5 days from now is? Or when the last time a file was modified?

New-TimeSpan is your answer. Want to know how many days and seconds it is till the end of the year?

New-Timespan -end 12/31/2022

You can use the -Start parameter but isn’t needed unless you want to use a different start date.

What about if you only need the days because you will be putting it into a variable to use later on?

New-TimeSpan -end 12/31/2022 | select days

The final one I’ll leave you with is:

Get-ChildItem $PSHOME\onelinerwednesday.ps1 | New-TimeSpan

This will tell you the last time the file was updated. This can be great if you have scheduled tasks that run or if you need to find files that were edited in the last 3 hours or 3 years. This can also be used on any command that uses the -LastWriteTime property.

Let me know if you have used this before or what you intend to try it out on.

Tagged With: One Liner Wednesday, PowerShell

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 12
  • Page 13
  • Page 14
  • Page 15
  • Page 16
  • Interim pages omitted …
  • 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