BigFix Action Language Reference

BigFix Action

Language Reference

A Guide to the

BigFix? Action Shell Commands for

the BigFix Enterprise Suite (BES)

BigFix, Inc.

Emeryville, CA

Last Modified: September 8, 2007

Compatible with

BES Version 7.0

ii

? 1998¨C2007 BigFix, Inc. All rights reserved.

BigFix?, Fixlet? and "Fix it before it fails"? are registered trademarks of BigFix, Inc.

iprevention, Powered by BigFix, Relevance Engine, and related BigFix logos are

trademarks of BigFix, Inc. All other product names, trade names, trademarks, and logos

used in this documentation are the property of their respective owners. BigFix¡¯s use of

any other company¡¯s trademarks, trade names, product names and logos or images of

the same does not necessarily constitute: (1) an endorsement by such company of

BigFix and its products, and (2) an endorsement of the company or its products by

BigFix.

Except as set forth in the last sentence of this paragraph: (1) no part of this

documentation may be reproduced, transmitted, or otherwise distributed in any form or

by any means (electronic or otherwise) without the prior written consent of BigFix, Inc.,

and (2) you may not use this documentation for any purpose except in connection with

your properly licensed use or evaluation of BigFix software and any other use, including

for reverse engineering such software or creating derivative works thereof, is prohibited.

If the license to the software which this documentation accompanies is terminated, you

must immediately return this documentation to BigFix, Inc. and destroy all copies you

may have. You may treat only those portions of this documentation specifically

designated in the ¡°Acknowledgements and Notices¡± section below as notices applicable

to third party software in accordance with the terms of such notices.

All inquiries regarding the foregoing should be addressed to:

BigFix, Inc.

1480 64th Street, Suite 200

Emeryville, CA 94608

Copyright ? 2007 by BigFix, Inc.

iii

Contents

PREFACE

1

CONVENTIONS USED IN THIS MANUAL...................................................1

EXAMPLES .........................................................................................1

INTRODUCTION

2

USING ACTION SCRIPTS

3

CREATING ACTION SCRIPTS ................................................................3

USING SUBSTITUTION .........................................................................4

FILE SYSTEM COMMANDS

6

COPY ................................................................................................6

MOVE ................................................................................................6

DELETE .............................................................................................7

DOWNLOAD ........................................................................................8

DOWNLOAD AS .................................................................................10

DOWNLOAD NOW AS .........................................................................11

PREFETCH .......................................................................................12

UTILITY ............................................................................................14

APPENDFILE .....................................................................................15

CREATEFILE UNTIL ............................................................................16

ARCHIVE NOW ..................................................................................17

EXTRACT .........................................................................................17

RELAY SELECT .................................................................................18

SETTING COMMANDS

19

SETTING ..........................................................................................19

SETTING DELETE ..............................................................................20

REGISTRY COMMANDS

22

REGSET ...........................................................................................22

REGDELETE .....................................................................................23

Copyright ? 2007 by BigFix, Inc.

iv

EXECUTION COMMANDS

25

DOS ................................................................................................25

RUN ................................................................................................26

RUNDETACHED .................................................................................26

RUNHIDDEN .....................................................................................27

WAIT ...............................................................................................28

WAITDETACHED ................................................................................29

WAITHIDDEN ....................................................................................30

SCRIPT ............................................................................................31

NOTIFY CLIENT FORCEREFRESH ........................................................31

APPLICATION LAUNCH PREFERENCE LOW-PRIORITY .............................32

APPLICATION LAUNCH PREFERENCE NORMAL-PRIORITY ........................33

COMMENTS

34

DOUBLE FORWARDSLASH ..................................................................34

FLOW CONTROL COMMANDS

35

IF, ELSEIF, ELSE, ENDIF .....................................................................35

PARAMETER .....................................................................................38

CONTINUE IF ....................................................................................39

PAUSE WHILE ...................................................................................39

ACTION REQUIRES RESTART ..............................................................40

ACTION MAY REQUIRE RESTART .........................................................40

ACTION REQUIRES LOGIN...................................................................41

ACTION PARAMETER QUERY ..............................................................41

SET CLOCK ......................................................................................42

RESTART .........................................................................................43

SHUTDOWN ......................................................................................43

ADMINISTRATIVE RIGHTS COMMANDS

45

ADMINISTRATOR ADD ........................................................................45

ADMINISTRATOR DELETE ...................................................................45

LOCKING COMMANDS

46

ACTION LOCK UNTIL ..........................................................................46

ACTION LOCK INDEFINITE ...................................................................46

ACTION UNLOCK ...............................................................................47

Copyright ? 2007 by BigFix, Inc.

v

SITE MAINTENANCE COMMANDS

48

SITE FORCE EVALUATION ...................................................................48

SITE GATHER SCHEDULE PUBLISHER...................................................48

SITE GATHER SCHEDULE MANUAL .......................................................48

SITE GATHER SCHEDULE DISABLE .......................................................49

SITE GATHER SCHEDULE SECONDS.....................................................49

SUBSCRIBE ......................................................................................50

UNSUBSCRIBE ..................................................................................50

WOW64

51

ACTION USES WOW64 REDIRECTION ...................................................51

REGSET64.......................................................................................52

REGDELETE64 .................................................................................53

SCRIPT64 ........................................................................................54

INDEX

55

Copyright ? 2007 by BigFix, Inc.

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download