Skip to content

Latest commit

 

History

History
134 lines (100 loc) · 3.13 KB

Remove-ClusterResourceType.md

File metadata and controls

134 lines (100 loc) · 3.13 KB
description external help file Module Name ms.date online version schema title
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
Microsoft.FailoverClusters.PowerShell.dll-Help.xml
FailoverClusters
12/20/2016
2.0.0
Remove-ClusterResourceType

Remove-ClusterResourceType

SYNOPSIS

Removes a resource type from a failover cluster.

SYNTAX

Remove-ClusterResourceType [[-Name] <StringCollection>] [-InputObject <PSObject>] [-Cluster <String>] [-WhatIf]
 [-Confirm] [<CommonParameters>]

DESCRIPTION

The Remove-ClusterResourceType cmdlet removes a resource type from a failover cluster. A resource type is a class of resource, such as physical disk, network name, or virtual machine, that is organized by the failover cluster. After a resource type is removed from a failover cluster, resources of that type will not be able to be used in the cluster.

EXAMPLES

Example 1

PS C:\> Remove-ClusterResourceType -Name ResType1

This example removes the registered resource type named ResType1 on the local cluster.

PARAMETERS

-Cluster

Specifies the name of the cluster on which to run this cmdlet. If the input for this parameter is . or it is omitted, then the cmdlet runs on the local cluster.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-InputObject

Specifies the cluster resource type to remove.

Type: PSObject
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Name

Specifies the name of the cluster resource type to remove.

Type: StringCollection
Parameter Sets: (All)
Aliases: 

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Microsoft.FailoverClusters.PowerShell.ClusterResourceType

OUTPUTS

None

NOTES

RELATED LINKS

Add-ClusterResourceType

Get-ClusterResourceType