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

Clatent

Technology | Fitness | Food

  • About
  • Resources
  • Contact

Learning

Module Monday February 20, 2023

February 20, 2023 by ClaytonT 2 Comments

Hope you had a great weekend! And since the weekend is over, it’s now time for Module Monday. We have a great one today that I feel you will see immediate ROI from using it.

uGit by James Brundage is a PowerShell module that provides users with a simplified interface to interact with Git repositories. It includes a set of functions that can be used to perform various Git-related tasks, such as cloning repositories, committing changes, pushing and pulling changes, and creating branches, among others. Here are some of the key features of uGit:

Simple and Easy to Use

uGit provides users with a simplified interface to interact with Git repositories. The module’s functions are easy to use and don’t require users to have extensive knowledge of Git commands. With uGit, users can automate their Git workflows with just a few lines of PowerShell code.

Git Repository Management

uGit includes functions for managing Git repositories, such as cloning, creating, and deleting repositories. The module also provides users with the ability to switch between repositories and set a default repository for their Git workflow.

Committing and Pushing Changes

With uGit, users can easily commit and push changes to their Git repositories. The module includes functions for adding and removing files from the staging area, committing changes, and pushing changes to the remote repository.

Branch Management

uGit includes functions for creating and deleting Git branches, as well as switching between branches. The module also provides users with the ability to merge branches and resolve merge conflicts.

Git Configurations

uGit provides users with the ability to set and manage their Git configurations, such as user name and email, Git editor, and Git credentials.

In conclusion, uGit users can automate their Git workflows and perform complex Git-related tasks with ease. If you’re a PowerShell user looking to integrate Git functionalities into your workflows, uGit is definitely worth checking out.

Github:
uGit

PowerShell Gallery:
uGit 0.3.6

Tagged With: Module Monday, PowerShell

One-Liner Wednesday February 15, 2023

February 15, 2023 by ClaytonT Leave a Comment

I’m just going to cut to the chase on this one..

 copilot "How to filter ID column not being empty and if it isn't empty it starts with a number and the other column named sideindicator having a r in it using powershell and importexcel and both criteria must be true?"
╔═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║Q: How to filter ID column not being empty and if it isn't empty it starts with a number and the other column named sideindicator having a r in it using powershell and importexcel and both criteria must be true?  ║
║═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════║
║1: $data = Import-Excel -Path "C:\Path\To\File.xlsx"                                                                                                                                                                 ║
║2: $data | Where-Object {$_.ID -and $_.ID -match '^\d' -and $_.SideIndicator -eq 'r'}                                                                                                                                ║
╚═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝

How about that? Nice little RegEx in there too! Yes this does work, as I used it this morning for a real life solution.

Download Doug Finke’s PowerShellAI module, get your OpenAI API key, and start having some fun! And if for some reason you still haven’t downloaded his ImportExcel module get that too! And want to hear a little more about Doug, check him out on the PowerShell Podcast and find out how ImportExcel is created.

That’s enough for today, I don’t want to take away your time from playing with this!

PowerShell Gallery:
PowerShellAI

GitHub:
PowerShellAI

Tagged With: AI, One Liner Wednesday, PowerShell

One-Liner Wednesday January 11, 2023

January 11, 2023 by ClaytonT 2 Comments

It’s Wednesday already, is that good or bad for you? Hoping it’s a good thing, and hoping todays one-liner makes it even better.

$Path = $env:TEMP; $Installer = 'chrome_installer.exe'; Invoke-WebRequest -Uri 'http://dl.google.com/chrome/install/375.126/chrome_installer.exe' -OutFile $Path\$Installer; Start-Process -FilePath $Path\$Installer -Args '/silent /install' -Verb RunAs -Wait; Remove-Item -Path $Path\$Installer

What this one-liner will do is go out and fetch chrome and silently install or update it. Then it will delete the installer after it has been installed. You could add lines for logging in case you had other software that you wanted to install after, but I feel this is a great foundation if you’ve never done it before. If you start adding logging and other features(ie. confirming it has installed), I’d definitely take it out of the one-liner format for ease of reading/troubleshooting unless for some reason you need to keep it as a one-liner.

You can do this with many applications, you just have to make sure the URI and switches(Args) are correct.

Tagged With: App Deployment, Applications, One Liner Wednesday, PowerShell

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

  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3

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