Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
get-the-powershell-workflow-xoml.ps1
PS C:\FIMScripts\PowerShellWorkflow> $obj = Get-Resource -ObjectType WorkflowDefinition -AttributeName DisplayName -AttributeValue "___WF:PSWFTEST2"
PS C:\FIMScripts\PowerShellWorkflow> $obj
ClearRegistration :
CreatedTime : 02/11/2015 16:28:55
Creator : urn:uuid:7fb2b853-24f0-4498-9534-4e10589723c4
DeletedTime :
Description :
DetectedRulesList : {}
DisplayName : ___WF:PSWFTEST2
ExpectedRulesList : {}
ExpirationTime :
Locale :
MVObjectID :
ObjectID : urn:uuid:5dd78f9a-f720-4856-aac4-7b13218bcc5c
ObjectType : WorkflowDefinition
RequestPhase : Action
ResourceTime :
Rules :
RunOnPolicyUpdate : False
XOML : <ns0:SequentialWorkflow x:Name="SequentialWorkflow" ActorId="00000000-0000-0000-0000-000000000000"
WorkflowDefinitionId="00000000-0000-0000-0000-000000000000"
RequestId="00000000-0000-0000-0000-000000000000" TargetId="00000000-0000-0000-0000-000000000000" xm
lns:ns1="clr-namespace:FimExtensions.FimActivityLibrary;Assembly=FimExtensions.FimActivityLibrary,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=68dc29282b77eca9"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ns0="clr-namespace:Microsoft.ResourceM
anagement.Workflow.Activities;Assembly=Microsoft.ResourceManagement, Version=4.1.3646.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<ns1:PowerShellActivity x:Name="authenticationGateActivity1" ImpersonateRequestor="False"
Script="C:\FIMScripts\PowerShellWorkflow\ROEUserOut.ps1" />
</ns0:SequentialWorkflow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.