The default is the current session on the local computer. Indicates that the cmdlet initiates defragmentation on the specified volume. Defragmentation consolidates fragmented regions of files to improve performance of sequential reads or writes. Generates TRIM and Unmap hints for all currently unused sectors of the volume, notifying the underlying storage that the sectors are no longer needed and can be purged.
This can recover unused capacity on thinly provisioned drives. Indicates that the cmdlet performs slab consolidation on the storage to optimize slab allocations and to reduce the number of used slabs.
Specifies the maximum number of concurrent operations that can be established to run the cmdlet. The throttle limit applies only to the current cmdlet, not to the session or to the computer. Indicates that the cmdlet performs tier optimization of the volume, which places file data on the optimal storage tier according to heat or desired placement.
This parameter only applies to tiered spaces volumes with more than one storage tier. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info.
Contents Exit focus mode. Optimize-Volume Powershell. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. Is this page helpful? Please rate your experience Yes No. Any additional feedback?
Submit and view feedback for This product This page. View all page feedback. In this article. Perform traditional defrag this is the default. On a tiered volume though, traditional defrag is performed only on the Capacity tier. Run the operation on each volume in parallel in the background. Append the drive letter for the drive you wish to defragment to the command in the Run text box.
Click OK In the Set Account Information dialog, enter and confirm the password for the user listed in Run as Click OK Disk Defragmenter will now run as the specified user on the schedule you specified when you created the scheduled task. Need more help?
Expand your skills. Get new features first. Was this information helpful? Yes No. Thank you! Any more feedback? The more you tell us the more we can help. Can you help us improve? Resolved my issue. Clear instructions.
0コメント