Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add powershell command to create dev drive #1950

Open
soredake opened this issue Nov 23, 2023 · 2 comments
Open

Add powershell command to create dev drive #1950

soredake opened this issue Nov 23, 2023 · 2 comments
Labels
Area-Machine-Config-Dev-Drive Related to Dev Drive features within Dev Home Area-Windows Related to functionality in Windows Issue-Feature New feature or request

Comments

@soredake
Copy link

Suggested new feature or improvement

It would be nice if there is command like Create-DevDrive -Path <path> -Size <size> to create and mount/unmount dev drive from powershell.

Scenario

I like to automate my initial setup, and right now i can't find a way to script creation of dev drive.

Additional details

No response

@soredake soredake added the Issue-Feature New feature or request label Nov 23, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage New issue that the core contributors need to triage label Nov 23, 2023
@adrastogi
Copy link
Contributor

Not exactly what you described, but as a step in that direction, there is a -DevDrive switch that was recently added to Format-Volume which might help with what you are trying to do. https://learn.microsoft.com/en-us/powershell/module/storage/format-volume?view=windowsserver2022-ps#-devdrive

@denelon
Copy link
Contributor

denelon commented Dec 20, 2023

@soredake
This can be done via a WinGet Configuration file.

The StorageDSC Module supports this functionality, and there is an issue at GitHub:

I've reached out to ask the team to add an example at https://aka.ms/dsc.yaml

@cinnamon-msft cinnamon-msft added Area-Machine-Config-Dev-Drive Related to Dev Drive features within Dev Home Area-Windows Related to functionality in Windows and removed Needs-Triage New issue that the core contributors need to triage labels Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Machine-Config-Dev-Drive Related to Dev Drive features within Dev Home Area-Windows Related to functionality in Windows Issue-Feature New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants