Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Latest commit

 

History

History
9 lines (6 loc) · 292 Bytes

File metadata and controls

9 lines (6 loc) · 292 Bytes

EjectDrive

PowerShell function to eject a drive

Usage

After you run the function Eject-Drive (either by pasting it directly into your terminal, or adding it to your $profile), you just run:

Eject-Drive D

to eject the D:\ drive. Replace D with whatever drive you want to eject.