Skip to content

Commit 90ed71a

Browse files
authored
Merge branch 'master' into patch-14
2 parents 24640a2 + 98ef4fd commit 90ed71a

File tree

10 files changed

+154
-120
lines changed

10 files changed

+154
-120
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/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/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/remoteaccess/add-vpns2sinterface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ Accept wildcard characters: False
244244
```
245245
246246
### -AutoConnectEnabled
247-
{{Fill AutoConnectEnabled Description}}
247+
Specifies the activation of auto-reconnection.
248248
249249
```yaml
250250
Type: Boolean

docset/windows/remoteaccess/disconnect-vpnuser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Note: Only one of these methods can be used at a time.
5454

5555
### EXAMPLE 1
5656
```
57-
@{navigationLink=@{uri=http://go.microsoft.com/fwlink/p/?LinkId=113302; linkText=Format-List}; #text=System.Management.Automation.PSObject[]}
57+
Disconnect-VpnUser -HostIPAddress 10.1.1.11 -PassThru 10.1.1.11
5858
```
5959

6060
This example disconnects a VPN connection by specifying the host address.

docset/windows/remoteaccess/get-remoteaccessconnectionstatistics.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Get-RemoteAccessConnectionStatistics [-ComputerName <String>] [[-StartDateTime]
3939
```
4040

4141
## DESCRIPTION
42-
The **Get-RemoteAccessConnectionStatistics** cmdlet displays the statistics of the real-time, currently active DirectAccess (DA) and VPN connections and the statistics of DA and VPN historical connections for a specified time duration
42+
The **Get-RemoteAccessConnectionStatistics** cmdlet displays the statistics of the real-time, currently active DirectAccess (DA) and VPN connections and the statistics of DA and VPN historical connections for a specified time duration.
4343

4444
The statistics for active and historical connections starting or ending on a Remote Access (RA) server are stored in the inbox accounting store on that server.
4545
This cmdlet retrieves statistics for a specific server.
@@ -64,11 +64,8 @@ ConnectionDuration(s) : 220
6464
ConnectionType : Vpn
6565
AccessStatus : User Mode/Full Corp Access
6666
67-
6867
PS C:\>Disconnect-VpnUser -HostIPAddress 10.1.1.11 -PassThru10.1.1.11
6968
70-
71-
7269
PS C:\>Get-RemoteAccessConnectionStatistics | Format-List -Property *
7370
```
7471

@@ -79,7 +76,11 @@ The output of this cmdlet is piped to the [Format-List](http://go.microsoft.com/
7976

8077
### EXAMPLE 2
8178
```
82-
@{navigationLink=System.Management.Automation.PSObject[]; #text=System.Management.Automation.PSObject[]}
79+
PS C:\>$startDate = Get-Date -Date "12/23/2011"
80+
81+
PS C:\>$endDate = Get-Date -Date "05/23/2012"
82+
83+
PS C:\>Get-RemoteAccessConnectionStatistics -StartDateTime $startDate -EndDateTime $endDate | Export-Csv -Path "data.csv"
8384
```
8485

8586
This example gets a list of historic connections and export them to a .csv file.
@@ -88,7 +89,6 @@ This example gets a list of historic connections and export them to a .csv file.
8889
```
8990
PS C:\>$enddate = Get-Date -Date "12/23/2011"
9091
91-
9292
The data is exported from server start date to the specified end date. Note: The starting date does not need to be explicitly specified here.
9393
PS C:\>Get-RemoteAccessConnectionStatistics -EndDateTime $enddate | Export-Csv -Path "data.csv"
9494
```

docset/windows/scheduledtasks/new-scheduledtasktrigger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ Accept wildcard characters: False
342342
```
343343
344344
### -ThrottleLimit
345-
{{Fill ThrottleLimit Description}}
345+
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 Windows 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.
346346

347347
```yaml
348348
Type: Int32

docset/windows/scheduledtasks/set-scheduledtask.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,17 @@ The second command adds (or replaces) the $Time trigger in the scheduled task So
7070
```
7171
PS C:\> $Act1 = New-ScheduledTaskAction -Execute "Notepad.exe"
7272
PS C:\> $Act2 = New-ScheduledTaskAction -Execute "Calc.exe"
73-
PS C:\> Set-ScheduledTask "DeployTools" -Action $A1,$A2
73+
PS C:\> Set-ScheduledTask "DeployTools" -Action $Act1,$Act2
7474
TaskPath TaskName
7575
-------- --------
7676
\ DeployTools
7777
```
7878

7979
In this example, the set of commands uses cmdlets and variables to modify a scheduled task.
8080

81-
In this example, the first command uses the New-ScheduledTaskAction cmdlet to define an action, to which the $A1 variable is assigned.
81+
The first command uses the **New-ScheduledTaskAction** cmdlet to define an action, to which the $Act1 variable is assigned.
8282

83-
The second command uses the **New-ScheduledTaskAction** cmdlet to define a second action, to which the $A2 variable is assigned.
83+
The second command uses the **New-ScheduledTaskAction** cmdlet to define a second action, to which the $Act2 variable is assigned.
8484

8585
The third command adds the two actions to the scheduled task DeployTools.
8686

docset/windows/storage/get-physicalextent.md

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,22 @@ ms.assetid: 65DD9798-9AF5-4E64-AA66-421AA98F8704
2121
# Get-PhysicalExtent
2222

2323
## SYNOPSIS
24-
Gets physical allocations for a physical disk, storage tier, or virtual disk.
24+
This cmdlet gets physical allocations for a physical disk, storage tier, or virtual disk. The "extent" (also known as "allocation" or "slab") is the area on a pooled disk containing one fragment of data for storage space.
2525

2626
## SYNTAX
2727

2828
### ByVirtualDisk
29-
```
29+
```yaml
3030
Get-PhysicalExtent -VirtualDisk <CimInstance> [-CimSession <CimSession>] [<CommonParameters>]
3131
```
3232

3333
### ByStorageTier
34-
```
34+
```yaml
3535
Get-PhysicalExtent -StorageTier <CimInstance> [-CimSession <CimSession>] [<CommonParameters>]
3636
```
3737

3838
### ByPhysicalDisk
39-
```
39+
```yaml
4040
Get-PhysicalExtent -PhysicalDisk <CimInstance> [-CimSession <CimSession>] [<CommonParameters>]
4141
```
4242

@@ -45,14 +45,36 @@ The **Get-PhysicalExtent** cmdlet gets the physical allocations for a physical d
4545

4646
## EXAMPLES
4747

48-
### Example 1: Get all physical extents on a disk
48+
### Example 1: Get physical extents on one specific physical disks
49+
```Powershell
50+
PS C:\>Get-PhysicalExtent -PhysicalDisk $(Get-PhysicalDisk)[0]
4951
```
52+
This command gets physical extents on all physical disks on the computer.
53+
54+
### Example 2: Get all physical extents on all physical disks
55+
56+
```Powershell
57+
PS C:\>Get-PhysicalDisk | Get-PhysicalExtent
58+
```
59+
60+
This command gets all physical extents on all physical disks on the computer.
61+
62+
### Example 3: Get extents on a specific disk
63+
```Powershell
5064
PS C:\>Get-PhysicalExtent -PhysicalDisk (Get-PhysicalDisk -FriendlyName "PhysicalDisk4")
5165
```
5266

5367
This command gets all physical extents on the physical disk named PhysicalDisk4.
5468
The command uses **Get-PhysicalDisk** to obtain PhysicalDisk4.
5569

70+
### Example 4: Get all physical extents on a disk (Other Version)
71+
```Powershell
72+
PS C:\>Get-PhysicalDisk -FriendlyName "PhysicalDisk4" | Get-PhysicalExtent
73+
```
74+
75+
This command gets all physical extents on the physical disk named PhysicalDisk4, using PowerShell pipe.
76+
The command uses **Get-PhysicalDisk** to obtain PhysicalDisk4.
77+
5678
## PARAMETERS
5779

5880
### -CimSession

0 commit comments

Comments
 (0)