search
top

How To Disable IPV6 on Windows 10 with PowerShell

How To Disable IPV6 on Windows 10 with PowerShell Introduction In today’s post we will look into how to disable IPV6 using PowerShell on Windows 10. You ask why would you want to disable IPV6? There could be several reasons like not being used on the network, causing network binding issues or causes intermittent network disconnects (VPN) and other reasons. SO let’s move along and see just how... read more

Checking Your TPM Version on Windows 10

Checking Your TPM Version on Windows 10 Introduction A new Windows version is on the horizon and in the requirements for Windows 11 we see TPM 2.0. The question being asked is what version of TPM do I have and where do I find it. Get The Information First, check if you have a TPM chip is to run the get-tpm command via Windows PowerShell. To do this, type PowerShell in the Start menu search bar.... read more

How To Use PowerShell to Export Scheduled Tasks

How To Use PowerShell to Export Scheduled Tasks Introduction We all know what a pain it is to have to recreate scheduled tasks on Windows when moving to new systems or restoring crash or corrupted systems. Making a backup of these tasks is always good to do, so why not do this with PowerShell and make things much simpler. The Code The script is fairly simple Define a new-object Connect to the object on... read more

Use PowerShell to Get Drive List and Capacity

Use PowerShell to Get Drive List and Capacity Introduction Just a simple post with PowerShell. Had a bunch of Windows servers that needed to get a list of local drives and display the size of the drive and the freespace on the drives in GB. To achieve that decided to use Win32_LogicalDisk call in PowerShell. select a few of the available fields and do a little math. The Code What is Win32_LogicalDisk? The... read more

Using A PowerShell Function To Search and Replace in a Text file

Introduction When I started working in PowerShell for scripting in Windows I longed for a way to do inline editing of a file like you could do with sed. I was able to do this with VBScript but it was long and ugly. After learning more about some of the cmdlets I was able to create a function to search and replace. In this post I would like to share the simple function with you. The Code The overall code... read more

« Previous Entries

top