external help file | Module Name | online version | schema |
---|---|---|---|
PSPreworkout-help.xml |
PSPreworkout |
2.0.0 |
Download a portable version of PowerShell to run anywhere on demand.
Get-PowerShellPortable [[-Path] <String>] [-Extract] [<CommonParameters>]
This function helps you download a zipped version of PowerShell 7.x that can be run anywhere without needing to install it.
Get-PowerShellPortable -Path $HOME -Extract
Download the latest ZIP/TAR of PowerShell to your $HOME folder. It will be extracted into a folder that matches the filename of the compressed archive.
The path (directory) to download the PowerShell zip or tar.gz file into. Do not include a filename for the download.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Extract the downloaded file.
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/12