NAME
Get-CMCliAdvertisement

SYNOPSIS
Returns client advertisement info.

SYNTAX
Get-CMCliAdvertisement [[-ComputerName] [<Object>]] [[-Credential] [<Object>]] [<CommonParameters>]


DETAILED DESCRIPTION
Returns client advertisement info.


PARAMETERS
-ComputerName
ConfigMgr Client Computer Name

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

-Credential
Enter Alternate Credentials if required

Required? false
Position? 1
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 all instances from the CCM_SoftwareDistribution Class


NOTES


NAME: Get-CMCliAdvertisement
AUTHOR: Greg Ramsey
LASTEDIT: 07/04/2009 00:39:05
#Requires -Version 2.0

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




Get-CMCliAdvertisement

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




Get-CMCliAdvertisement MYCMClient
Returns all instances of the CCM_SoftwareDistribution Class on MYCMClient

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




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


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

Last edited Jul 7, 2009 at 4:39 AM by ramseygr, version 1

Comments

No comments yet.