{"id":22338065,"url":"https://github.com/ran-dall/dev-drive","last_synced_at":"2025-04-12T13:51:34.100Z","repository":{"id":264942758,"uuid":"821995366","full_name":"ran-dall/Dev-Drive","owner":"ran-dall","description":"PowerShell scripts 📜 to set up and manage a Dev Drive on Windows 11.","archived":false,"fork":false,"pushed_at":"2024-06-30T02:37:40.000Z","size":11,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T14:26:39.961Z","etag":null,"topics":["dev-drive","powershell-scripts","windows-11"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ran-dall.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-30T02:36:24.000Z","updated_at":"2025-02-23T06:24:01.000Z","dependencies_parsed_at":"2024-11-27T00:18:32.441Z","dependency_job_id":null,"html_url":"https://github.com/ran-dall/Dev-Drive","commit_stats":null,"previous_names":["ran-dall/dev-drive"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ran-dall%2FDev-Drive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ran-dall%2FDev-Drive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ran-dall%2FDev-Drive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ran-dall%2FDev-Drive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ran-dall","download_url":"https://codeload.github.com/ran-dall/Dev-Drive/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248575719,"owners_count":21127254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dev-drive","powershell-scripts","windows-11"],"created_at":"2024-12-04T06:13:02.125Z","updated_at":"2025-04-12T13:51:34.079Z","avatar_url":"https://github.com/ran-dall.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dev Drive Scripts 📜\n\nThis 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).\n\n## Scripts\n\n### 1. 💽 `SetupDevDrive.ps1`\n\nThis script sets up the Dev Drive by configuring trust settings, antivirus filters, and file system filters. It includes the following key functions:\n\n#### `Test-DevDriveTrusted`\n\n- Tests if the Dev Drive is trusted.\n\n#### `ManageAntiVirusFilter`\n\n- Manages the antivirus filter setting on the Dev Drive.\n\n#### `Get-DevDriveAllowedFilters`\n\n- Retrieves allowed filters on the Dev Drive.\n\n#### `Add-DevDriveFilters`\n\n- Adds specified filters to the Dev Drive.\n\n#### `PromptForFilters`\n\n- Prompts the user to add default or custom filters to the Dev Drive.\n\n### 2. 👤 `SetDevDriveOwner.ps1`\n\nThis script configures ownership and permissions for a Dev Drive. It includes the following functions:\n\n#### `Set-DevDrivePermissions`\n\n- Sets full control permissions for the current user on the specified Dev Drive.\n- Hides the Dev Drive from other users by modifying the registry.\n\n#### `Test-DevDrivePermissions`\n\n- Reviews and displays the current permissions for the specified Dev Drive.\n\n### 3. 📦 `SetupDevDrivePackageCache.ps1`\n\nThis script sets up environment variables for package caches and moves existing caches to the Dev Drive. It includes the following functions:\n\n#### `New-DirectoryIfNotExists`\n\n- Creates a directories if they doesn't exist.\n\n#### `Set-UserEnvironmentVariable`\n\n- Sets user environment variables with verbose output.\n\n#### `Move-CacheContents`\n\n- Moves cache contents from source to destination directories.\n\n### 4. 🚫 `UnsetDevDriveOwner.ps1`\n\nThis script reverts the ownership and permissions changes made by `SetDevDriveOwner.ps1`. It includes the following functions:\n\n#### `Remove-DevDrivePermissions`\n\n- Removes the full control permissions for the current user on the specified Dev Drive.\n- Restores the visibility of the Dev Drive for other users by modifying the registry.\n\n#### `Test-DevDrivePermissions`\n\n- Reviews and displays the current permissions for the specified Dev Drive.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fran-dall%2Fdev-drive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fran-dall%2Fdev-drive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fran-dall%2Fdev-drive/lists"}