Get-SCApplication

Gets the applications that are currently installed within a virtual machine that were installed by VMM.

Description

The Get-SCApplication cmdlet gets the applications installed on a virtual machine my System Center Virtual Machine Manager (VMM).

For more information about Get-SCApplication, type: "Get-Help Get-SCApplication -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.

ApplicationHost

Required? true
Accept Pipeline Input? true (ByValue)
Position? named
Specifies an application host 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.

VM

Required? true
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a virtual machine object.

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

Examples

1: Get the applications installed on a virtual machine.
PS C:\> $VM = Get-SCVirtualMachine "VM01"
PS C:\> $Apps = Get-SCApplication -VM $VM
The first command gets the virtual machine object named VM01 and stores the object in the $VM variable.

The second command gets all applications installed on VM01.

See Also