Remove-SCStoragePool
Depolama havuzunu siler ve kapasite döndürür.
Syntax
Remove-SCStoragePool
[-StoragePool] <StoragePool>
[-RunAsynchronously]
[-PROTipID <Guid>]
[-JobVariable <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Remove-SCStoragePool cmdlet'i depolama havuzlarını siler ve kapasitesini döndürür.
Örnekler
Örnek 1: Depolama havuzunu kaldırma
PS C:\> $Pool = Get-SCStoragePool -Name "Pool01"
PS C:\> Remove-SCStoragePool -StoragePool $Pool
İlk komut Pool01 adlı depolama havuzu nesnesini alır ve nesneyi $Pool değişkeninde depolar.
İkinci komut, $Pool'de depolanan depolama havuzunu siler.
Parametreler
-Confirm
Cmdlet'i çalıştırmadan önce sizden onay ister.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-JobVariable
İş ilerleme durumunun izlendiğini ve bu parametre tarafından adlandırılan değişkende depolandığını belirtir.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PROTipID
Bu eylemi tetikleyen Performans ve Kaynak İyileştirme ipucunun (PRO ipucu) kimliğini belirtir. Bu parametre PRO ipuçlarını denetlemenize olanak tanır.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RunAsynchronously
Denetimin komut kabuğuna hemen döndürülmesi için işin zaman uyumsuz olarak çalıştığını gösterir.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-StoragePool
Bir depolama havuzu nesnesi belirtir.
Type: | StoragePool |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
Cmdlet çalıştırılıyorsa ne olacağını gösterir. Cmdlet çalıştırılmaz.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Çıkışlar
StoragePool
Bu cmdlet bir StoragePool nesnesi döndürür.