< Back

Disable-ChocoSource

Sun Jan 19, 2020 6:19 pm

NAME Disable-ChocoSource



SYNOPSIS

Disables the specified choco source





SYNTAX

Disable-ChocoSource [-Source] <String> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Sets the disabled property of the specified source to true.





PARAMETERS

-Source <String>

The friendly name of the source to disable.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

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:\\>Disable-ChocoSource -Source bob















RELATED LINKS