ConvertFrom-CMApplication

SYNOPSIS

Converts an application SDK object to an application object.

SYNTAX

ConvertFrom-CMApplication -InputObject <Application> [-DisableWildcardHandling] [-ForceWildcardHandling]
 [<CommonParameters>]

DESCRIPTION

The ConvertFrom-CMApplication cmdlet converts an application SDK object to an application object.

EXAMPLES

Example 1: Convert an application object

PS C:\> $SdkApp = Get-CMApplication -Name "Application01" | ConvertTo-CMApplication
PS C:\> $SdkApp | ConvertFrom-CMApplication

The first command gets the application object named Application01 and uses the pipeline operator to pass the object to ConvertTo-CMApplication, which converts the application object into an application SDK object. The command then stores the object in the $SdkApp variable.

The second command converts the application SDK object stored in $SdkApp to an application object.

Example 2: Convert an application object

PS C:\> $SdkApp = Get-CMApplication -Name "Application02" | ConvertTo-CMApplication
PS C:\> ConvertFrom-CMApplication -InputObject $SdkApp

The first command gets the application object named Application02 and uses the pipeline operator to pass the object to ConvertTo-CMApplication, which converts the application object into an application SDK object. The command then stores the object in the $SdkApp variable.

The second command converts the application SDK object stored in $SdkApp to an application object.

PARAMETERS

-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-InputObject

Specifies an application SDK object. To obtain an application object, use the ConvertTo-CMApplication cmdlet or the Convert-CMApplication cmdlet.

Type: Application
Parameter Sets: (All)
Aliases: Application

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES

Convert-CMApplication

ConvertTo-CMApplication

Get-CMApplication

Export-CMApplication

Get-CMApplication

Import-CMApplication

Remove-CMApplication

Resume-CMApplication

Set-CMApplication

Suspend-CMApplication