This is the built-in help made by Microsoft for the command 'Set-StorageSetting', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Adjusts or configures current storage settings of the StorageSetting object.
Set-StorageSetting [-AsJob] [-CimSession <CimSession[]>] [-NewDiskPolicy <NewDiskPolicy>] [-ScrubPolicy <ScrubPolicy>] [-ThrottleLimit <Int32>] [<CommonParameters>]
The Set-StorageSettings cmdlet adjusts or configures current storage settings of the StorageSetting object.
<
Online Version: http://go.microsoft.com/fwlink/?LinkID=307036
Get-StorageSetting
<
EXAMPLE 1
PS C:\> Set-StorageSettings -NewDiskPolicy OfflineAll
This example changes the new disk policy so that all newly attached disks remain offline.
EXAMPLE 2
PS C:\> Set-StorageSettings -NewDiskPolicy OfflineInternal
This example changes the new disk policy so that all newly attached disks on a local bus remain offline.
EXAMPLE 3
PS C:\> Set-StorageSettings -NewDiskPolicy OfflineShared
This example changes the new disk policy so that all new shared bus disks remain offline and all new local bus disks remain online.
EXAMPLE 4
PS C:\> Set-StorageSettings -NewDiskPolicy OnlineAll
This example changes the new disk policy so that all new disks are brought online, regardless of whether the disk are on a local or shared bus.