Skip to content

Instantly share code, notes, and snippets.

@jkbryan
Created October 2, 2018 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkbryan/4f9e206b71296d5e88292cf32d42c390 to your computer and use it in GitHub Desktop.
Save jkbryan/4f9e206b71296d5e88292cf32d42c390 to your computer and use it in GitHub Desktop.
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