CmdID / PowerShell / Cmdlets / Optimize
Optimize-StoragePool
Optimizes a Storage pool. Windows Server PowerShell reference
From the Windows Server PowerShell reference 10 parameters Its page in the reference
Parameters
-AsJobRuns the cmdlet as a background job.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-FriendlyNameSpecifies the friendly name of the Storage pool to optimize.-InputObjectSpecifies the input object that is used in a pipeline command.-NameSpecifies the name of the Storage pool to optimize.-PassThruReturns an object representing the item with which you are working.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-UniqueId, -IdSpecifies the unique ID of the storage pool to optimize.-WhatIf, -wiShows what would happen if the cmdlet runs.