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