Author: Clayton E

Extracting files with Progress

With today’s topic we will see how to extract files with Python and show progress as well. We will be using zipfile, os, and tqdm to extract the files today. In the fast movement...

Copy Files in C#

There are about 100 different ways to copy files on a computer system. Various scripts already have builtin ways like Windows default copy or Copy-Item in Powershell. For a certain project we needed to...

Touch command in PowerShell

One of my favorite commands from the Linux terminal is the touch command. This is a way for users to create or modify files and their timestamp information. The following function is just a...

Powershell: Sorting Files

In a previous post I talked about how to use Python to organize files. Since most of my work is on a windows machine I thought I would add a Powershell based file organizer...

Python: Expand URL

Python has many great modules to deal with HTTP connections. A simple one to look at to day is the requests module. We’ll look at how to query the HTTP request for the HEAD...

Working with Archive Files

We can add these functions to our PowerShell profile or within a simple script we can reuse. To begin we will need to add a .NET assembly to the script. We have just added...

How to Create a PowerShell Profile

Every time you launch a PowerShell console, a profile is loaded that contains settings and much more to use. This is a great place to put your automation tasks and repetitive items if you...

Get System Up time

Getting the system up time on Windows servers or desktops is a needed task every so often. This information can be found a different ways but occasionally we need this information in our script....