Skip to content

Commit b23d9b8

Browse files
authored
Merge branch 'main' into patch-140
2 parents 443607a + 8d36040 commit b23d9b8

File tree

113 files changed

+2332
-968
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+2332
-968
lines changed

SECURITY.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.8 BLOCK -->
2+
3+
## Security
4+
5+
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
6+
7+
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below.
8+
9+
## Reporting Security Issues
10+
11+
**Please do not report security vulnerabilities through public GitHub issues.**
12+
13+
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report).
14+
15+
If you prefer to submit without logging in, send email to [[email protected]](mailto:[email protected]). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey).
16+
17+
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc).
18+
19+
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
20+
21+
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22+
* Full paths of source file(s) related to the manifestation of the issue
23+
* The location of the affected source code (tag/branch/commit or direct URL)
24+
* Any special configuration required to reproduce the issue
25+
* Step-by-step instructions to reproduce the issue
26+
* Proof-of-concept or exploit code (if possible)
27+
* Impact of the issue, including how an attacker might exploit the issue
28+
29+
This information will help us triage your report more quickly.
30+
31+
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs.
32+
33+
## Preferred Languages
34+
35+
We prefer all communications to be in English.
36+
37+
## Policy
38+
39+
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd).
40+
41+
<!-- END MICROSOFT SECURITY.MD BLOCK -->

docset/winserver2012r2-ps/storage/New-StorageTier.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The **New-StorageTier** cmdlet creates a storage tier in a storage pool.
4545

4646
### Example 1: Create a storage tier
4747
```
48-
PS C:\> New-StorageTier -StoragePoolFriendlyName "TierPool01" -FriendlyName "Standard_HDD_Tier" -MediaType HDD
48+
PS C:\> New-StorageTier -StoragePoolFriendlyName "TierPool01" -FriendlyName "Tier11" -MediaType HDD
4949
```
5050

5151
This command creates a storage tier for hard disk drives named Tier11 in the storage pool named TierPool01.

docset/winserver2016-ps/storage/New-StorageTier.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The **New-StorageTier** cmdlet creates a storage tier in a storage pool.
5858

5959
### Example 1: Create a storage tier
6060
```
61-
PS C:\> New-StorageTier -StoragePoolFriendlyName "TierPool01" -FriendlyName "Standard_HDD_Tier" -MediaType HDD
61+
PS C:\> New-StorageTier -StoragePoolFriendlyName "TierPool01" -FriendlyName "Tier11" -MediaType HDD
6262
```
6363

6464
This command creates a storage tier for hard disk drives named Tier11 in the storage pool named TierPool01.

docset/winserver2019-ps/storage/New-StorageTier.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The **New-StorageTier** cmdlet creates a storage tier in a storage pool.
5858

5959
### Example 1: Create a storage tier
6060
```
61-
PS C:\> New-StorageTier -StoragePoolFriendlyName "TierPool01" -FriendlyName "Standard_HDD_Tier" -MediaType HDD
61+
PS C:\> New-StorageTier -StoragePoolFriendlyName "TierPool01" -FriendlyName "Tier11" -MediaType HDD
6262
```
6363

6464
This command creates a storage tier for hard disk drives named Tier11 in the storage pool named TierPool01.

docset/winserver2022-ps/failoverclusters/Add-ClusterCheckpoint.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
33
external help file: Microsoft.FailoverClusters.PowerShell.dll-Help.xml
44
Module Name: FailoverClusters
5-
ms.date: 10/21/2022
5+
ms.date: 11/22/2022
66
online version: https://learn.microsoft.com/powershell/module/failoverclusters/add-clustercheckpoint?view=windowsserver2022-ps&wt.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Add-ClusterCheckpoint
@@ -23,7 +23,7 @@ Add-ClusterCheckpoint [[-ResourceName] <String>] [-CryptoCheckpointName <String>
2323

2424
## DESCRIPTION
2525

26-
The **Add-ClusterCheckpoint** cmdlet adds a cryptographic key checkpoint or registry checkpoint for
26+
The `Add-ClusterCheckpoint` cmdlet adds a cryptographic key checkpoint or registry checkpoint for
2727
a resource.
2828

2929
Checkpoints help provide failover support for applications that store configuration information
@@ -36,26 +36,27 @@ local server.
3636

3737
### Example 1: Add registry checkpoint
3838

39-
```
40-
PS C:\> Add-ClusterCheckpoint -ResourceName "Cluster Name" -RegistryCheckpoint "software\clusname"
41-
Resource Name
42-
-------- ----
43-
Cluster Name software\clusname
39+
```powershell
40+
Add-ClusterCheckpoint -ResourceName "Cluster Name" -RegistryCheckpoint "software\clusname"
4441
```
4542

46-
This example adds a registry checkpoint called software\clusname for the resource named cluster
43+
This example adds a registry checkpoint called `software\clusname` for the resource named cluster
4744
name.
4845

4946
### Example 2: Add cryptographic checkpoint
5047

51-
```
52-
PS C:\> Get-ClusterResource -Name "Cluster Name" | Add-ClusterCheckpoint -CryptoCheckpointName "Microsoft Base Cryptographic Provider v1.0" -CryptoCheckpointType 1 -CryptoCheckpointKey "Crypto"
53-
Resource Name Type Key
54-
-------- ---- ---- ---
55-
Cluster Name Microsoft Base Cryptograph... 1 Crypto
48+
```powershell
49+
$parameters = @{
50+
CryptoCheckpointName = 'Microsoft Base Cryptographic Provider v1.0'
51+
CryptoCheckpointType = '1'
52+
CryptoCheckpointKey = 'Crypto'
53+
}
54+
Get-ClusterResource -Name "Cluster Name" | Add-ClusterCheckpoint @parameters
5655
```
5756

58-
This example adds a cryptographic checkpoint for the resource named Cluster Name.
57+
This example adds a cryptographic checkpoint for the resource named Cluster Name. This example uses
58+
splatting to pass parameter values from the `$Parameters` variable to the command. Learn more about
59+
[Splatting](/powershell/module/microsoft.powershell.core/about/about_splatting).
5960

6061
## PARAMETERS
6162

docset/winserver2022-ps/failoverclusters/Add-ClusterDisk.md

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
33
external help file: Microsoft.FailoverClusters.PowerShell.dll-Help.xml
44
Module Name: FailoverClusters
5-
ms.date: 10/21/2022
5+
ms.date: 11/22/2022
66
online version: https://learn.microsoft.com/powershell/module/failoverclusters/add-clusterdisk?view=windowsserver2022-ps&wt.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Add-ClusterDisk
@@ -21,53 +21,43 @@ Add-ClusterDisk [-InputObject] <PSObject[]> [-Cluster <String>] [<CommonParamete
2121

2222
## DESCRIPTION
2323

24-
The **Add-ClusterDisk** cmdlet makes a new disk available for use in a failover cluster. The disk
25-
(LUN) must be exposed to all nodes in the failover cluster, and should not be exposed to any other
24+
The `Add-ClusterDisk` cmdlet makes a new disk available for use in a failover cluster. The disk
25+
(LUN) must be exposed to all nodes in the failover cluster, and shouldn't be exposed to any other
2626
servers.
2727

2828
When adding a disk, make sure that the configuration of the storage allows the operating system to
2929
recognize and mount the disk as needed. The disk must be a basic disk, not a dynamic disk, and
30-
should not be exposed to servers outside the cluster. The **Get-ClusterAvailableDisk** cmdlet gets
30+
shouldn't be exposed to servers outside the cluster. The `Get-ClusterAvailableDisk` cmdlet gets
3131
information about disks that you can add to the cluster.
3232

3333
## EXAMPLES
3434

3535
### Example 1: Add available disks to the Available Storage group
3636

37-
```
38-
PS C:\> Get-ClusterAvailableDisk | Add-ClusterDisk
39-
Name State Group ResourceType
40-
---- ----- ----- ------------
41-
Cluster Disk 7 OnlinePending Available Storage Physical Disk
42-
Cluster Disk 8 OnlinePending Available Storage Physical Disk
37+
```powershell
38+
Get-ClusterAvailableDisk | Add-ClusterDisk
4339
```
4440

4541
This example identifies the disks that are ready to be added to the cluster, and then adds them to
4642
Available Storage cluster group.
4743

4844
### Example 2: Add a specific available disk to Available Storage
4945

50-
```
51-
PS C:\> Get-ClusterAvailableDisk | Where-Object -FilterScript { $_.ScsiAddress -Eq 50331651 } | Add-ClusterDisk
52-
Name State Group ResourceType
53-
---- ----- ----- ------------
54-
Cluster Disk 4 OnlinePending Available Storage Physical Disk
46+
```powershell
47+
Get-ClusterAvailableDisk | Where-Object -FilterScript { $_.ScsiAddress -Eq 50331651 } | Add-ClusterDisk
5548
```
5649

5750
This example examines disks that are ready to be added to the cluster, finds the disk with a
5851
specific SCSI address, and adds it to Available Storage cluster group.
5952

6053
### Example 3: Cluster a physical disk
6154

62-
```
63-
PS C:\> Get-Disk -Number 11 | Add-ClusterDisk
64-
Name State OwnerGroup ResourceType
65-
---- ----- ---------- ------------
66-
Cluster Disk 5 OnlinePending Available Storage Physical Disk
55+
```powershell
56+
Get-Disk -Number 11 | Add-ClusterDisk
6757
```
6858

69-
This example clusters a physical disk. This cmdlet adds a physical disk to the **Available Storage**
70-
for the cluster.
59+
This example clusters a physical disk. This cmdlet adds a physical disk to the cluster
60+
_Available Storage_.
7161

7262
## PARAMETERS
7363

@@ -91,7 +81,7 @@ Accept wildcard characters: False
9181
### -InputObject
9282
9383
Specifies the list of shared disks to add to the cluster. The list of disks is generated with the
94-
**Get-ClusterAvailableDisk** cmdlet.
84+
`Get-ClusterAvailableDisk` cmdlet.
9585

9686
```yaml
9787
Type: PSObject[]
@@ -118,7 +108,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
118108

119109
### Microsoft.Management.Infrastructure.CimInstance
120110

121-
This object is output from the Get-Disk and the **Get-VirtualDisk** cmdlets.
111+
This object is output from the `Get-Disk` and the `Get-VirtualDisk` cmdlets.
122112

123113
### Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_Disk
124114

docset/winserver2022-ps/failoverclusters/Add-ClusterFileServerRole.md

Lines changed: 23 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
33
external help file: Microsoft.FailoverClusters.PowerShell.dll-Help.xml
44
Module Name: FailoverClusters
5-
ms.date: 10/21/2022
5+
ms.date: 11/22/2022
66
online version: https://learn.microsoft.com/powershell/module/failoverclusters/add-clusterfileserverrole?view=windowsserver2022-ps&wt.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Add-ClusterFileServerRole
@@ -23,52 +23,44 @@ Add-ClusterFileServerRole -Storage <StringCollection> [-StaticAddress <StringCol
2323

2424
## DESCRIPTION
2525

26-
The **Add-ClusterFileServerRole** cmdlet creates a clustered file server resource group that
26+
The `Add-ClusterFileServerRole` cmdlet creates a clustered file server resource group that
2727
includes one or more disks, on which shared folders can be created for users.
2828

2929
When adding a clustered file server, specify a name for the file server, any IP address information
30-
that is not automatically supplied by your DHCP settings, and the storage volume or volumes that the
30+
that isn't automatically supplied by your DHCP settings, and the storage volume or volumes that the
3131
clustered file server should use.
3232

33-
Note: This cmdlet cannot be run remotely without Credential Security Service Provider (CredSSP)
34-
authentication on the server computer.
33+
> [!NOTE]
34+
> This cmdlet cannot be run remotely without Credential Security Service Provider (CredSSP)
35+
> authentication on the server computer.
3536
3637
## EXAMPLES
3738

3839
### Example 1: Create a clustered file server
3940

40-
```
41-
PS C:\> Add-ClusterFileServerRole -Storage "Cluster Disk 8"
42-
Name OwnerNode State
43-
---- --------- -----
44-
cluster1FS node1 Online
41+
```powershell
42+
Add-ClusterFileServerRole -Storage "Cluster Disk 8"
4543
```
4644

47-
This example creates a clustered file server using Cluster Disk 8, and assigns a default name.
45+
This example creates a clustered file server using `Cluster Disk 8`, and assigns a default name.
4846

4947
### Example 2: Create and name a clustered file server
5048

51-
```
52-
PS C:\> Add-ClusterFileServerRole -Storage "Cluster Disk 6" -Name cluster1FS12
53-
Name OwnerNode State
54-
---- --------- -----
55-
cluster1FS12 node1 Online
49+
```powershell
50+
Add-ClusterFileServerRole -Storage "Cluster Disk 6" -Name cluster1FS12
5651
```
5752

58-
This example creates a clustered file server using Cluster Disk 6, and assigns the name
59-
cluster1FS12.
53+
This example creates a clustered file server using `Cluster Disk 6`, and assigns the name
54+
`cluster1FS12`.
6055

6156
### Example 3: Create a clustered file server with no waiting for resources
6257

63-
```
64-
PS C:\> Add-ClusterFileServerRole -Storage "Cluster Disk 8" -Wait 0
65-
Name OwnerNode State
66-
---- --------- -----
67-
cluster1FS node1 Pending
58+
```powershell
59+
Add-ClusterFileServerRole -Storage "Cluster Disk 8" -Wait 0
6860
```
6961

70-
This example creates a clustered file server using Cluster Disk 8, and assigns a default name. The
71-
cmdlet completes without waiting for all resources to come online.
62+
This example creates a clustered file server using `Cluster Disk 8`, and assigns a default name.
63+
The cmdlet completes without waiting for all resources to come online.
7264

7365
## PARAMETERS
7466

@@ -92,8 +84,8 @@ Accept wildcard characters: False
9284
### -IgnoreNetwork
9385
9486
Specifies one or more networks to ignore when running the cmdlet. Networks with DHCP enabled are
95-
always included, but other networks need a static address to be specified using the *StaticAddress*
96-
parameter or should be explicitly ignored with this *IgnoreNetwork* parameter.
87+
always included, but other networks need a static address to be specified using the
88+
**StaticAddress** parameter or should be explicitly ignored with this **IgnoreNetwork** parameter.
9789
9890
```yaml
9991
Type: StringCollection
@@ -143,7 +135,7 @@ Accept wildcard characters: False
143135
144136
Specifies one or more static addresses to use when running the cmdlet. Networks with DHCP enabled
145137
are always included, but other networks need a static address to be specified using the
146-
*StaticAddress* parameter or should be explicitly ignored with this *IgnoreNetwork* parameter.
138+
**StaticAddress** parameter or should be explicitly ignored with this **IgnoreNetwork** parameter.
147139
148140
```yaml
149141
Type: StringCollection
@@ -175,9 +167,9 @@ Accept wildcard characters: False
175167
176168
### -Wait
177169
178-
Specifies the time in seconds to wait for the cmdlet. If the *Wait* parameter is not specified, then
179-
the cmdlet waits for completion. If `-Wait 0` is specified, then the call is initiated and the
180-
cmdlet returns without waiting.
170+
Specifies the time in seconds to wait for the cmdlet. If the **Wait** parameter isn't specified,
171+
then the cmdlet waits for completion. If the value `0` is specified, then the call is initiated and
172+
the cmdlet returns without waiting.
181173

182174
```yaml
183175
Type: Int32

0 commit comments

Comments
 (0)