Skip to content

Commit

Permalink
Merge branch 'New_HyperV_VHD_Update' of https://github.com/Xelu86/win…
Browse files Browse the repository at this point in the history
…dows-powershell-docs into New_HyperV_VHD_Update
  • Loading branch information
Xelu86 committed Jul 31, 2023
2 parents 413fae2 + d9e0c69 commit f6c981a
Show file tree
Hide file tree
Showing 51 changed files with 74 additions and 68 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Description
Create a new central access rule named "Finance Documents Rule" with a new resource condition and new permissions.

The new rule specifies that documents should only be read by members of the Finance department.
Members of the Finance department should only be able to access documents in their own country.
Members of the Finance department should only be able to access documents in their own country/region.
Only Finance Administrators should have write access.
The rule allows an exception for members of the FinanceException group.
This group will have read access.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Aliases: cf

Required: False
Position: Named
Default value: False
Default value: True
Accept pipeline input: False
Accept wildcard characters: False
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Description
Set the central access rule named "Finance Documents Rule" with a new resource condition and new permissions.

The new rule specifies that documents should only be read by members of the Finance department.
Members of the Finance department should only be able to access documents in their own country.
Members of the Finance department should only be able to access documents in their own country/region.
Only Finance Administrators should have write access.
The rule allows an exception for members of the FinanceException group.
This group will have read access.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ Accept wildcard characters: False
```
### -RACountry
Specifies the country of the registration authority.
Specifies the country/region of the registration authority.
```yaml
Type: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ Accept wildcard characters: False
### -Timeout
Determines the number of seconds that a DNS server waits before it stops trying to contact a remote server.
The valid value is in the range of 0x1 to 0xFFFFFFFF (1 second to 15 seconds).
The default setting is 0xF (15 seconds).
The default setting is 0x8 (8 seconds).
We recommend that you increase this value when recursion occurs over a slow link.

```yaml
Expand Down
2 changes: 1 addition & 1 deletion docset/winserver2012-ps/hyper-v/Export-VM.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Export-VM [-VM] <VirtualMachine[]> [-Path] <String> [-AsJob] [-Passthru]
## DESCRIPTION
The **Export-VM** cmdlet exports a virtual machine to disk.
This cmdlet creates a folder at a specified location having three subfolders: Snapshots, Virtual Hard Disks, and Virtual Machines.
The Snapshots and Virtual Hard Disks folders contain the snapshots of and virtual hard disks of the specified virtual machine respectively.
Each of these folders contains the associated files. The Snapshots folder contains the associated Snapshots, and the Virtual Hard Disk folder contains the specified virtual machine's virtual disks.
The Virtual Machines folder contains the configuration XML of the specified virtual machine.

## EXAMPLES
Expand Down
2 changes: 1 addition & 1 deletion docset/winserver2012-ps/hyper-v/Set-VHD.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ This operation cannot be performed when the virtual disk chain is attached.

### Example 3
```
PS C:\>Set-VHD -Path Child1.vhd -parentpath parentcopywithnewid.vhd -IgnoreMismatchId
PS C:\>Set-VHD -Path Child1.vhd -parentpath parentcopywithnewid.vhd -IgnoreIdMismatch
```

This example sets the parent of Child1.vhd to point to parentcopywithnewid.vhd, even though parentcopywithnewid.vhd has a different ID than the original parent of child1.vhd.
Expand Down
4 changes: 2 additions & 2 deletions docset/winserver2012-ps/nettcpip/Get-NetIPInterface.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ Accept wildcard characters: False
### -BaseReachableTimeMs
Gets IP interface properties only for interfaces by the BaseReachableTime property.
This parameter is the base for random reachable time, in milliseconds.
This parameter is described in RFC 2461http://go.microsoft.com/fwlink/p/?LinkId=84044.
The default BaseReachableTime setting is `30`.
This parameter is described in [RFC 2461](https://go.microsoft.com/fwlink/p/?LinkId=84044).
The default BaseReachableTime setting is `30000`.

```yaml
Type: UInt32[]
Expand Down
2 changes: 1 addition & 1 deletion docset/winserver2012-ps/vpnclient/Add-VpnConnection.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ For more information about custom EAP authentication methods, see the **New-EapC

### Example 5: Add a VPN connection that uses already generated EAP XML configuration
```powershell
PS C:\> $EAPXml = [xml]Get-Content -Path C:\eap-config.xml
PS C:\> $EAPXml = Get-Content -Path C:\eap-config.xml
PS C:\> Add-VpnConnection -Name "Test6" -ServerAddress "10.1.1.1" -TunnelType "L2tp" -EncryptionLevel "Required" -AuthenticationMethod Eap -SplitTunneling -AllUserConnection -RememberCredential -EapConfigXmlStream $EAPXml
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ PS C:\> Set-ADCentralAccessRule -Identity "Finance Documents Rule" -ResourceCond
This command creates a central access rule named Finance Documents Rule with a new resource condition and new permissions.

The new rule specifies that documents should only be read by members of the Finance department.
Members of the Finance department should only be able to access documents in their own country.
Members of the Finance department should only be able to access documents in their own country/region.
Only Finance Administrators should have write access.
The rule allows an exception for members of the FinanceException group.
This group will have read access.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Aliases: cf

Required: False
Position: Named
Default value: False
Default value: True
Accept pipeline input: False
Accept wildcard characters: False
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ PS C:\> Set-ADCentralAccessRule -Identity "Finance Documents Rule" -ResourceCond
This example sets the central access rule named Finance Documents Rule with a new resource condition and new permissions.

The new rule specifies that documents should only be read by members of the Finance department.
Members of the Finance department should only be able to access documents in their own country.
Members of the Finance department should only be able to access documents in their own country/region.
Only Finance Administrators should have write access.
The rule allows an exception for members of the FinanceException group.
This group will have read access.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ Accept wildcard characters: False
```
### -RACountry
Specifies the country of the registration authority.
Specifies the country/region of the registration authority.
```yaml
Type: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Accept wildcard characters: False
### -Timeout
Determines the number of seconds that a DNS server waits before it stops trying to contact a remote server.
The valid value is in the range of 0x1 to 0xFFFFFFFF (1 second to 15 seconds).
The default setting is 0xF (15 seconds).
The default setting is 0x8 (8 seconds).
We recommend that you increase this value when recursion occurs over a slow link.

```yaml
Expand Down
2 changes: 1 addition & 1 deletion docset/winserver2012r2-ps/hyper-v/Export-VM.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Export-VM [-Path] <String> [-AsJob] [-Passthru] [-VM] <VirtualMachine[]> [-WhatI
## DESCRIPTION
The **Export-VM** cmdlet exports a virtual machine to disk.
This cmdlet creates a folder at a specified location having three subfolders: Snapshots, Virtual Hard Disks, and Virtual Machines.
The Snapshots and Virtual Hard Disks folders contain the snapshots of and virtual hard disks of the specified virtual machine respectively.
Each of these folders contains the associated files. The Snapshots folder contains the associated Snapshots, and the Virtual Hard Disk folder contains the specified virtual machine's virtual disks.
The Virtual Machines folder contains the configuration XML of the specified virtual machine.

## EXAMPLES
Expand Down
2 changes: 1 addition & 1 deletion docset/winserver2012r2-ps/hyper-v/Set-VHD.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ This operation cannot be performed when the virtual disk chain is attached.

### Example 3
```
PS C:\>Set-VHD -Path Child1.vhd -parentpath parentcopywithnewid.vhd -IgnoreMismatchId
PS C:\>Set-VHD -Path Child1.vhd -parentpath parentcopywithnewid.vhd -IgnoreIdMismatch
```

This example sets the parent of Child1.vhd to point to parentcopywithnewid.vhd, even though parentcopywithnewid.vhd has a different ID than the original parent of child1.vhd.
Expand Down
4 changes: 2 additions & 2 deletions docset/winserver2012r2-ps/nettcpip/Get-NetIPInterface.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ Accept wildcard characters: False
### -BaseReachableTimeMs
Specifies an array of base values of random reachable times, in milliseconds.
For more information, see RFC 2461http://go.microsoft.com/fwlink/p/?LinkId=84044.
The default value is 30.
For more information, see [RFC 2461](https://go.microsoft.com/fwlink/p/?LinkId=84044).
The default value is 30000.
```yaml
Type: UInt32[]
Expand Down
2 changes: 1 addition & 1 deletion docset/winserver2012r2-ps/vpnclient/Add-VpnConnection.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ For more information about custom EAP authentication methods, see the **New-EapC

### Example 5: Add a VPN connection that uses already generated EAP XML configuration
```powershell
PS C:\> $EAPXml = [xml]Get-Content -Path C:\eap-config.xml
PS C:\> $EAPXml = Get-Content -Path C:\eap-config.xml
PS C:\> Add-VpnConnection -Name "Test6" -ServerAddress "10.1.1.1" -TunnelType "L2tp" -EncryptionLevel "Required" -AuthenticationMethod Eap -SplitTunneling -AllUserConnection -RememberCredential -EapConfigXmlStream $EAPXml
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ PS C:\> Set-ADCentralAccessRule -Identity "Finance Documents Rule" -ResourceCond
This command creates a central access rule named Finance Documents Rule with a new resource condition and new permissions.

The new rule specifies that documents should only be read by members of the Finance department.
Members of the Finance department should only be able to access documents in their own country.
Members of the Finance department should only be able to access documents in their own country/region.
Only Finance Administrators should have write access.
The rule allows an exception for members of the FinanceException group.
This group will have read access.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Aliases: cf

Required: False
Position: Named
Default value: False
Default value: True
Accept pipeline input: False
Accept wildcard characters: False
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ PS C:\> Set-ADCentralAccessRule -Identity "Finance Documents Rule" -ResourceCond
This example sets the central access rule named Finance Documents Rule with a new resource condition and new permissions.

The new rule specifies that documents should only be read by members of the Finance department.
Members of the Finance department should only be able to access documents in their own country.
Members of the Finance department should only be able to access documents in their own country/region.
Only Finance Administrators should have write access.
The rule allows an exception for members of the FinanceException group.
This group will have read access.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ Accept wildcard characters: False
```

### -RACountry
Specifies the country of the registration authority.
Specifies the country/region of the registration authority.

```yaml
Type: String
Expand Down
9 changes: 5 additions & 4 deletions docset/winserver2016-ps/appx/Reset-AppxPackage.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ Restores the Windows app to its initial configuration.
## SYNTAX

```PowerShell
Reset-AppxPackage [-Package] <string>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Reset-AppxPackage
[-Package] <string>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ Accept wildcard characters: False
### -Timeout
Specifies the number of seconds that a DNS server waits before it stops trying to contact a remote server.
The valid value is in the range of 0x1 to 0xFFFFFFFF (1 second to 15 seconds).
The default setting is 0xF (15 seconds).
The default setting is 0x8 (8 seconds).
We recommend that you increase this value when recursion occurs over a slow link.

```yaml
Expand Down
2 changes: 1 addition & 1 deletion docset/winserver2016-ps/hyper-v/Export-VM.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Export-VM [-VM] <VirtualMachine[]> [-Path] <String> [-AsJob] [-Passthru] [-Captu
## DESCRIPTION
The **Export-VM** cmdlet exports a virtual machine to disk.
This cmdlet creates a folder at a specified location having three subfolders: Snapshots, Virtual Hard Disks, and Virtual Machines.
The Snapshots and Virtual Hard Disks folders contain the snapshots of and virtual hard disks of the specified virtual machine respectively.
Each of these folders contains the associated files. The Snapshots folder contains the associated Snapshots, and the Virtual Hard Disk folder contains the specified virtual machine's virtual disks.
The Virtual Machines folder contains the configuration XML of the specified virtual machine.

## EXAMPLES
Expand Down
2 changes: 1 addition & 1 deletion docset/winserver2016-ps/hyper-v/Set-VHD.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ This operation cannot be performed when the virtual disk chain is attached.

### Example 3
```
PS C:\> Set-VHD -Path Child1.vhd -parentpath parentcopywithnewid.vhd -IgnoreMismatchId
PS C:\> Set-VHD -Path Child1.vhd -parentpath parentcopywithnewid.vhd -IgnoreIdMismatch
```

This example sets the parent of Child1.vhd to point to parentcopywithnewid.vhd, even though parentcopywithnewid.vhd has a different ID than the original parent of child1.vhd.
Expand Down
2 changes: 1 addition & 1 deletion docset/winserver2016-ps/nettcpip/Get-NetIPInterface.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ Accept wildcard characters: False
### -BaseReachableTimeMs
Specifies an array of base values of random reachable times, in milliseconds.
For more information, see [RFC 2461](https://go.microsoft.com/fwlink/p/?LinkId=84044).
The default value is 30.
The default value is 30000.
```yaml
Type: UInt32[]
Expand Down
2 changes: 1 addition & 1 deletion docset/winserver2016-ps/vpnclient/Add-VpnConnection.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ For more information about custom EAP authentication methods, see the **New-EapC

### Example 5: Add a VPN connection that uses already generated EAP XML configuration
```powershell
PS C:\> $EAPXml = [xml]Get-Content -Path C:\eap-config.xml
PS C:\> $EAPXml = Get-Content -Path C:\eap-config.xml
PS C:\> Add-VpnConnection -Name "Test6" -ServerAddress "10.1.1.1" -TunnelType "L2tp" -EncryptionLevel "Required" -AuthenticationMethod Eap -SplitTunneling -AllUserConnection -RememberCredential -EapConfigXmlStream $EAPXml
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ PS C:\> Set-ADCentralAccessRule -Identity "Finance Documents Rule" -ResourceCond
This command creates a central access rule named Finance Documents Rule with a new resource condition and new permissions.

The new rule specifies that documents should only be read by members of the Finance department.
Members of the Finance department should only be able to access documents in their own country.
Members of the Finance department should only be able to access documents in their own country/region.
Only Finance Administrators should have write access.
The rule allows an exception for members of the FinanceException group.
This group will have read access.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Aliases: cf

Required: False
Position: Named
Default value: False
Default value: True
Accept pipeline input: False
Accept wildcard characters: False
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ PS C:\> Set-ADCentralAccessRule -Identity "Finance Documents Rule" -ResourceCond
This example sets the central access rule named Finance Documents Rule with a new resource condition and new permissions.

The new rule specifies that documents should only be read by members of the Finance department.
Members of the Finance department should only be able to access documents in their own country.
Members of the Finance department should only be able to access documents in their own country/region.
Only Finance Administrators should have write access.
The rule allows an exception for members of the FinanceException group.
This group will have read access.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ Accept wildcard characters: False
```

### -RACountry
Specifies the country of the registration authority.
Specifies the country/region of the registration authority.

```yaml
Type: String
Expand Down
9 changes: 5 additions & 4 deletions docset/winserver2019-ps/appx/Reset-AppxPackage.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ Restores the Windows app to its initial configuration.
## SYNTAX

```PowerShell
Reset-AppxPackage [-Package] <string>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Reset-AppxPackage
[-Package] <string>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ Accept wildcard characters: False
### -Timeout
Specifies the number of seconds that a DNS server waits before it stops trying to contact a remote server.
The valid value is in the range of 0x1 to 0xFFFFFFFF (1 second to 15 seconds).
The default setting is 0xF (15 seconds).
The default setting is 0x8 (8 seconds).
We recommend that you increase this value when recursion occurs over a slow link.

```yaml
Expand Down
2 changes: 1 addition & 1 deletion docset/winserver2019-ps/hyper-v/Export-VM.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Export-VM [-VM] <VirtualMachine[]> [-Path] <String> [-AsJob] [-Passthru] [-Captu
## DESCRIPTION
The **Export-VM** cmdlet exports a virtual machine to disk.
This cmdlet creates a folder at a specified location having three subfolders: Snapshots, Virtual Hard Disks, and Virtual Machines.
The Snapshots and Virtual Hard Disks folders contain the snapshots of and virtual hard disks of the specified virtual machine respectively.
Each of these folders contains the associated files. The Snapshots folder contains the associated Snapshots, and the Virtual Hard Disk folder contains the specified virtual machine's virtual disks.
The Virtual Machines folder contains the configuration XML of the specified virtual machine.

## EXAMPLES
Expand Down
2 changes: 1 addition & 1 deletion docset/winserver2019-ps/hyper-v/Set-VHD.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ This operation cannot be performed when the virtual disk chain is attached.

### Example 3
```
PS C:\> Set-VHD -Path Child1.vhd -parentpath parentcopywithnewid.vhd -IgnoreMismatchId
PS C:\> Set-VHD -Path Child1.vhd -parentpath parentcopywithnewid.vhd -IgnoreIdMismatch
```

This example sets the parent of Child1.vhd to point to parentcopywithnewid.vhd, even though parentcopywithnewid.vhd has a different ID than the original parent of child1.vhd.
Expand Down
2 changes: 1 addition & 1 deletion docset/winserver2019-ps/nettcpip/Get-NetIPInterface.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ Accept wildcard characters: False
### -BaseReachableTimeMs
Specifies an array of base values of random reachable times, in milliseconds.
For more information, see [RFC 2461](https://go.microsoft.com/fwlink/p/?LinkId=84044).
The default value is 30.
The default value is 30000.
```yaml
Type: UInt32[]
Expand Down
2 changes: 1 addition & 1 deletion docset/winserver2019-ps/vpnclient/Add-VpnConnection.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ For more information about custom EAP authentication methods, see the **New-EapC

### Example 5: Add a VPN connection that uses already generated EAP XML configuration
```powershell
PS C:\> $EAPXml = [xml]Get-Content -Path C:\eap-config.xml
PS C:\> $EAPXml = Get-Content -Path C:\eap-config.xml
PS C:\> Add-VpnConnection -Name "Test6" -ServerAddress "10.1.1.1" -TunnelType "L2tp" -EncryptionLevel "Required" -AuthenticationMethod Eap -SplitTunneling -AllUserConnection -RememberCredential -EapConfigXmlStream $EAPXml
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ PS C:\> Set-ADCentralAccessRule -Identity "Finance Documents Rule" -ResourceCond
This command creates a central access rule named Finance Documents Rule with a new resource condition and new permissions.

The new rule specifies that documents should only be read by members of the Finance department.
Members of the Finance department should only be able to access documents in their own country.
Members of the Finance department should only be able to access documents in their own country/region.
Only Finance Administrators should have write access.
The rule allows an exception for members of the FinanceException group.
This group will have read access.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Aliases: cf

Required: False
Position: Named
Default value: False
Default value: True
Accept pipeline input: False
Accept wildcard characters: False
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ PS C:\> Set-ADCentralAccessRule -Identity "Finance Documents Rule" -ResourceCond
This example sets the central access rule named Finance Documents Rule with a new resource condition and new permissions.

The new rule specifies that documents should only be read by members of the Finance department.
Members of the Finance department should only be able to access documents in their own country.
Members of the Finance department should only be able to access documents in their own country/region.
Only Finance Administrators should have write access.
The rule allows an exception for members of the FinanceException group.
This group will have read access.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ Accept wildcard characters: False

### -RACountry

Specifies the country of the registration authority.
Specifies the country/region of the registration authority.

```yaml
Type: String
Expand Down
Loading

0 comments on commit f6c981a

Please sign in to comment.