This repository has been archived by the owner on Oct 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 71
Get AUPackages
Paul Broadwith edited this page Jun 27, 2017
·
2 revisions
Get-AUPackages
Get AU packages
Get-AUPackages [[-Name] <String[]>] [<CommonParameters>]
Returns list of directories that have update.ps1 script in them and package name
doesn't start with the '_' char (unpublished packages, not considered by Update-AUPackages
function).
Function looks in the directory pointed to by the global variable $au_root or, if not set,
the current directory.
-Name <String[]>
Required? false
Position? 1
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 (http://go.microsoft.com/fwlink/?LinkID=113216).
-------------------------- EXAMPLE 1 --------------------------
PS C:\>gau p*
Get all automatic packages that start with 'p' in the current directory.
-------------------------- EXAMPLE 2 --------------------------
PS C:\>$au_root = 'c:\packages'; lsau 'cpu-z*','p*','copyq'
Get all automatic packages in the directory 'c:\packages' that start with 'cpu-z' or 'p' and package which name is 'copyq'.
NOTE: This documentation has been automatically generated from Get-Help Get-AUPackages -Full
.