This repository contains PowerShell scripts designed to assist with setting up and administering a Development Drive (Dev Drive) on Windows 11. The Dev Drive is intended to enhance performance and efficiency for development-related tasks by utilizing the Resilient File System (ReFS).
This script sets up the Dev Drive by configuring trust settings, antivirus filters, and file system filters. It includes the following key functions:
- Tests if the Dev Drive is trusted.
- Manages the antivirus filter setting on the Dev Drive.
- Retrieves allowed filters on the Dev Drive.
- Adds specified filters to the Dev Drive.
- Prompts the user to add default or custom filters to the Dev Drive.
This script configures ownership and permissions for a Dev Drive. It includes the following functions:
- Sets full control permissions for the current user on the specified Dev Drive.
- Hides the Dev Drive from other users by modifying the registry.
- Reviews and displays the current permissions for the specified Dev Drive.
This script sets up environment variables for package caches and moves existing caches to the Dev Drive. It includes the following functions:
- Creates a directories if they doesn't exist.
- Sets user environment variables with verbose output.
- Moves cache contents from source to destination directories.
This script reverts the ownership and permissions changes made by SetDevDriveOwner.ps1
. It includes the following functions:
- Removes the full control permissions for the current user on the specified Dev Drive.
- Restores the visibility of the Dev Drive for other users by modifying the registry.
- Reviews and displays the current permissions for the specified Dev Drive.