Skip to content

Commit 27c542f

Browse files
Merge branch 'main' into patch-3
2 parents 64a3298 + 13cbf7a commit 27c542f

File tree

20 files changed

+64
-40
lines changed

20 files changed

+64
-40
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ The **New-SMBShare** cmdlet exposes a file system folder to remote clients as a
2525

2626
To delete a share that was created by this cmdlet, use the Remove-SMBShare cmdlet.
2727

28+
> [!NOTE]
29+
> The **WhatIf** parameter does not work with this cmdlet.
30+
2831
## EXAMPLES
2932

3033
### EXAMPLE 1
@@ -376,8 +379,6 @@ Accept wildcard characters: False
376379
Shows what would happen if the cmdlet runs.
377380
The cmdlet is not run.
378381

379-
NOTE: The WhatIf switch does not work with this cmdlet.
380-
381382
```yaml
382383
Type: SwitchParameter
383384
Parameter Sets: (All)

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ The **New-SMBShare** cmdlet exposes a file system folder to remote clients as a
2828

2929
To delete a share that was created by this cmdlet, use the Remove-SMBShare cmdlet.
3030

31+
> [!NOTE]
32+
> The **WhatIf** parameter does not work with this cmdlet.
33+
3134
## EXAMPLES
3235

3336
### EXAMPLE 1
@@ -396,8 +399,6 @@ Accept wildcard characters: False
396399
Shows what would happen if the cmdlet runs.
397400
The cmdlet is not run.
398401

399-
NOTE: The WhatIf switch does not work with this cmdlet.
400-
401402
```yaml
402403
Type: SwitchParameter
403404
Parameter Sets: (All)

docset/winserver2016-ps/defender/Set-MpPreference.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ Configures preferences for Windows Defender scans and updates.
1515

1616
## SYNTAX
1717

18-
```
18+
19+
```powershell
1920
Set-MpPreference [-ExclusionPath <String[]>] [-ExclusionExtension <String[]>] [-ExclusionProcess <String[]>]
2021
[-RealTimeScanDirection <ScanDirection>] [-QuarantinePurgeItemsAfterDelay <UInt32>]
2122
[-RemediationScheduleDay <Day>] [-RemediationScheduleTime <DateTime>]
@@ -66,14 +67,16 @@ The following table provides remediation action values for detected threats at l
6667
## EXAMPLES
6768

6869
### Example 1: Schedule to check for definition updates everyday
69-
```
70+
71+
```sql
7072
PS C:\> Set-MpPreference -SignatureScheduleDay Everyday
7173
```
7274

7375
This command configures preferences to check for definition updates every day.
7476

7577
### Example 2: Schedule a time of day to check for definition updates
76-
```
78+
79+
```sql
7780
PS C:\> Set-MpPreference -SignatureScheduleTime 120
7881
```
7982

@@ -780,7 +783,7 @@ The acceptable values for this parameter are: integers from 5 through 100, and t
780783
Windows Defender does not exceed the percentage of CPU usage that you specify.
781784
The default value is 50.
782785
783-
Note: This is not a hard limit but rather a guidance for the scanning engine to not exceed this maximum on average.
786+
Note: This is not a hard limit but rather a guidance for the scanning engine to not exceed this maximum on average. If ScanOnlyIfIdleEnabled (instructing the product to scan only when the computer is not in use) and DisableCpuThrottleOnIdleScans (instructing the product to disable CPU throttling on idle scans) are both enabled, then the value of ScanAvgCPULoadFactor is ignored.
784787
785788
```yaml
786789
Type: Byte
@@ -1253,3 +1256,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
12531256
[Get-MpPreference](./Get-MpPreference.md)
12541257

12551258
[Remove-MpPreference](./Remove-MpPreference.md)
1259+

docset/winserver2016-ps/defender/Update-MpSignature.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ PS C:\> Update-MpSignature
3131
```
3232

3333
This command updates the antimalware definitions.
34-
By default, the cmdlet uses the default update source.
34+
By default, the cmdlet uses the sources configured through [SignatureFallbackOrder](Set-MpPreference.yml#-signaturefallbackorder). If no signature fallback order is configured, the cmdlet uses the default update source.
3535

3636
### Example 2: Update signatures from a specific source
3737
```
@@ -101,7 +101,7 @@ Accept wildcard characters: False
101101
### -UpdateSource
102102
Specifies an update source.
103103
This cmdlet downloads updated definitions from the server you specify.
104-
If you do not specify this parameter, the cmdlet uses the Microsoft Update Server, then Microsoft Malware Protection Center (MMPC), as an update source.
104+
If you do not specify this parameter, the cmdlet uses the sources configured through [SignatureFallbackOrder](Set-MpPreference.yml#-signaturefallbackorder). If no signature fallback order is configured, the cmdlet uses Microsoft Update Server, then Microsoft Malware Protection Center (MMPC) as an update source.
105105
The acceptable values for this parameter are:
106106

107107
- InternalDefinitionUpdateServer
@@ -135,3 +135,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
135135

136136
## RELATED LINKS
137137

138+

docset/winserver2016-ps/grouppolicy/Copy-GPO.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ PS C:\> Copy-GPO -SourceName "TestGpo1" -SourceDomain "test.contoso.com" TargetN
7777
This command copies the TestGpo1 GPO from the test.contoso.com domain to a GPO named TestGpo1 in the sales.contoso.com domain.
7878

7979
A trust relationship must exist between the source domain and the destination domain.
80-
In addition, if the source domain or the destination domain (or both) is different than the domain of the user that is running the session.a trust must exist between that domain and the domain of the user.
80+
In addition, if the source domain or the destination domain (or both) is different than the domain of the user that is running the session a trust must exist between that domain and the domain of the user.
8181

8282
### Example 3: Copy all GPOs from a domain to another domain
8383
```

docset/winserver2016-ps/remoteaccess/Add-BgpRouter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This cmdlet returns error information if errors occur while adding the BGP route
3434
```
3535
PS C:\>Add-BgpRouter -BgpIdentifier 10.1.1.10-LocalASN 64522 -PassThru
3636
RoutingDomain :
37-
BgpIdentifier : 192.168.1.10
37+
BgpIdentifier : 10.1.1.10
3838
LocalASN : 64522
3939
CompareMEDAcrossASN : False
4040
DefaultGatewayRouting : False

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ The **New-SmbShare** cmdlet exposes a file system folder to remote clients as a
2929

3030
To delete a share that was created by this cmdlet, use the Remove-SmbShare cmdlet.
3131

32+
> [!NOTE]
33+
> The **WhatIf** parameter does not work with this cmdlet.
34+
3235
## EXAMPLES
3336

3437
### Example 1: Create an SMB share
@@ -412,8 +415,6 @@ Accept wildcard characters: False
412415
Shows what would happen if the cmdlet runs.
413416
The cmdlet is not run.
414417

415-
NOTE: The WhatIf switch does not work with this cmdlet.
416-
417418
```yaml
418419
Type: SwitchParameter
419420
Parameter Sets: (All)

docset/winserver2019-ps/defender/Set-MpPreference.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ Configures preferences for Windows Defender scans and updates.
1515

1616
## SYNTAX
1717

18-
```
18+
19+
```powershell
1920
Set-MpPreference [-ExclusionPath <String[]>] [-ExclusionExtension <String[]>] [-ExclusionProcess <String[]>]
2021
[-RealTimeScanDirection <ScanDirection>] [-QuarantinePurgeItemsAfterDelay <UInt32>]
2122
[-RemediationScheduleDay <Day>] [-RemediationScheduleTime <DateTime>]
@@ -45,7 +46,7 @@ Set-MpPreference [-ExclusionPath <String[]>] [-ExclusionExtension <String[]>] [-
4546
[-DisableBlockAtFirstSeen <Boolean>] [-PUAProtection <PUAProtectionType>] [-CimSession <CimSession[]>]
4647
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]
4748
[-DisableGradualRelease <Boolean>] [-DefinitionUpdatesChannel <UpdatesChannelType>] [-EngineUpdatesChannel <UpdatesChannelType>] [-PlatformUpdatesChannel <UpdatesChannelType>][-CloudBlockLevel <CloudBlockLevelType>][-ServiceHealthReportInterval <UInt32>]
48-
```
49+
```
4950

5051
## DESCRIPTION
5152
The **Set-MpPreference** cmdlet configures preferences for Windows Defender scans and updates.
@@ -70,15 +71,17 @@ The following table provides remediation action values for detected threats at l
7071

7172
### Example 1: Schedule to check for definition updates everyday
7273

73-
```
74+
75+
```sql
7476
PS C:\> Set-MpPreference -SignatureScheduleDay Everyday
7577
```
7678

7779
This command configures preferences to check for definition updates every day.
7880

7981
### Example 2: Schedule a time of day to check for definition updates
8082

81-
```
83+
84+
```sql
8285
PS C:\> Set-MpPreference -SignatureScheduleTime 02:00:00
8386
```
8487

@@ -915,7 +918,7 @@ The default value is 50.
915918

916919
Note: This limit isn’t a hard limit but rather guidance for the scanning engine to not exceed this maximum on average.
917920

918-
Note: Manually run scans will ignore this setting and run without any CPU limits.
921+
Note: Manually run scans will ignore this setting and run without any CPU limits. If ScanOnlyIfIdleEnabled (instructing the product to scan only when the computer is not in use) and DisableCpuThrottleOnIdleScans (instructing the product to disable CPU throttling on idle scans) are both enabled, then the value of ScanAvgCPULoadFactor is ignored.
919922

920923
```yaml
921924
Type: Byte
@@ -1418,3 +1421,4 @@ This cmdlet supports the common parameters: `-Debug`, `-ErrorAction`, `-ErrorVar
14181421
[Get-MpPreference](./Get-MpPreference.md)
14191422

14201423
[Remove-MpPreference](./Remove-MpPreference.md)
1424+

docset/winserver2019-ps/defender/Update-MpSignature.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ PS C:\> Update-MpSignature
3131
```
3232

3333
This command updates the antimalware definitions.
34-
By default, the cmdlet uses the default update source.
34+
By default, the cmdlet uses the sources configured through [SignatureFallbackOrder](Set-MpPreference.yml#-signaturefallbackorder). If no signature fallback order is configured, the cmdlet uses the default update source.
3535

3636
### Example 2: Update signatures from a specific source
3737
```
@@ -101,7 +101,7 @@ Accept wildcard characters: False
101101
### -UpdateSource
102102
Specifies an update source.
103103
This cmdlet downloads updated definitions from the server you specify.
104-
If you do not specify this parameter, the cmdlet uses the Microsoft Update Server, then Microsoft Malware Protection Center (MMPC), as an update source.
104+
If you do not specify this parameter, the cmdlet uses the sources configured through [SignatureFallbackOrder](Set-MpPreference.yml#-signaturefallbackorder). If no signature fallback order is configured, the cmdlet uses Microsoft Update Server, then Microsoft Malware Protection Center (MMPC) as an update source.
105105
The acceptable values for this parameter are:
106106

107107
- InternalDefinitionUpdateServer
@@ -135,3 +135,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
135135

136136
## RELATED LINKS
137137

138+

docset/winserver2019-ps/grouppolicy/Copy-GPO.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ PS C:\> Copy-GPO -SourceName "TestGpo1" -SourceDomain "test.contoso.com" TargetN
7777
This command copies the TestGpo1 GPO from the test.contoso.com domain to a GPO named TestGpo1 in the sales.contoso.com domain.
7878

7979
A trust relationship must exist between the source domain and the destination domain.
80-
In addition, if the source domain or the destination domain (or both) is different than the domain of the user that is running the session.a trust must exist between that domain and the domain of the user.
80+
In addition, if the source domain or the destination domain (or both) is different than the domain of the user that is running the session a trust must exist between that domain and the domain of the user.
8181

8282
### Example 3: Copy all GPOs from a domain to another domain
8383
```

0 commit comments

Comments
 (0)