en-US/about_ChocolateyPin.help.txt
.NAME
ChocolateyPin .SYNOPSIS The ChocolateyPin DSC resource is used to set or remove Pins. .DESCRIPTION Chocolatey lets you pin package versions so they don't get updated. This resources lets you set or remove a Pin. .PARAMETER Ensure Write - Ensure Indicate whether the Chocolatey Pin should be enabled or disabled for this package. .PARAMETER Name Key - string .PARAMETER Version Write - string Version of the Package to pin. .PARAMETER Reasons Read - ChocolateyReason[] .EXAMPLE 1 This is an unofficial module with DSC resource to Install and configure Chocolatey. configuration Example { Import-DscResource -ModuleName Chocolatey Node localhost { ChocolateyPin AddPintoPackage { Ensure = 'Present' Name = 'Putty' } } } .EXAMPLE 2 This is an unofficial module with DSC resource to Install and configure Chocolatey. configuration Example { Import-DscResource -ModuleName Chocolatey Node localhost { ChocolateyPin AddPintoPackage { Ensure = 'Present' Name = 'Putty' Version = '0.71' } } } .EXAMPLE 3 This is an unofficial module with DSC resource to Install and configure Chocolatey. configuration Example { Import-DscResource -ModuleName Chocolatey Node localhost { ChocolateyPin AddPintoPackage { Ensure = 'Absent' Name = 'Putty' Version = '0.71' } } } |