Skip to content

Commit 6479bd9

Browse files
authored
Merge branch 'main' into patch-21
2 parents 0c901db + 884e3c8 commit 6479bd9

File tree

11 files changed

+669
-21
lines changed

11 files changed

+669
-21
lines changed

.openpublishing.redirection.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5200,6 +5200,21 @@
52005200
"redirect_url": "/powershell/module/windowsdeveloperlicense/WindowsDeveloperLicense?view=windowsserver2019-ps",
52015201
"redirect_document_id": false
52025202
},
5203+
{
5204+
"source_path": "docset/winserver2022-ps/pkiclient/Export-PfxCertificate.md",
5205+
"redirect_url": "/powershell/module/pki/Export-PfxCertificate?view=windowsserver2022-ps",
5206+
"redirect_document_id": false
5207+
},
5208+
{
5209+
"source_path": "docset/winserver2022-ps/pkiclient/PKIClient.md",
5210+
"redirect_url": "/powershell/module/pki/?view=windowsserver2022-ps",
5211+
"redirect_document_id": false
5212+
},
5213+
{
5214+
"source_path": "docset/winserver2022-ps/pkiclient/New-SelfSignedCertificate.md",
5215+
"redirect_url": "/powershell/module/pki/New-SelfSignedCertificate?view=winserver2022-ps",
5216+
"redirect_document_id": false
5217+
},
52035218
{
52045219
"source_path": "docset/winserver2022-ps/remotedesktop/Set-RDDeploymentGatewayConfiguration.md",
52055220
"redirect_url": "/powershell/module/rdmgmt/Set-RDDeploymentGatewayConfiguration.md?view=windowsserver2022-ps",
@@ -5406,4 +5421,4 @@
54065421
"redirect_document_id": false
54075422
}
54085423
]
5409-
}
5424+
}

docset/docs-conceptual/winserver2016-ps/module-compatibility.md

Lines changed: 206 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
- name: Windows PowerShell
2-
href: get-started.md
1+
items:
2+
- name: Windows PowerShell
3+
href: get-started.md
4+
- name: PowerShell 7 compatibility
5+
href: module-compatibility.md

docset/docs-conceptual/winserver2019-ps/module-compatibility.md

Lines changed: 206 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
- name: Windows PowerShell
2-
href: get-started.md
1+
items:
2+
- name: Windows PowerShell
3+
href: get-started.md
4+
- name: PowerShell 7 compatibility
5+
href: module-compatibility.md

docset/docs-conceptual/winserver2022-ps/module-compatibility.md

Lines changed: 206 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
- name: Windows PowerShell
2-
href: get-started.md
1+
items:
2+
- name: Windows PowerShell
3+
href: get-started.md
4+
- name: PowerShell 7 compatibility
5+
href: module-compatibility.md

docset/winserver2012r2-ps/servermigration/Import-SmigServerSetting.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file: Microsoft.Windows.ServerManager.Migration.dll-Help.xml
33
Module Name: ServerMigration
4-
ms.date: 12/06/2017
4+
ms.date: 04/29/2022
55
online version: https://docs.microsoft.com/powershell/module/servermigration/import-smigserversetting?view=windowsserver2012r2-ps&wt.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: Import-SmigServerSetting
@@ -35,7 +35,7 @@ For online Help about the Windows Server Migration Tools cmdlets, see http://go.
3535

3636
### EXAMPLE 1
3737
```
38-
PS C:\> Import-SmigServerSetting -Feature "DHCP" -User All -Group -Path "c:\temp\store" -Verbose
38+
Import-SmigServerSetting -FeatureID 'DHCP' -User All -Group -Path 'c:\temp\store' -Verbose
3939
```
4040

4141
This sample command imports the Dynamic Host Configuration Protocol (DHCP) Server, and all other Windows features required by this technology.
@@ -50,7 +50,15 @@ By using the -Verbose parameter, the command also displays detailed information
5050

5151
### EXAMPLE 2
5252
```
53-
PS C:\> Import-SmigServerSetting -IPConfig All -SourcePhysicalAddress "00-13-D3-F7-A1-3A","00-13-D3-F7-A1-4A" -TargetPhysicalAddress "11-13-D3-F7-A1-3A","11-13-D3-F7-A1-4A" -Path "c:\temp\store" -Password (Read-Host "Enter a Password:" -AsSecureString)-Verbose
53+
$parameters = @{
54+
IPConfig = 'All'
55+
SourcePhysicalAddress = '00-13-D3-F7-A1-3A','00-13-D3-F7-A1-4A'
56+
TargetPhysicalAddress = '11-13-D3-F7-A1-3A','11-13-D3-F7-A1-4A'
57+
Path = 'c:\temp\store'
58+
Password = (Read-Host -Prompt 'Enter a Password:' -AsSecureString)
59+
Verbose = $true
60+
}
61+
Import-SmigServerSetting @parameters
5462
```
5563

5664
This sample command imports the IP configuration from the migration store specified at c:\temp\store, and applies it to the local server.
@@ -65,8 +73,8 @@ By using the -Verbose parameter, the command also displays detailed information
6573

6674
### EXAMPLE 3
6775
```
68-
PS C:\> $c = Get-SmigServerFeature -Path "c:\temp\store"
69-
PS C:\> Import-SmigServerSetting -Feature $c -Path "c:\temp\store" -Verbose
76+
$c = Get-SmigServerFeature -Path 'c:\temp\store'
77+
Import-SmigServerSetting -FeatureID $c -Path 'c:\temp\store' -Verbose
7078
```
7179

7280
This sample command imports a set of Windows features that have already been retrieved by using the Get-SmigServerFeature cmdlet.
@@ -83,7 +91,7 @@ By using the -Verbose parameter, the command also displays detailed information
8391

8492
### EXAMPLE 4
8593
```
86-
PS C:\> Get-SmigServerFeature -Path "c:\temp\store" | Import-SmigServerSetting -Path "c:\temp\store" -Verbose
94+
Get-SmigServerFeature -Path 'c:\temp\store' | Import-SmigServerSetting -Path 'c:\temp\store' -Verbose
8795
```
8896

8997
This sample command pipes a set of features that have already been retrieved by using the Get-SmigServerFeature cmdlet to the Import-SmigServerSetting cmdlet.
@@ -100,8 +108,8 @@ By using the -Verbose parameter, the command also displays detailed information
100108

101109
### EXAMPLE 5
102110
```
103-
PS C:\> $pass = ConvertTo-SecureString -String "password" -AsPlainText -Force
104-
PS C:\> Import-SmigServerSetting -User All -Password $pass -Path "c:\store" -Verbose
111+
$pass = ConvertTo-SecureString -String 'password' -AsPlainText -Force
112+
Import-SmigServerSetting -User All -Password $pass -Path 'c:\store' -Verbose
105113
```
106114

107115
In this example, the first command convert the store encryption password, represented by "password," to a secure string, and store it in the variable $pass.

docset/winserver2022-ps/appx/Get-AppSharedPackageContainer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ This command shows the packages in any shared package container that has a prefi
4141
## PARAMETERS
4242

4343
### -AllUsers
44-
Get matching packages that are either deployed to any user or are provisioned to the machine.
44+
Unsupported. Will result in "-AllUsers functionality is not yet implemented" error.
4545

4646
```yaml
4747
Type: SwitchParameter

docset/winserver2022-ps/appx/Remove-AppSharedPackageContainer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This command removes the shared package container definition with the name Conto
3131
## PARAMETERS
3232

3333
### -AllUsers
34-
Remove matching packages that are deployed to any user.
34+
Unsupported. Will result in "-AllUsers functionality is not yet implemented" error.
3535

3636
```yaml
3737
Type: SwitchParameter

0 commit comments

Comments
 (0)