Skip to content

Commit 21d96cd

Browse files
authored
Merge branch 'master' into patch-24
2 parents aebc149 + d685df5 commit 21d96cd

33 files changed

+289
-201
lines changed

docset/windows/addsadministration/set-aduser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ Accept wildcard characters: False
953953
### -Office
954954
Specifies the location of the user's office or place of business.
955955
This parameter sets the **Office** property of a user object.
956-
The LDAP display name (**ldapDisplayName**) of this property is office.
956+
The LDAP display name (**ldapDisplayName**) of this property is physicalDeliveryOfficeName.
957957

958958
```yaml
959959
Type: String

docset/windows/addsdeployment/uninstall-addsdomaincontroller.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,8 @@ Accept wildcard characters: False
256256
```
257257
258258
### -RemoveDnsDelegation
259-
Specifies whether to preserve DNS delegations that point to this DNS server from the parent DNS zone.
260259
261-
By default, this parameter is set to False, which means DNS delegations that point to this server from the parent DNS zone will not be retained after uninstallation of the domain controller.
260+
Specifies whether to preserve DNS delegation that point to this DNS server from the parent DNS Zone. If you use this parameter, DNS delegations that point to this server from the parent DNS zone will not be retained after uninstallation of the domain controller.
262261
This setting corresponds to the earlier Dcpromo.exe parameter default of /RemoveDNSDelegation:Yes.
263262
264263
```yaml

docset/windows/appx/remove-appxpackage.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,22 @@ An app package has an .appx file name extension.
5252
```
5353
PS C:\> Remove-AppxPackage -Package "package1_1.0.0.0_neutral__8wekyb3d8bbwe"
5454
```
55-
5655
This command removes an app package named package1_1.0.0.0_neutral__8wekyb3d8bbwe from the account of the current user.
5756

57+
### Example 2: Search using wildcards then remove the specific app package
58+
```
59+
PS C:\> Get-appxpackage *package*
60+
PS C:\> Remove-AppxPackage -Package "package1_1.0.0.0_neutral__8wekyb3d8bbwe"
61+
```
62+
This command will show all applications with the word "package". Copy the PackageFullName that you want to remove, then use it in the Remove-AppxPackage command.
63+
64+
### Example 3: Search using wildcards then remove all app package
65+
```
66+
PS C:\> Get-appxpackage *package*| Remove-AppxPackage
67+
```
68+
This command will delete all applications with the word "package".
69+
70+
5871
## PARAMETERS
5972

6073
### -AllUsers

docset/windows/dfsn/remove-dfsnroottarget.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ Accept wildcard characters: False
106106
```
107107
108108
### -Confirm
109-
Prompts you for confirmation before running the cmdlet.
109+
Prompts you for confirmation before running the cmdlet. The default value is **True** and asks for confirmation. If you do not want to confirm the operation, you must use the switch with the **False** value, as shown in this example:
110+
111+
**-Confirm:$False**
110112
111113
```yaml
112114
Type: SwitchParameter
@@ -115,7 +117,7 @@ Aliases: cf
115117

116118
Required: False
117119
Position: Named
118-
Default value: False
120+
Default value: True
119121
Accept pipeline input: False
120122
Accept wildcard characters: False
121123
```

docset/windows/dhcpserver/set-dhcpserverauditlog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Accept wildcard characters: False
147147
```
148148
149149
### -MaxMBFileSize
150-
Specifies the maximum size of the audit log, in megabytes (MB).
150+
Specifies the maximum disk space available for all DHCP service audit log files, in megabytes (MB).
151151
152152
```yaml
153153
Type: UInt32

docset/windows/dism/new-windowsimage.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,11 @@ Accept wildcard characters: False
8585
### -CompressionType
8686
Specifies the type of compression used for the initial capture operation:
8787
88-
- The maximum option provides the best compression, but takes more time to capture the image.
89-
- The fast option provides faster image compression, but the resulting files are larger than those compressed by using the maximum option.
90-
This is also the default compression type that is used if you do not specify the argument.
91-
- The none option does not compress the captured image at all.
88+
- **Max** = This option provides the best compression but takes more time to capture the image.
89+
- **Fast** = This option provides faster image compression but the resulting files are larger than those compressed using the maximum (max) option.
90+
- **None** = This option does not compress the captured image at all.
9291
93-
the *CompressionType* parameter does not apply when you export an image to an existing .wim file, you can only use this CompressionType when you export an image to a new .wim file.
92+
The *CompressionType* parameter does not apply when you export an image to an existing .wim file, you can only use this CompressionType when you export an image to a new .wim file.
9493
9594
```yaml
9695
Type: String
@@ -99,7 +98,7 @@ Aliases:
9998

10099
Required: False
101100
Position: Named
102-
Default value: None
101+
Default value: Fast
103102
Accept pipeline input: True (ByPropertyName)
104103
Accept wildcard characters: False
105104
```

docset/windows/dnsserver/register-dnsserverdirectorypartition.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ PS C:\> Register-DnsServerDirectoryPartition -Name "ADpart"
4444

4545
This command adds the local DNS server to the directory application partition named ADpart.
4646

47+
### Example 2: Register a remote DNS server to a directory application partition using FQDN
48+
```
49+
PS C:\> Register-DnsServerDirectoryPartition -Name "hr.dept.contoso.com"
50+
```
51+
52+
This command adds the local DNS server to the directory application partition named hr.dept.contoso.com.
53+
4754
## PARAMETERS
4855

4956
### -AsJob

docset/windows/dnsserver/test-dnsserver.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ Tests that a specified computer is a functioning DNS server.
2626
## SYNTAX
2727

2828
### Context (Default)
29-
```
29+
```yaml
3030
Test-DnsServer [-IPAddress] <IPAddress[]> [-ComputerName <String>] [[-Context] <String>]
3131
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]
3232
```
3333

3434
### ZoneMaster
35-
```
35+
```yaml
3636
Test-DnsServer [-IPAddress] <IPAddress[]> [-ComputerName <String>] -ZoneName <String>
3737
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]
3838
```
@@ -47,29 +47,29 @@ If you also specify a zone name, the cmdlet validates that the DNS server can re
4747
## EXAMPLES
4848

4949
### Example 1: Test whether a DNS server is functional
50-
```
50+
```Powershell
5151
PS C:\> Test-DnsServer -IPAddress 10.123.183.155
5252
5353
IPAddress Result RoundTripTime TcpTried UdpTried
5454
--------- -------- ------------ -------- --------
55-
10.123.183.155 Success 00:00:11 True True
55+
10.123.183.155 Success 00:00:11 False True
5656
```
5757

5858
This command tests whether the computer that has an IP address of 10.123.183.155 is a functional DNS server.
5959

6060
### Example 2: Test whether a DNS server is functional and has valid configured forwarders
61-
```
61+
```Powershell
6262
PS C:\> Test-DnsServer -IPAddress 10.123.183.155 -Context Forwarder
6363
6464
IPAddress Result RoundTripTime TcpTried UdpTried
6565
--------- -------- ------------ -------- --------
66-
10.123.183.155 Success 00:00:11 True True
66+
10.123.183.155 Success 00:00:11 False True
6767
```
6868

6969
This command tests whether the computer that has an IP address of 10.123.183.155 is a functional DNS server that has valid configured forwarders.
7070

7171
### Example 3: Test whether a DNS server is functional and has valid configured root hints
72-
```
72+
```Powershell
7373
PS C:\> Test-DnsServer -IPAddress 10.123.183.155 -Context RootHints
7474
7575
IPAddress Result RoundTripTime TcpTried UdpTried

docset/windows/failoverclusters/suspend-clusternode.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ Accept wildcard characters: False
126126
```
127127
128128
### -ForceDrain
129+
The -ForceDrain switch, used in conjunction with the -Drain switch, allows all the workloads to be safely moved to other nodes, while maintaining the highest levels of availability and using the best placement logic.
130+
131+
If some or all of the workloads can't be moved safely, any workload that failed will be stopped and moved to another node as a failed role. Thereafter, the node will be forced to pause.
132+
129133
130134
131135
```yaml

docset/windows/fileserverresourcemanager/new-fsrmstoragereport.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ PS C:\> $d = Get-Date "12:00am"
5151
5252
# This second command returns a **FsrmScheduledTask** object that describes a schedule that runs the task at midnight on the first day
5353
# of the month. The command stores results in the $task variable.
54-
PS C:\> $task = New-FsrmScheduledTask -Time $d.ToFileTimeUtc() -Monthly 1
54+
PS C:\> $task = New-FsrmScheduledTask -Time $d -Monthly 1
5555
5656
# The third command creates a LargeFiles storage report named "Find large files" on C:\Shares.
5757
# The command sets the schedule for the report stored in the $task variable, and limits the
@@ -69,7 +69,7 @@ PS C:\> $d = get-date "12:00am"
6969
# This second command returns an **FsrmScheduledTask** object that describes a schedule
7070
# that runs the task at midnight on the first day of the month. The command stores results in
7171
# the $task variable.
72-
PS C:\> $task = new-FsrmScheduledTask -Time $d.ToFileTimeUtc() -Monthly 1
72+
PS C:\> $task = new-FsrmScheduledTask -Time $d -Monthly 1
7373
7474
# The third command creates a LargeFiles storage report named "Find large files" that generates a
7575
# Large Files report on any folders whose Folder Usage property includes the User Data value.
@@ -88,7 +88,7 @@ PS C:\> $d = get-date "12:00am"
8888
# This second command returns a **FsrmScheduledTask** object that describes a schedule that
8989
# runs the task at midnight on the first day of the month. The command stores results in
9090
# the $task variable.
91-
PS C:\> $task = new-FsrmScheduledTask -Time $d.ToFileTimeUtc() -Monthly 1
91+
PS C:\> $task = new-FsrmScheduledTask -Time $d -Monthly 1
9292
9393
# The third command creates a storage report named "Find large files" and file groups on th
9494
# folder C:\Shares. The command sets the schedule for the report stored in the $task variable,

0 commit comments

Comments
 (0)