# Clear-USBDisk

This function will clear the USB Drives.  You can optionally **`Initialize`** and specify a **`PartitionStyle`**.  The **`-Force`** parameter is required to actually do the work.  When this parameter is not used, Get-Help will be displayed, as well as the returned **`Get-USBDisk`** results

![](https://3420392058-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpnxLqvh8u2fEz86kIM%2F-MV2VLJeiTlGCACxV1Bi%2F-MV2W2Aedgkfweil5cp2%2Fimage.png?alt=media\&token=3fff6b97-d109-499b-a846-c7fa3964c13c)

You will be prompted to confirm Clear-Disk for each USB Drive. To fully automate things, use the following command

```
Clear-LocalDisk -Force -Confirm:$false
```
