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