Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Blog posts : "powershell scripts"

Find next available free drive letter using PowerShell

October 25, 2017 11:09AM

Below is my one-liner small PowerShell code for finding next available free unassigned first drive letter, I use it frequently for automating mapping shared drives. This is based on Get-PSDrive -PSProvider FileSystem, it shows the all in use drive, Generally A, B (floppy drive not for use as disk or…

Read more

Powershell: Get registry value data

October 7, 2017 05:05PM

Finding and fetching registry value data information using PowerShell is very easy, I found in one of the organization administrators where doing unnecessary changes to the registry to specific settings, for one of the example ie: I had to get information from one of the setting under HKey_Local_M…

Read more

Powershell Trick: Convert text to ASCII art

October 4, 2017 01:40PM

Powershell text convert to Ascii art demo abcdefghijklmnopqrstuvwxyz0123456789 without online algorithm

As PowerShell has plain command based console if you want to show different font or different bigger font on the same console as output, you will have to use ASCII Text art, I had got a request to write a script to convert any text to ASCII art. Only weirdness in the request I found was, whateve…

Read more

3 Blog Posts