external help file | Module Name | online version | schema |
---|---|---|---|
PSPreworkout-help.xml |
PSPreworkout |
2.0.0 |
Install Winget (beta)
Install-WinGet [[-DownloadPath] <String>] [-DownloadOnly] [-KeepDownload]
[<CommonParameters>]
Install WinGet on Windows Sandbox (or on builds of Windows 10 prior to build 1709 that did not ship with it preinstalled). This script exists mostly as an exercise, as there are already many ways to install WinGet.
Install-WinGet
Install-WinGet -KeepDownload
Installs WinGet and keeps the downloaded AppX packages.
Path of the directory to save the downloaded packages in (optional).
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Download the packages without installing them (optional).
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Keep the downloaded packages (optional).
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
Author: Sam Erde Version: 0.1.0 Modified: 2024-10-23
To Do:
- Check for newer versions of packages on GitHub
- Error handling
- Create the target folder if it does not already exist