Skip to content

Commit 363d1f1

Browse files
IngridAtMicrosoftdariomwsget-itips
authored
Apply suggestions from code review
Co-authored-by: Dario Woitasen <[email protected]> Co-authored-by: Andres Mariano Gorzelany <[email protected]>
1 parent a54ef2e commit 363d1f1

16 files changed

+40
-36
lines changed

docset/winserver2022-ps/smbshare/Disable-SmbDelegation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
9292
## OUTPUTS
9393
9494
### System.Object
95+
9596
## NOTES
9697
* This cmdlet relies on Active Directory Windows PowerShell cmdlets to perform its actions. Before you use this cmdlet, you must install the Active Directory cmdlets. To install the Active Directory cmdlets, run the following command:
9798
`Install-WindowsFeature RSAT-AD-PowerShell`

docset/winserver2022-ps/smbshare/Enable-SmbDelegation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
7676
## OUTPUTS
7777
7878
### System.Object
79+
7980
## NOTES
8081
* This cmdlet relies on Active Directory Windows PowerShell cmdlets to perform its actions. Before you use this cmdlet, you must install the Active Directory cmdlets. To install the Active Directory cmdlets, run the following command:
8182
`Install-WindowsFeature RSAT-AD-PowerShell`

docset/winserver2022-ps/smbshare/Get-SmbDelegation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
6060
## OUTPUTS
6161
6262
### System.Object
63+
6364
## NOTES
6465
* This cmdlet relies on Active Directory Windows PowerShell cmdlets to perform its actions. Before you use this cmdlet, you must install the Active Directory cmdlets. To install the Active Directory cmdlets, run the following command:
6566
`Install-WindowsFeature RSAT-AD-PowerShell`

docset/winserver2022-ps/smbshare/Get-SmbGlobalMapping.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The **Get-SmbGlobalMapping** cmdlet retrieves an SMB global mapping on the SMB c
3030
This command retrieves the SMB client directory global mappings created for the SMB server.
3131

3232
```powershell
33-
Get-SmbGlobalMapping
33+
PS C:\> Get-SmbGlobalMapping
3434
```
3535

3636
```output

docset/winserver2022-ps/smbshare/Get-SmbServerCertProps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The **Get-SmbServerCertProps** cmdlet retrieves the properties of a certificate
2929
This command retrieves the properties and validity of the `2022-ae-02.corp.contoso.com` SMB over QUIC endpoint certificate mapping.
3030

3131
```powershell
32-
Get-SmbServerCertProps `-Name` 2022-ae-02.corp.contoso.com
32+
PS C:\> Get-SmbServerCertProps `-Name` 2022-ae-02.corp.contoso.com
3333
```
3434
```Output
3535
Checking Mapping '2022-ae-02.corp.contoso.com'.....

docset/winserver2022-ps/smbshare/Get-SmbServerCertificateMapping.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Module Name: SmbShare
55
ms.date: 08/31/2021
66
online version: https://docs.microsoft.com/powershell/module/smbshare/get-smbservercertificatemapping?view=windowsserver2022-ps&wt.mc_id=ps-gethelp
77
schema: 2.0.0
8-
title: Get-SmbCertificateMapping
8+
title: Get-SmbServerCertificateMapping
99
---
1010

1111
# Get-SmbServerCertificateMapping
@@ -31,7 +31,7 @@ The **Get-SmbServerCertificateMapping** cmdlet retrieves the certificates associ
3131
This command retrieves the certificate mapped to two SMB over QUIC server names that clients can connect to, `fs2.contoso.com` and `2022-ae-02.corp.contoso.com`.
3232

3333
```powershell
34-
Get-SmbServerCertificateMapping
34+
PS C:\> Get-SmbServerCertificateMapping
3535
```
3636
```output
3737
Name Subject Thumbprint DisplayName StoreName Type Flags
@@ -91,9 +91,9 @@ Accept wildcard characters: False
9191
Specifies if `NamedPipes` are enabled for SMB over QUIC. The acceptable values for this parameter are:
9292

9393

94-
- `None` Remove all flags
95-
- `AllowNamedPipe` Enable use of named pipes in SMB over QUIC connections for this mapping (off by default, overrides value of RestrictNamedPipeAccessOverQuic)
96-
- `DefaultCert` Not used
94+
- `None:` Remove all flags
95+
- `AllowNamedPipe:` Enable use of named pipes in SMB over QUIC connections for this mapping (off by default, overrides value of RestrictNamedPipeAccessOverQuic)
96+
- `DefaultCert:` Not used
9797

9898
```yaml
9999
Type: Flags[]
@@ -201,7 +201,7 @@ Accept wildcard characters: False
201201
### -Type
202202
Specifies the type of certificate mapping. The acceptable value for this parameter is:
203203

204-
`QUIC` Certificate mapping is for SMB over QUIC.
204+
`QUIC:` Certificate mapping is for SMB over QUIC.
205205

206206
```yaml
207207
Type: Type[]

docset/winserver2022-ps/smbshare/New-SmbGlobalMapping.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ New-SmbGlobalMapping [[-LocalPath] <String>] [-RemotePath] <String> -Credential
2323
```
2424

2525
## DESCRIPTION
26-
The New-SmbGlobalMapping cmdlet creates an SMB global mapping on the SMB client to an SMB share. Global mappings allow all users to use the same mapping. Its primary use is for Windows Containers.
26+
The **New-SmbGlobalMapping** cmdlet creates an SMB global mapping on the SMB client to an SMB share. Global mappings allow all users to use the same mapping. Its primary use is for Windows Containers.
2727

2828
## EXAMPLES
2929

@@ -35,7 +35,7 @@ Status Local Path Remote Path
3535
OK G: \\fs1.contoso.com\public
3636
```
3737

38-
This command will gather the credentials for the global mapping. It then maps the remote share path \\fs1.contoso.com\public to the “G:” drive letter. Any users, applications, or containers can now access data on the G: drive.
38+
This command will gather the credentials for the global mapping. It then maps the remote share path "\\fs1.contoso.com\public" to the "G:" drive letter. Any users, applications, or containers can now access data on the G: drive.
3939

4040
## PARAMETERS
4141

@@ -70,7 +70,7 @@ Accept wildcard characters: False
7070
```
7171
7272
### -Credential
73-
Specifies a credential gathered with Get-Credential
73+
Specifies a credential gathered with Get-Credential.
7474
7575
```yaml
7676
Type: PSCredential
@@ -130,7 +130,7 @@ Accept wildcard characters: False
130130
```
131131
132132
### -Persistent
133-
Indicates that this connection is recreated after reboot
133+
Indicates that this connection is recreated after reboot.
134134
135135
```yaml
136136
Type: Boolean

docset/winserver2022-ps/smbshare/New-SmbMapping.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,9 @@ Accept wildcard characters: False
257257
### -TransportType
258258
Specifies the network transport used by SMB. The acceptable values for this parameter are:
259259

260-
- **TCP** Use TCP network transport.
261-
- **QUIC** Use QUIC network transport.
262-
- **None** Use default transport behavior (first try TCP then try QUIC).
260+
- `TCP:` Use TCP network transport.
261+
- `QUIC:` Use QUIC network transport.
262+
- `None"` Use default transport behavior (first try TCP then try QUIC).
263263

264264
```yaml
265265
Type: TransportType

docset/winserver2022-ps/smbshare/New-SmbServerCertificateMapping.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Module Name: SmbShare
55
online version: https://docs.microsoft.com/powershell/module/smbshare/new-smbservercertificatemapping?view=windowsserver2022-ps&wt.mc_id=ps-gethelp
66
schema: 2.0.0
77
ms.date: 08/31/2021
8-
title: SmbServerCertificateMapping
8+
title: New-SmbServerCertificateMapping
99
---
1010

1111
# New-SmbServerCertificateMapping
@@ -89,9 +89,9 @@ Accept wildcard characters: False
8989
### -Flags
9090
Specifies if Named Pipes are enabled for SMB over QUIC. The acceptable values for this parameter are:
9191
92-
- `None` Remove all flags.
93-
- `AllowNamedPipe` Enable use of named pipes in SMB over QUIC connections for this mapping (off by default, overrides the value of RestrictNamedPipeAccessOverQuic).
94-
- `DefaultCert` Not used.
92+
- `None:` Remove all flags.
93+
- `AllowNamedPipe:` Enable use of named pipes in SMB over QUIC connections for this mapping (off by default, overrides the value of RestrictNamedPipeAccessOverQuic).
94+
- `DefaultCert:` Not used.
9595

9696
```yaml
9797
Type: Flags

docset/winserver2022-ps/smbshare/New-SmbShare.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,9 @@ Accept wildcard characters: False
297297
298298
Specifies SMB leasing and oplock behaviors for application compatibility. The acceptable values for this parameter are:
299299
300-
- **Full** Use default lease and oplock behaviors from SMB3.
301-
- **Shared** Grant read-caching lease but not write or handle-caching.
302-
- **None** = No oplocks or leases, behave like SMB1 (not recommended).
300+
- `Full:` Use default lease and oplock behaviors from SMB3.
301+
- `Shared:` Grant read-caching lease but not write or handle-caching.
302+
- `None:` = No oplocks or leases, behave like SMB1 (not recommended).
303303

304304
```yaml
305305
Type: LeasingMode

0 commit comments

Comments
 (0)