NAME
Get-CMImagePackage

SYNOPSIS
Returns a Image Package, or all instances of an Image Package.

SYNTAX
Get-CMImagePackage [[-ComputerName] [<Object>]] [[-PackageID] [<Object>]] [[-Credential] [<Object>]] [<CommonParameters>]


DETAILED DESCRIPTION
Returns an Image Package, or all instances of an Image Package.


PARAMETERS
-ComputerName

Required? false
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters?

-PackageID
Enter PackageID

Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters?

-Credential
Enter Alternate Credentials if required

Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters?

<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug,
-ErrorAction, -ErrorVariable, -WarningAction, -WarningVariable,
-OutBuffer and -OutVariable. For more information, type,
"get-help about_commonparameters".

INPUT TYPE

RETURN TYPE
Returns either an instance, or multiple instances from the SMS_ImagePackage
Class


NOTES


NAME: Get-CMImagePackage
AUTHOR: Greg Ramsey
LASTEDIT: 07/05/2009 10:54:05
#Requires -Version 2.0

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




Get-CMImagePackage

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




Get-CMImagePackage MYTESTLABServer
Returns all instances of the SMS_ImagePackage Class on MYTESTLABServer

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




Get-CMImagePackage MYTESTLABServer LAB00012
Returns Image Package LAB20012 on MYTESTLABServer

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




Get-CMImagePackage MYTESTLABServer LAB00012 get-credential
Prompts for credentials
Get-CMImagePackage MYTESTLABServer LAB00012 $Cred
uses credentials in $Cred


RELATED LINKS
http://msdn.microsoft.com/en-us/library/cc144889.aspx

Last edited Jul 7, 2009 at 5:31 AM by ramseygr, version 1

Comments

No comments yet.