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

Clatent

Technology | Fitness | Food

  • About
  • Resources
  • Contact

PowerShell

One-Liner Wednesday October 19, 2022

October 19, 2022 by ClaytonT Leave a Comment

New-TenantAllowBlockListItems -ListType Sender -Block -Entries emailaddress

Here is a super useful one liner that has come in handy more recently.

What this does is adds a user or domain to the tenant block list as it’s written below. If you need to add someone to the allow list, you can change -Block to -Allow. You can even change set a duration for both Blocking and Allowing.

Command:
New-TenantAllowBlockListItems

Example with Parameters:

Add-365Blocklist

Tagged With: One Liner Wednesday, PowerShell, Security

Module Monday October 17, 2022

October 17, 2022 by ClaytonT Leave a Comment

It’s Module Monday!

I’ve recently found this module, and so glad I did as it’s a great module to add to the collection. Evergreen, helps you download installer packages for your apps, directly from the supported apps official site, all at once or one by one if you need to. How nice would it be if you knew the app you were deploying was the newest version every time you went to deploy it? Another great feature of it is you can download the exact version you need as well, so you don’t have the delete unwanted versions or having to make sure coworkers don’t deploy the wrong version.

Definitely check out this module and if you can add more applications the whole community would be grateful… it does already have a lot of apps!

Website:
Evergreen

PowerShell Gallery:
Evergreen

Tagged With: App Deployment, Module Monday, PowerShell

Read-Only Friday October 14, 2022

October 14, 2022 by ClaytonT Leave a Comment

Todays selection is tough only because it’s so easy but we never do it…

Organize those repositories. Go through your GitHub, local drive, azure, or wherever else you keep your scripts and give them the once over to see what you still need to keep. Your future self will thank you. For one, it will be easier to find scripts and two, you may find a script you forgot you had that you needed for a recent project. Furthermore, you may review some of the code and see some quick updates that you can do or make the script more flexible or powerful( if it’s affects more than your computer or can’t be done in a test environment, I’d wait till Monday).

Schedule the time in now to make sure you do it, so the next time you or your coworkers take a look at the repositories, it a joy and not a game of Guess Who.

Tagged With: Documentation, Organization, PowerShell, Read-Only Friday

Module Monday October 10, 2022

October 10, 2022 by ClaytonT Leave a Comment

It’s time for Module Monday….

Share Code not Secrets, I think says it best.  I guess you probably want the name of the module now…It’s called PSSecretScanner which will search files/folders that you point it too and check if there are any passwords visible! Maybe you have some old code that you haven’t used in awhile, you might want to run this on it just to make sure younger you who may have been more naïve didn’t leave any plain text passwords! We’ve all been there!

PowerShell Gallery:
PSSecretScanner/1.0.9

Tagged With: Module Monday, Passwords, PowerShell, Reporting

Read-Only Friday October 7, 2022

October 7, 2022 by ClaytonT Leave a Comment

For todays ROF, what about working with a coworker and  help them with learning something new. If your are more junior, ask a coworker if they can help you out with on something that either you’ve been struggling with or just want to know more about it and they have experience with it.

If you’re a one person shop, go on to YouTube, pluralsight, cbtnuggets, or even linkedin learning and see if there are courses that interest you. If you don’t have a subscription to that site, see what other courses are on there and make a case to your manager for it. Most of the time if they don’t already have a learning program, they will pay the subscription cost for you. But you won’t know until you ask. Don’t make the decision for them.

Never stop learning and improving.

Tagged With: Development, Learning, PowerShell, Read-Only Friday

Module Monday October 3, 2022

October 3, 2022 by ClaytonT Leave a Comment

Here is a super handy module that is a bit old, but does the trick and has saved me a bunch of time. It’s called Merge-PDF. It does exactly what is says, and I know your thinking Adobe and other pdf writers can already do this…. How about needing to do it on a computer that doesn’t even have a pdf reader on it and you can merge based on variables? That’s how powerful this module is.

An example I use this for is when I have to prep a Purchase Order to be signed. I have to merge the quote and purchase order together. Now I just use a specific name for the quote and purchase order, then run my PowerShell, and it grabs the 2 files, merges them, names the file to the final document name per my template, then puts it in folder I need to from the parameters built into my script. If I wanted to I could even email them off to someone or import them into DocuSign.

PowerShell Gallery:
MergePdf/1.1

Tagged With: Module Monday, PDF, PowerShell

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • 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

  • New EntraFIDOFinder Module Version Release!
  • Did you know there is a Giphy rating in Teams? Custom Maester Tests save the day
  • Learning ValidateSet in PowerShell: Valid Values Only
  • Teams Chat and PowerShell – How to add value!
  • EntraFIDOFinder: New Web UI and Over 70 New Authenticators

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