Currently Browsing: Powershell
Aug 20, 2021
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
Nov 2, 2020
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
Oct 15, 2019
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
Oct 24, 2018
How To Mount and Unmount ISO files using PowerShell
Withe Windows 10 the ability to mount ISO files (disk images) was added and you no longer have to use third party tools to mount them. In these post we will cover how to mount and unmount using PowerShell. Very simple and easy to execute. Open PowerShell as Administrator. Use the Mount-DiskImage cmdlet to mount the ISO. Syntax is: Mount-DiskImage -ImagePath “C:\FILE.ISO” Example: The drive... read more
Jul 15, 2018