Skip to content

ConvertFrom CimInstance

github-actions edited this page Aug 29, 2026 · 2 revisions

external help file: StainedGlass-help.xml Module Name: StainedGlass online version: https://msdn.microsoft.com/library/windows/desktop/bb736357.aspx schema: 2.0.0

ConvertFrom-CimInstance

SYNOPSIS

Convert a CimInstance object to a PSObject.

SYNTAX

ConvertFrom-CimInstance [[-InputObject] <CimInstance>] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

EXAMPLE 1

$tasks = Get-ScheduledTask |ConvertFrom-CimInstance

Gets the scheduled tasks as PSObjects that support tab completion and can be serialized and exported.

PARAMETERS

-InputObject

The CimInstance object to convert to a PSObject.

Type: CimInstance
Parameter Sets: (All)
Aliases:

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

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
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.

INPUTS

Microsoft.Management.Infrastructure.CimInstance to convert to a PSObject.

OUTPUTS

PSObject converted from the CimInstance entered.

NOTES

RELATED LINKS

Clone this wiki locally