https://github.com/mrdatawolf/psdisableandclearshadowcopyonc
Disables shadow copy on c then removes any existing copies
https://github.com/mrdatawolf/psdisableandclearshadowcopyonc
Last synced: 4 months ago
JSON representation
Disables shadow copy on c then removes any existing copies
- Host: GitHub
- URL: https://github.com/mrdatawolf/psdisableandclearshadowcopyonc
- Owner: mrdatawolf
- License: mit
- Created: 2024-07-31T23:08:47.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-11-15T18:46:19.000Z (7 months ago)
- Last Synced: 2025-01-01T19:18:35.978Z (5 months ago)
- Language: PowerShell
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PSDisableAndClearShadowCopyOnC
[Link to file](https://github.com/mrdatawolf/PSDisableAndClearShadowCopyOnC/raw/main/ClearCShadowCopyAndDisable.ps1)
Make sure you run this in a powershell console. I have only tested this in PS 7+## Two ways to run
This will run on C Drive:
.\YourScriptName.ps1This will run on D Drive:
.\YourScriptName.ps1 -Drive "D:"