Expand Minimize
This topic has not yet been rated - Rate this topic

Get-SCSMPortalSoftwarePackage

Updated: January 14, 2013

Applies To: System Center 2012 - Service Manager, System Center 2012 SP1 - Service Manager

Get-SCSMPortalSoftwarePackage

Retrieves all the software packages that are configured for deployment in the Service Manager Self-Service Portal.

Syntax

Parameter Set: Default
Get-SCSMPortalSoftwarePackage [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-Filter <String> ] [-SCSession <Connection[]> ] [ <CommonParameters>]




Detailed Description

The Get-SCSMPortalSoftwarePackage cmdlet retrieves all the software packages that are configured for deployment in the Service Manager Self-Service Portal.

Parameters

-ComputerName<String[]>

Specifies the name of the computer on which the System Center Data Access service is running. The user account that is defined in the Credential parameter must have access rights to the specified computer.


Aliases

none

Required?

false

Position?

named

Default Value

localhost

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Credential<PSCredential>

Specifies the credentials to use when connecting to the server on which the System Center Data Access service is running. The specified user account must have access to that server.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Filter<String>

Specifies the criteria that is used to filter the results.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-SCSession<Connection[]>

Specifies an object that represents a session to a Service Manager management server.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None.

    You cannot pipe input to this cmdlet.


Outputs

The output type is the type of the objects that the cmdlet emits.

  • EnterpriseManagementObjectProjection#Microsoft.SystemCenter.ServiceManager.PackageInfoProjection

    This cmdlet retrieves all the software packages that are configured for deployment in the Service Manager Self-Service Portal.


Examples

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

This command retrieves all software packages.


PS C:\>Get-SCSMPortalSoftwarePackage
Name  Version  Language  Manufacturer  Description  Publish DeploymentProcess Program SourceSite
---- ------- -------- ------------ ----------- ------- ----------------- ------- ----------
Name3 Version3 Language3 Manufacturer3 Description3 True deploy {} SourceSite3
Name1 Version1 Language1 Manufacturer1 Description1 True deploy {} SourceSite1
Name2 Version2 Language2 Manufacturer2 Description2 True deploy {} SourceSite2

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

This command retrieves only software packages which have a Manufacturer property that ends with '2'. To use the -Filter parameter, you must provide criteria in the form of XML.


PS C:\>$ConfigurationMP = Get-SCManagementPack -name Microsoft.SystemCenter.ConfigurationManager
PS C:\>$cstr = @'
>> <Criteria xmlns='http://Microsoft.EnterpriseManagement.Core.Criteria/'>
>>  <Reference Id='{0}' Version='{1}' PublicKeyToken='{2}' Alias='myMP'/>
>>   <Expression>
>>    <SimpleExpression>
>>     <ValueExpressionLeft>
Name  Version  Language  Manufacturer  Description  Publish DeploymentProcess Program SourceSite
---- ------- -------- ------------ ----------- ------- ----------------- ------- ----------
Name2 Version2 Language2 Manufacturer2 Description2 True deploy {} SourceSite2
 
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.