added more help docs

This commit is contained in:
Dan Franciscus
2019-05-01 13:15:06 -07:00
parent aa317d548d
commit 47cabb8ab7
4 changed files with 51 additions and 20 deletions

View File

@@ -1,12 +1,18 @@
<#
.SYNOPSIS
Short description
Takes PSobject as input to internalize packages
.DESCRIPTION
Long description
.EXAMPLE
Example of how to use this cmdlet
.EXAMPLE
Another example of how to use this cmdlet
S C:\> $Outdatedpkgs = Get-ChocoOutdatedPackages
PS C:\> Invoke-ChocoInternalizePackage -PackageNames $Outdatedpkgs -Path $Path `
-PurgeWorkingDirectory | Where-Object { $_.Result -Like 'Internalize Success' }
Name Result Version NuGetpkgs
---- ------ ------- ---------
curl Internalize Success 7.64.1 C:\Chocotemp\curl.7.64.1.nupkg
GoogleChrome Internalize Success 74.0.3729.131 {C:\Chocotemp\chocolatey-core.extension.1.3.3.nupkg, C:\Chocotemp\Googl...
#>
function Invoke-ChocoInternalizePackage {
[CmdletBinding()]