-
Notifications
You must be signed in to change notification settings - Fork 603
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3869 from MicrosoftDocs/main
Publish main to live, Monday 10:30AM PDT, 09/09
- Loading branch information
Showing
5 changed files
with
808 additions
and
0 deletions.
There are no files selected for viewing
167 changes: 167 additions & 0 deletions
167
docset/winserver2025-ps/failoverclusters/Add-ClusterExcludedAdapter.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,167 @@ | ||
--- | ||
description: Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell. | ||
external help file: Microsoft.FailoverClusters.PowerShell.dll-Help.xml | ||
Module Name: FailoverClusters | ||
ms.date: 08/28/2024 | ||
online version: https://learn.microsoft.com/powershell/module/failoverclusters/add-clusterexcludedadapter?view=windowsserver2025-ps&wt.mc_id=ps-gethelp | ||
schema: 2.0.0 | ||
title: Add-ClusterExcludedAdapter | ||
--- | ||
|
||
# Add-ClusterExcludedAdapter | ||
|
||
## SYNOPSIS | ||
Adds a network adapter to the list of excluded adapters. | ||
|
||
## SYNTAX | ||
|
||
``` | ||
Add-ClusterExcludedAdapter -ExclusionType <AdapterExclusionType> -ExclusionValue <String[]> | ||
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
|
||
The `Add-ClusterExcludedAdapter` cmdlet adds a network adapter to a list of network adapters that | ||
should be excluded from use by the Failover Cluster. By default, the cluster will use all available | ||
network adapters, but in some cases you may want to reserve certain adapters as backup or | ||
management, such as Dell iDRAC or HPE iLO. | ||
|
||
## EXAMPLES | ||
|
||
### Example 1 | ||
|
||
```powershell | ||
Add-ClusterExcludedAdapter -ExclusionType "IPPrefix" -ExclusionValue "10.10.20.25" | ||
``` | ||
|
||
This example excludes the network adapter based on the IP Address `10.10.20.25` from use by the | ||
cluster. | ||
|
||
## PARAMETERS | ||
|
||
### -AsJob | ||
|
||
Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to | ||
complete. | ||
|
||
The cmdlet immediately returns an object that represents the job and then displays the command | ||
prompt. You can continue to work in the session while the job completes. | ||
|
||
For more information about Windows PowerShell background jobs, see | ||
[about_Jobs](/powershell/module/microsoft.powershell.core/about/about_jobs). | ||
|
||
```yaml | ||
Type: SwitchParameter | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -CimSession | ||
Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session | ||
object, such as the output of a [New-CimSession](/powershell/module/cimcmdlets/new-cimsession) | ||
or [Get-CimSession](/powershell/module/cimcmdlets/get-cimsession) cmdlet. The default is the | ||
current session on the local computer. | ||
```yaml | ||
Type: CimSession[] | ||
Parameter Sets: (All) | ||
Aliases: Session | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -ExclusionType | ||
Specifies the type of exclusion to add to the cluster. Acceptable values are: | ||
- `IPPrefix`: Excludes a network adapter based on its IP address. | ||
- `Description`: Excludes a network adapter based on its description. | ||
- `FriendlyName`: Excludes a network adapter based on its friendly name. | ||
|
||
```yaml | ||
Type: AdapterExclusionType | ||
Parameter Sets: (All) | ||
Aliases: | ||
Accepted values: IPPrefix, Description, FriendlyName | ||
Required: True | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
|
||
### -ExclusionValue | ||
|
||
Specifies the value to use for the exclusion. The value of this parameter depends on the value of | ||
the `-ExclusionType` parameter. | ||
|
||
```yaml | ||
Type: String[] | ||
Parameter Sets: (All) | ||
Aliases: | ||
Required: True | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
|
||
### -ThrottleLimit | ||
|
||
Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If | ||
this parameter is omitted or a value of `0` is entered, then PowerShell calculates an optimum | ||
throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. | ||
The throttle limit applies only to the current cmdlet, not to the session or to the computer. | ||
|
||
```yaml | ||
Type: Int32 | ||
Parameter Sets: (All) | ||
Aliases: | ||
Required: False | ||
Position: Named | ||
Default value: None | ||
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](/powershell/module/microsoft.powershell.core/about/about_commonparameters). | ||
|
||
## INPUTS | ||
|
||
### None | ||
|
||
## OUTPUTS | ||
|
||
### System.Object | ||
|
||
## NOTES | ||
|
||
## RELATED LINKS | ||
|
||
[Get-ClusterExcludedAdapter](get-clusterexcludedadapter.md) | ||
|
||
[Remove-ClusterExcludedAdapter](remove-clusterexcludedadapter.md) | ||
|
||
[Repair-ClusterNameAccount](repair-clusternameaccount.md) | ||
|
||
[Set-ClusterExcludedAdapter](set-clusterexcludedadapter.md) |
150 changes: 150 additions & 0 deletions
150
docset/winserver2025-ps/failoverclusters/Get-ClusterExcludedAdapter.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,150 @@ | ||
--- | ||
description: Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell. | ||
external help file: Microsoft.FailoverClusters.PowerShell.dll-Help.xml | ||
Module Name: FailoverClusters | ||
ms.date: 08/28/2024 | ||
online version: https://learn.microsoft.com/powershell/module/failoverclusters/get-clusterexcludedadapter?view=windowsserver2025-ps&wt.mc_id=ps-gethelp | ||
schema: 2.0.0 | ||
title: Get-ClusterExcludedAdapter | ||
--- | ||
|
||
# Get-ClusterExcludedAdapter | ||
|
||
## SYNOPSIS | ||
Retrieves a network adapter from the list of excluded adapters. | ||
|
||
## SYNTAX | ||
|
||
``` | ||
Get-ClusterExcludedAdapter -ExclusionType <AdapterExclusionType> [-CimSession <CimSession[]>] | ||
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
|
||
The `Get-ClusterExcludedAdapter` cmdlet retrieves a network adapter from a list of network adapters | ||
that should be excluded from use by the Failover Cluster. By default, the cluster will use all | ||
available network adapters, but in some cases you may want to reserve certain adapters as backup or | ||
management, such as Dell iDRAC or HPE iLO. | ||
|
||
## EXAMPLES | ||
|
||
### Example 1 | ||
|
||
```powershell | ||
Get-ClusterExcludedAdapter -ExclusionType "FriendlyName" | ||
``` | ||
|
||
This example retrieves a list of network adapters that have been excluded from use by the cluster | ||
based on the friendly name. | ||
|
||
## PARAMETERS | ||
|
||
### -AsJob | ||
|
||
Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to | ||
complete. | ||
|
||
The cmdlet immediately returns an object that represents the job and then displays the command | ||
prompt. You can continue to work in the session while the job completes. | ||
|
||
For more information about Windows PowerShell background jobs, see | ||
[about_Jobs](/powershell/module/microsoft.powershell.core/about/about_jobs). | ||
|
||
```yaml | ||
Type: SwitchParameter | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -CimSession | ||
Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session | ||
object, such as the output of a [New-CimSession](/powershell/module/cimcmdlets/new-cimsession) | ||
or [Get-CimSession](/powershell/module/cimcmdlets/get-cimsession) cmdlet. The default is the | ||
current session on the local computer. | ||
```yaml | ||
Type: CimSession[] | ||
Parameter Sets: (All) | ||
Aliases: Session | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -ExclusionType | ||
Specifies the type of exclusion to retrieve from the cluster. Acceptable values are: | ||
- `IPPrefix`: Excludes a network adapter based on its IP address. | ||
- `Description`: Excludes a network adapter based on its description. | ||
- `FriendlyName`: Excludes a network adapter based on its friendly name. | ||
|
||
```yaml | ||
Type: AdapterExclusionType | ||
Parameter Sets: (All) | ||
Aliases: | ||
Accepted values: IPPrefix, Description, FriendlyName | ||
Required: True | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
|
||
### -ThrottleLimit | ||
|
||
Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If | ||
this parameter is omitted or a value of `0` is entered, then PowerShell calculates an optimum | ||
throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. | ||
The throttle limit applies only to the current cmdlet, not to the session or to the computer. | ||
|
||
```yaml | ||
Type: Int32 | ||
Parameter Sets: (All) | ||
Aliases: | ||
Required: False | ||
Position: Named | ||
Default value: None | ||
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](/powershell/module/microsoft.powershell.core/about/about_commonparameters). | ||
|
||
## INPUTS | ||
|
||
### None | ||
|
||
## OUTPUTS | ||
|
||
### System.String[] | ||
|
||
## NOTES | ||
|
||
## RELATED LINKS | ||
|
||
[Add-ClusterExcludedAdapter](add-clusterexcludedadapter.md) | ||
|
||
[Remove-ClusterExcludedAdapter](remove-clusterexcludedadapter.md) | ||
|
||
[Repair-ClusterNameAccount](repair-clusternameaccount.md) | ||
|
||
[Set-ClusterExcludedAdapter](set-clusterexcludedadapter.md) |
Oops, something went wrong.