external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.WinGet.RestSource-help.xml |
microsoft.WinGet.RestSource |
2.0.0 |
Connects to the specified Windows Package Manager source, or local file system path to retrieve the package manifest, returning the manifest found.
Get-WinGetManifest [-FunctionName] <String> [-PackageIdentifier] <String> [-SubscriptionName <String>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-WinGetManifest [-Path] <String> [-PriorManifest <WinGetManifest>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Connects to the specified Windows Package Manager source, or local file system path to retrieve the package Manifest, returning
the manifest found.
Allows for retrieving results based on the package identifier when targeting the Windows Package Manager source.
Get-WinGetManifest -Path "C:\AppManifests\Microsoft.PowerToys"
Returns a Manifest object based on the files found within the specified Path.
Get-WinGetManifest -Path "C:\AppManifests\Microsoft.PowerToys\Microsoft.PowerToys.json"
Returns a Manifest object (*.json) of the specified JSON file.
Get-WinGetManifest -FunctionName "contosorestsource" -PackageIdentifier "Windows.PowerToys"
Returns a Manifest object of the specified Package Identifier that is queried against the Windows Package Manager REST source.
Get-WinGetManifest -FunctionName "contosorestsource" -PackageIdentifier "Windows.PowerToys" -SubscriptionName "Visual Studio Subscription"
Returns a Manifest object of the specified Package Identifier that is queried against the Windows Package Manager REST source from the specified Subscription Name.
Points to either a folder containing a specific Manifest of type .json or .yaml or to a specific .json or .yaml file.
If you are processing a multi-file Manifest, point to the folder that contains all yamls. Note: all yamls within the folder must be part of the same Manifest.
Type: String
Parameter Sets: File
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
A WinGetManifest object containing a single Windows Package Manager REST source Manifest that will be merged with locally processed .yaml files. This is used by the script infrastructure internally.
Type: WinGetManifest
Parameter Sets: File
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Name of the Azure Function Name that contains the Windows Package Manager REST source.
Type: String
Parameter Sets: Azure
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Supports input from pipeline. The Windows Package Manager Package Identifier of a specific Package Manifest result.
Type: String
Parameter Sets: Azure
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
[Optional] The name of the subscription containing the Windows Package Manager REST source.
Type: String
Parameter Sets: Azure
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.