Gets the application host template for a service template or for all service templates.
Description
The Get-SCApplicationHostTemplate gets the application host template for a service template or, when used with the All parameter, for all service templates.
For more information about Get-SCApplicationHostTemplate, type: "Get-Help Get-SCApplicationHostTemplate -online".
Parameters
All
Required?
false
Accept Pipeline Input?
false
Position?
named
Retrieves a full list of all subordinate objects independent of the parent object. For example, the command Get-SCVirtualDiskDrive -All retrieves all virtual disk drive objects regardless of the virtual machine object or template object that each virtual disk drive object is associated with.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
Name
Required?
true
Accept Pipeline Input?
false
Position?
named
Specifies the name of a VMM object.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
ServiceTemplate
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a service template object.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
ID
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the numerical identifier (as a globally unique identifier, or GUID) for a specific object.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
Examples
1: Get the application host template
for a specific service template.
The first command gets the service template object named ServiceTemplate01 and stores the object in the $ServiceTemplate variable.
The second command gets the application host template for the service template in $ServiceTemplate and displays information about the application host template to the user.