< Back

Get-BricksetSetInstructions

Sun Jan 12, 2020 6:20 pm

NAME Get-BricksetSetInstructions



SYNOPSIS

Get Brickset Set Instructions





SYNTAX

Get-BricksetSetInstructions [[-SetId] <String>] [<CommonParameters>]





DESCRIPTION

Get Brickset Set Instructions





PARAMETERS

-SetId <String>

Brickset SetId (not the Lego Set Number)



Required? false

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

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

System.String.





OUTPUTS

Brickset.instructions





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-BricksetSetInstructions -SetId 6905













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-BricksetSet -Theme 'Indiana Jones' | Get-BricksetSetInstructions













-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-BricksetSet -SetNumber 75055-1 | Get-BricksetSetInstructions | Select-Object -First 1 -ExpandProperty

url | Foreach-Object {Invoke-Expression ???????cmd.exe /C start $_???????}













-------------------------- EXAMPLE 4 --------------------------



PS C:\\>Get-BricksetSet -Theme 'Indiana Jones' | Get-BricksetSetInstructions | Select-Object -ExpandProperty url |

ForEach-Object {$file = ($_.split('/'))[-1]; Start-BitsTransfer -Source $_ -Destination

"C:\\Users\\jmedd\\Documents\\$file"}















RELATED LINKS