Clear-EmcHostDiskSignature

Clears the host disk signatures and assigns new ones.

 

Syntax

Clear-EmcHostDiskSignature -HostDisk <Disk> [-Silent] [<CommonParameters>]

 

Parameters

-HostDisk <Disk>

Attributes: Required, Position: named

Specifies the ESI host disk object, which you can get from the ESI host system object or by using the Get-EmcHostDisk or Find-EmcHostDisk cmdlets.

 

-Silent <SwitchParameter>

Attributes: Optional, Position: named

Turns off all the informational and verbose messages. However, it still displays errors.

 

<CommonParameters>

This cmdlet supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. Type get-help about_commonparameters for more details.

 

Examples

-------------- Example 1 --------------

C:\PS>$h = Get-EmcHostSystem *.148

C:\PS>$h | Update-EmcSystem -Silent

C:\PS>$hd = $h.HostDisks[6]

C:\PS>$hd.MbrDiskSignature

3452748690

C:\PS>$hd.HostDiskIdentifier

\\?\PhysicalDrive6

 

C:\PS>Clear-EmcHostDiskSignature -HostDisk $hd

TaskStatus: Started

  0% : Clearing host disk signature...

100% : Host disk signature successfully cleared.

TaskStatus: Completed

 

C:\PS>$h | Update-EmcSystem -Silent

C:\PS>$hd = $h.HostDisks[6]

C:\PS>$hd.HostDiskIdentifier

\\?\PhysicalDrive6

C:\PS>$hd.MbrDiskSignature

3452748691

C:\PS>

This example clears the host disk signature and assigns a new one.