-
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 branch 'main' into update_accelnet
- Loading branch information
Showing
27 changed files
with
2,347 additions
and
2 deletions.
There are no files selected for viewing
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,35 @@ | ||
name: Assign and label PR | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: read | ||
actions: read | ||
|
||
on: | ||
workflow_run: | ||
workflows: [Background tasks] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
download-payload: | ||
name: Download and extract payload artifact | ||
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-ExtractPayload.yml@workflows-prod | ||
with: | ||
WorkflowId: ${{ github.event.workflow_run.id }} | ||
OrgRepo: ${{ github.repository }} | ||
secrets: | ||
AccessToken: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
label-assign: | ||
name: Run assign and label | ||
needs: [download-payload] | ||
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-AutoLabelAssign.yml@workflows-prod | ||
with: | ||
PayloadJson: ${{ needs.download-payload.outputs.WorkflowPayload }} | ||
AutoAssignUsers: 1 | ||
AutoLabel: 1 | ||
ExcludedUserList: '["user1", "user2"]' | ||
ExcludedBranchList: '["branch1", "branch2"]' | ||
secrets: | ||
AccessToken: ${{ secrets.GITHUB_TOKEN }} |
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,34 @@ | ||
name: Auto label Microsoft contributors | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: read | ||
actions: read | ||
|
||
on: | ||
workflow_run: | ||
workflows: [Background tasks] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
download-payload: | ||
if: github.repository_visibility == 'public' | ||
name: Download and extract payload artifact | ||
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-ExtractPayload.yml@workflows-prod | ||
with: | ||
WorkflowId: ${{ github.event.workflow_run.id }} | ||
OrgRepo: ${{ github.repository }} | ||
secrets: | ||
AccessToken: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
label-msft: | ||
name: Label Microsoft contributors | ||
if: github.repository_visibility == 'public' | ||
needs: [download-payload] | ||
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-AutoLabelMsftContributor.yml@workflows-prod | ||
with: | ||
PayloadJson: ${{ needs.download-payload.outputs.WorkflowPayload }} | ||
secrets: | ||
AccessToken: ${{ secrets.GITHUB_TOKEN }} | ||
TeamReadAccessToken: ${{ secrets.ORG_READTEAMS_TOKEN }} |
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,26 @@ | ||
name: Background tasks | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: read | ||
|
||
on: | ||
pull_request_target: | ||
|
||
jobs: | ||
upload: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Save payload data | ||
env: | ||
PayloadJson: ${{ toJSON(github) }} | ||
AccessToken: ${{ github.token }} | ||
run: | | ||
mkdir -p ./pr | ||
echo $PayloadJson > ./pr/PayloadJson.json | ||
sed -i -e "s/$AccessToken/XYZ/g" ./pr/PayloadJson.json | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: PayloadJson | ||
path: pr/ |
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,19 @@ | ||
name: PR can merge into branch | ||
|
||
permissions: | ||
pull-requests: write | ||
statuses: write | ||
contents: read | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, reopened, synchronize, edited] | ||
|
||
jobs: | ||
|
||
live-merge: | ||
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-LiveMergeCheck.yml@workflows-prod | ||
with: | ||
PayloadJson: ${{ toJSON(github) }} | ||
secrets: | ||
AccessToken: ${{ secrets.GITHUB_TOKEN }} |
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,19 @@ | ||
name: PR file count less than limit | ||
|
||
permissions: | ||
pull-requests: write | ||
statuses: write | ||
contents: read | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, reopened, synchronize, labeled, unlabeled, edited] | ||
|
||
jobs: | ||
|
||
file-count: | ||
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-PrFileCount.yml@workflows-prod | ||
with: | ||
PayloadJson: ${{ toJSON(github) }} | ||
secrets: | ||
AccessToken: ${{ secrets.GITHUB_TOKEN }} |
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,17 @@ | ||
name: PR has no protected files | ||
|
||
permissions: | ||
pull-requests: write | ||
statuses: write | ||
contents: read | ||
|
||
on: [pull_request_target] | ||
|
||
jobs: | ||
|
||
protected-files: | ||
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-ProtectedFiles.yml@workflows-prod | ||
with: | ||
PayloadJson: ${{ toJSON(github) }} | ||
secrets: | ||
AccessToken: ${{ secrets.GITHUB_TOKEN }} |
Binary file not shown.
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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) |
Oops, something went wrong.