Unregister-SmisProvider

Unregister-SmisProvider

Removes a registered SMI-S provider.

Sintaxis

Parameter Set: Unregister1
Unregister-SmisProvider -ConnectionUri <Uri> [-AsJob] [-CimSession <CimSession[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Descripción detallada

The Unregister-SmisProvider removes a registered Storage Management Initiative - Specification (SMI-S) provider so that it cannot be used. When you remove a provider, you also delete any stored credentials and clear the credential cache for that provider. If a certificate was accepted from the provider, it will remain in the certificate store. It can be manually removed using the Certificates snap-in.

If the URI does not identify a registered provider, the cmdlet returns an error.

To obtain a list of SMI-S providers on the same subnet as a server, use the Search-SmisProvider cmdlet. This cmdlet returns a list of providers.

Parámetros

-AsJob

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-CimSession<CimSession[]>

Ejecuta el cmdlet en una sesión remota o en un equipo remoto. Escriba un nombre de equipo o un objeto de sesión, como la salida de un cmdlet New-CimSession o Get-CimSession. El valor predeterminado es la sesión actual en el equipo local.

Alias

Session

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-ConnectionUri<Uri>

Specifies the Uniform Resource Identifier (URI) of a registered provider. You must use the same URI as was used during the Register-SmisProvider cmdlet.

Alias

URI

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByPropertyName)

¿Aceptar caracteres comodín?

false

-ThrottleLimit<Int32>

Especifica el número máximo de operaciones simultáneas que se pueden establecer para ejecutar el cmdlet. Si se omite este parámetro o es especifica un valor de 0, Windows PowerShell ® calcula un límite óptimo para el cmdlet en función del número de cmdlets de CIM que se estén ejecutando en el equipo. El límite solo se aplica al cmdlet actual, no a la sesión ni al equipo.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

Ejemplos

Example 1: Remove an SMI-S provider

This command removes a registered SMI-S provider by using the URI of the provider.

PS C:\> Unregister-SmisProvider -ConnectionUri https://smis.contoso.com:5989

Example 2: Remove an SMI-S provider by its object instance

This command removes a registered SMI-S provider by using an existing storage provider instance and passing it to the Unregister-SmisProvider cmdlet, by using the pipe operator.

PS C:\> Get-StorageProvider smis.contoso.com | Unregister-SmisProvider

Temas relacionados

Register-SmisProvider

Search-SmisProvider

Get-StorageProvider