 < ? x m l   v e r s i o n = ' 1 . 0 '   e n c o d i n g = ' U T F - 8 ' ? > 
 < w o r k f l o w   x m l n s = " h t t p : / / v m w a r e . c o m / v c o / w o r k f l o w "   x m l n s : x s i = " h t t p : / / w w w . w 3 . o r g / 2 0 0 1 / X M L S c h e m a - i n s t a n c e "   x s i : s c h e m a L o c a t i o n = " h t t p : / / v m w a r e . c o m / v c o / w o r k f l o w   h t t p : / / v m w a r e . c o m / v c o / w o r k f l o w / W o r k f l o w - v 4 . x s d "   r o o t - n a m e = " i t e m 0 "   o b j e c t - n a m e = " W o r k f l o w : n a m e = g e n e r i c "   i d = " 2 D 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 1 A 8 0 8 0 8 0 0 1 3 0 4 9 3 3 6 3 6 3 6 2 c e 8 8 2 2 9 2 c 2 a "   v e r s i o n = " 4 . 0 . 2 "   a p i - v e r s i o n = " 6 . 0 . 0 "   a l l o w e d - o p e r a t i o n s = " v f "   r e s t a r t M o d e = " 1 "   r e s u m e F r o m F a i l e d M o d e = " 0 " > 
     < d i s p l a y - n a m e > < ! [ C D A T A [ I n v o k e   a   P o w e r S h e l l   s c r i p t ] ] > < / d i s p l a y - n a m e > 
     < d e s c r i p t i o n > < ! [ C D A T A [ R u n s   a   c u s t o m   s c r i p t   o n   a   P o w e r S h e l l   h o s t . ] ] > < / d e s c r i p t i o n > 
     < p o s i t i o n   y = " 1 0 . 0 "   x = " 3 8 0 . 0 " / > 
     < i n p u t > 
         < p a r a m   n a m e = " h o s t "   t y p e = " P o w e r S h e l l : P o w e r S h e l l H o s t " > 
             < d e s c r i p t i o n > < ! [ C D A T A [ P o w e r S h e l l   h o s t ] ] > < / d e s c r i p t i o n > 
         < / p a r a m > 
         < p a r a m   n a m e = " s c r i p t "   t y p e = " s t r i n g " > 
             < d e s c r i p t i o n > < ! [ C D A T A [ P o w e r S h e l l   s c r i p t ] ] > < / d e s c r i p t i o n > 
         < / p a r a m > 
     < / i n p u t > 
     < o u t p u t > 
         < p a r a m   n a m e = " o u t p u t "   t y p e = " P o w e r S h e l l : P o w e r S h e l l R e m o t e P S O b j e c t " > 
             < d e s c r i p t i o n > < ! [ C D A T A [ S c r i p t   e x e c u t i o n   r e s u l t ] ] > < / d e s c r i p t i o n > 
         < / p a r a m > 
     < / o u t p u t > 
     < a t t r i b   n a m e = " s e s s i o n I d "   t y p e = " s t r i n g "   r e a d - o n l y = " f a l s e " > 
         < v a l u e   e n c o d e d = " n " > < ! [ C D A T A [ ] ] > < / v a l u e > 
     < / a t t r i b > 
     < w o r k f l o w - n o t e   x = " 1 7 0 . 0 "   y = " 1 0 0 . 0 "   w = " 5 0 0 . 0 "   h = " 6 0 . 0 "   c o l o r = " d f f f b f f f " > 
         < d e s c r i p t i o n > < ! [ C D A T A [ R u n   s c r i p t ] ] > < / d e s c r i p t i o n > 
     < / w o r k f l o w - n o t e > 
     < w o r k f l o w - i t e m     n a m e = " i t e m 5 "   t y p e = " e n d "   e n d - m o d e = " 0 " > 
         < p o s i t i o n   y = " 2 1 0 . 0 "   x = " 3 8 0 . 0 " / > 
     < / w o r k f l o w - i t e m   > 
     < w o r k f l o w - i t e m     n a m e = " i t e m 0 "   o u t - n a m e = " i t e m 5 "   t y p e = " t a s k " > 
         < d i s p l a y - n a m e > < ! [ C D A T A [ I n v o k e   s c r i p t ] ] > < / d i s p l a y - n a m e > 
         < s c r i p t   e n c o d e d = " f a l s e " > < ! [ C D A T A [ v a r   o u t p u t ; 
 v a r   s e s s i o n ; 
 t r y   { 
 	 s e s s i o n   =   h o s t . o p e n S e s s i o n ( ) ; 
 	 o u t p u t   =   S y s t e m . g e t M o d u l e ( " c o m . v m w a r e . l i b r a r y . p o w e r s h e l l " ) . i n v o k e S c r i p t ( h o s t , s c r i p t , s e s s i o n . g e t S e s s i o n I d ( ) )   ; 
 }   f i n a l l y   { 
 	 i f   ( s e s s i o n ) { 
 	 	 h o s t . c l o s e S e s s i o n ( s e s s i o n . g e t S e s s i o n I d ( ) ) ; 
 	 } 
 } ] ] > < / s c r i p t > 
         < i n - b i n d i n g > 
             < b i n d   n a m e = " h o s t "   t y p e = " P o w e r S h e l l : P o w e r S h e l l H o s t "   e x p o r t - n a m e = " h o s t " / > 
             < b i n d   n a m e = " s c r i p t "   t y p e = " s t r i n g "   e x p o r t - n a m e = " s c r i p t " / > 
             < b i n d   n a m e = " s e s s i o n I d "   t y p e = " s t r i n g "   e x p o r t - n a m e = " s e s s i o n I d " / > 
         < / i n - b i n d i n g > 
         < o u t - b i n d i n g > 
             < b i n d   n a m e = " o u t p u t "   t y p e = " P o w e r S h e l l : P o w e r S h e l l R e m o t e P S O b j e c t "   e x p o r t - n a m e = " o u t p u t " / > 
         < / o u t - b i n d i n g > 
         < p o s i t i o n   y = " 1 2 0 . 0 "   x = " 3 4 0 . 0 " / > 
     < / w o r k f l o w - i t e m   > 
     < p r e s e n t a t i o n > 
         < p - s t e p > 
             < t i t l e > < ! [ C D A T A [ I n v o k e   a   P o w e r S h e l l   s c r i p t ] ] > < / t i t l e > 
             < p - g r o u p > 
                 < t i t l e > < ! [ C D A T A [ P o w e r S h e l l   H o s t ] ] > < / t i t l e > 
                 < d e s c > < ! [ C D A T A [ P o w e r S h e l l   h o s t   o n   w h i c h   t o   r u n   t h e   s c r i p t ] ] > < / d e s c > 
                 < p - p a r a m   n a m e = " h o s t " > 
                     < d e s c > < ! [ C D A T A [ H o s t ] ] > < / d e s c > 
                     < p - q u a l   k i n d = " s t a t i c "   n a m e = " m a n d a t o r y "   t y p e = " b o o l e a n " > < ! [ C D A T A [ t r u e ] ] > < / p - q u a l > 
                 < / p - p a r a m > 
             < / p - g r o u p > 
             < p - g r o u p > 
                 < t i t l e > < ! [ C D A T A [ S c r i p t ] ] > < / t i t l e > 
                 < d e s c > < ! [ C D A T A [ < b > P o w e r S h e l l   s c r i p t   t o   r u n < / b > 
 
 F o r   e x a m p l e :   W r i t e - O u t p u t   " H e l l o   W o r l d " ] ] > < / d e s c > 
                 < p - p a r a m   n a m e = " s c r i p t " > 
                     < d e s c > < ! [ C D A T A [ S c r i p t ] ] > < / d e s c > 
                     < p - q u a l   n a m e = " t e x t I n p u t "   t y p e = " v o i d " > < ! [ C D A T A [ ] ] > < / p - q u a l > 
                 < / p - p a r a m > 
             < / p - g r o u p > 
         < / p - s t e p > 
     < / p r e s e n t a t i o n > 
 < / w o r k f l o w >