Similar to CMD Telnet this PowerShell will test a port for you based on certain parameters. Reference: http://www.travisgan.com/2014/03/use-powershell-to-test-port.html
Category: Code
This area of the site is dedicated to code snippets for quick and easy reference
Embarcadero Delphi – Battery Indicator/Check
If your application runs on a computer or device that has a battery it’s helpful to know the battery level. Setup your application canvas with 3 labels, 1 Gauge (progress bar) and 1 timer. To keep it simple I’m not changing the names of the elements so you should have:…
Azure PowerShell – Create Virtual Network Within Resource Group
This is still a work in progress to include all the variables but the script below will create a Resource Group then create a Virtual Network with 3 subnets and a gateway along with custom DNS.
Mac OSX Terminal – Get Artist and Song From iTunes PlayList Export
There are more elegant ways to do this but I got bored and thought I’d do something that is only done with base Mac OSX tools
Azure Red Hat – RHUI Update
Most of the this script is based on the document “Red Hat Update Infrastructure (RHUI) for on-demand Red Hat Enterprise Linux VMs in Azure” at https://docs.microsoft.com/en-us/azure/virtual-machines/virtual-machines-linux-update-infrastructure-redhat?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json My change will first check if the update was already installed, if not it will follow the process to install See updates at: https://gitlab.com/Kittell-RedHat/AzureRepo/raw/master/AzureRedHatRepoUpdate.sh
Windows CMD – Disk Partition and Format with DiskPart
NOTE: This is not put in code as it can be VERY difficult reverse the process below. ONLY do this if you have a clue of what you are doing . This process has been tested on a USB Hard Drive, Thumb Drive, and Physical (Internal to computer) Hard Drive…
GitLab – Move data to different directory
If you’re running low on disk space or simply want to move the data this script will help. Of course modify the path as needed. First double check your paths