Skip to content
Lanedirt.tech
Lanedirt.tech

Lanedirt.tech

  • Tips & tricks
  • About Lanedirt

Category: Powershell

How to delete files with Powershell

1. Delete a folder and everything in it With Powershell you can easily delete folders and files with the command line. Use the snippet below to first check if the folder exists, and if it does, delete it. Note: it is always a good practice to check if the folder exists before trying to delete… Continue reading How to delete files with Powershell

Published November 17, 2021
Categorized as File operations, Powershell

Posts navigation

Newer posts Page 1 … Page 3
Lanedirt.tech
Lanedirt.tech
Proudly powered by WordPress.