< Back
Invoke-CygwinSetup
Post
NAME Invoke-CygwinSetup
SYNOPSIS
Installs/updates cygwin.
SYNTAX
Invoke-CygwinSetup [[-Config] <Object>] [-DryRun] [<CommonParameters>]
DESCRIPTION
Installs/updates cygwin.
PARAMETERS
-Config <Object>
The path to a configuration file. Defaults to $USERPROFILE\\.developer\\cygwin.json
Required? false
Position? 1
Default value [IO.Path]::Combine($env:USERPROFILE, ".developer", "cygwin.json")
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-DryRun [<SwitchParameter>]
Write-Host the command rather than run it
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\># Load config from default location $USERPROFILE/.developer/cygwin.json
Invoke-CygwinSetup
-------------------------- EXAMPLE 2 --------------------------
PS C:\\># Load config from the specified file
Invoke-CygwinSetup -Config C:\\Users\\Public\\.developer\\cygwin.json
-------------------------- EXAMPLE 3 --------------------------
PS C:\\># Load config from the specified url
Invoke-CygwinSetup -Config https://raw.githubusercontent.com/lucas ... ygwin.json
-------------------------- EXAMPLE 4 --------------------------
PS C:\\># Pipe configuration in
'{"packages": ["perl","curl"]}' | ConvertFrom-Json | Invoke-CygwinSetup
RELATED LINKS
SYNOPSIS
Installs/updates cygwin.
SYNTAX
Invoke-CygwinSetup [[-Config] <Object>] [-DryRun] [<CommonParameters>]
DESCRIPTION
Installs/updates cygwin.
PARAMETERS
-Config <Object>
The path to a configuration file. Defaults to $USERPROFILE\\.developer\\cygwin.json
Required? false
Position? 1
Default value [IO.Path]::Combine($env:USERPROFILE, ".developer", "cygwin.json")
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-DryRun [<SwitchParameter>]
Write-Host the command rather than run it
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\># Load config from default location $USERPROFILE/.developer/cygwin.json
Invoke-CygwinSetup
-------------------------- EXAMPLE 2 --------------------------
PS C:\\># Load config from the specified file
Invoke-CygwinSetup -Config C:\\Users\\Public\\.developer\\cygwin.json
-------------------------- EXAMPLE 3 --------------------------
PS C:\\># Load config from the specified url
Invoke-CygwinSetup -Config https://raw.githubusercontent.com/lucas ... ygwin.json
-------------------------- EXAMPLE 4 --------------------------
PS C:\\># Pipe configuration in
'{"packages": ["perl","curl"]}' | ConvertFrom-Json | Invoke-CygwinSetup
RELATED LINKS