Skip to content

Commit 1ac6f1d

Browse files
committed
Update doc references to ManifestIdentifier (#89)
1 parent 24efb73 commit 1ac6f1d

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

Tools/PowershellModule/doc/PowerShell/Get-WinGetManifest.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Allows for filtering results based on the name when targetting the REST APIs.
1515

1616
### Azure (Default)
1717
```
18-
Get-WinGetManifest [-FunctionName] <String> [[-ManifestIdentifier] <String>] [[-SubscriptionName] <String>]
18+
Get-WinGetManifest [-FunctionName] <String> [[-PackageIdentifier] <String>] [[-SubscriptionName] <String>]
1919
[<CommonParameters>]
2020
```
2121

@@ -52,14 +52,14 @@ Returns a Package Manifest object of the specified JSON file.
5252

5353
### EXAMPLE 3
5454
```
55-
Get-WinGetManifest -FunctionName "contosorestsource" -ManifestIdentifier "Windows.PowerToys"
55+
Get-WinGetManifest -FunctionName "contosorestsource" -PackageIdentifier "Windows.PowerToys"
5656
```
5757

5858
Returns an Manifest object of the specified Application Package Identifier that is queried against in the REST APIs.
5959

6060
### EXAMPLE 4
6161
```
62-
Get-WinGetManifest -FunctionName "contosorestsource" -ManifestIdentifier "Windows.PowerToys" -SubscriptionName "Visual Studio Subscription"
62+
Get-WinGetManifest -FunctionName "contosorestsource" -PackageIdentifier "Windows.PowerToys" -SubscriptionName "Visual Studio Subscription"
6363
```
6464

6565
Returns a Package Manifest object of the specified Package Identifier that is queried against in the REST APIs from the specified Subscription Name.
@@ -103,7 +103,7 @@ Accept pipeline input: False
103103
Accept wildcard characters: False
104104
```
105105
106-
### -ManifestIdentifier
106+
### -PackageIdentifier
107107
\[Optional\] The Windows Package Manager Package Identifier of a specific Manifest result
108108
109109
```yaml

Tools/PowershellModule/doc/PowerShell/Remove-WinGetManifest.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ Removes a Manifest file from the Azure REST source
1414

1515
### WinGet (Default)
1616
```
17-
Remove-WinGetManifest [[-ManifestIdentifier] <String>] [[-SubscriptionName] <String>] [<CommonParameters>]
17+
Remove-WinGetManifest [[-PackageIdentifier] <String>] [[-SubscriptionName] <String>] [<CommonParameters>]
1818
```
1919

2020
### Azure
2121
```
22-
Remove-WinGetManifest [-FunctionName] <String> [[-ManifestIdentifier] <String>] [[-SubscriptionName] <String>]
22+
Remove-WinGetManifest [-FunctionName] <String> [[-PackageIdentifier] <String>] [[-SubscriptionName] <String>]
2323
[<CommonParameters>]
2424
```
2525

@@ -36,7 +36,7 @@ The following Azure Modules are used by this script:
3636

3737
### EXAMPLE 1
3838
```
39-
Remove-WinGetManifest -FunctionName "contosorestsource" -ManifestIdentifier "Windows.PowerToys"
39+
Remove-WinGetManifest -FunctionName "contosorestsource" -PackageIdentifier "Windows.PowerToys"
4040
```
4141

4242
Connects to Azure, then runs the Azure Function "contosorestsource" REST APIs to remove the specified Manifest file from the Windows Package Manager REST source
@@ -58,8 +58,8 @@ Accept pipeline input: False
5858
Accept wildcard characters: False
5959
```
6060
61-
### -ManifestIdentifier
62-
THe Manifest Id that represents the App Manifest to be removed.
61+
### -PackageIdentifier
62+
The Package Identifier that represents the App Manifest to be removed.
6363
6464
```yaml
6565
Type: String

Tools/PowershellModule/doc/new-winget-rest-source-azure.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Alternatively, the `Get-WinGetManifest` PowerShell cmdlet supports targeting a s
9191
The PowerShell Module must be re-imported each time the PowerShell window is closed. To get a Package Manifest open the Administrative PowerShell Window and run the following:
9292

9393
```PowerShell
94-
PS C:\> Get-WinGetManifest -FunctionName "contoso" -ManifestIdentifier "Windows.PowerToys"
94+
PS C:\> Get-WinGetManifest -FunctionName "contoso" -PackageIdentifier "Windows.PowerToys"
9595
```
9696

9797
## Remove manifests from a REST source
@@ -103,7 +103,7 @@ The `Remove-WinGetManifest` PowerShell cmdlet supports targeting an existing Win
103103
The PowerShell Module must be re-imported each time the PowerShell window is closed. To remove a Package Manifest open the Administrative PowerShell Window and run the following:
104104

105105
```PowerShell
106-
PS C:\> Remove-WinGetManifest -FunctionName "contoso" -ManifestIdentifier "Windows.PowerToys"
106+
PS C:\> Remove-WinGetManifest -FunctionName "contoso" -PackageIdentifier "Windows.PowerToys"
107107
```
108108

109109
## Manage Windows Package Manager REST source manually

0 commit comments

Comments
 (0)