SIW 2010 (build 0714)

SIW - Command Line Arguments




Option Meaning Obs.
/help Print the list of all available command line arguments
 
     
/log Create an HTML Report file
 
/log[=filename] Create an HTML Report file Technician's or Business Version
/log:csv[=filename] Create a CSV Report file Technician's or Business Version
/log:html[=filename] Create an HTML Report file Technician's or Business Version
/log:txt[=filename] Create a TXT Report file Technician's or Business Version
/log:xml[=filename] Create an XML Report file Technician's or Business Version
/email=address 1 Send the Report as an email attachment Technician's or Business Version
/body=message Set the email's body message Technician's or Business Version
/subject=message Set the email's subject message Technician's or Business Version
/smtp[=smpt.server.com] 2 Send the email using a SMTP Server Technician's or Business Version
/append Append to an existing (CSV or TXT) Report File Technician's or Business Version
/silent Don't display anything during logging Technician's or Business Version
/nodelete Don't delete the LOG after emailing it Technician's or Business Version
/nologo Don't display the Splash Screen Technician's or Business Version
/shutdown Shutdown computer  
/restart Restart the computer  
     
/s:number Set Options (Software) Technician's or Business Version
/h:number Set Options (Hardware) Technician's or Business Version
/n:number Set Options (Network) Technician's or Business Version

Notes:
1.    Report's file name must be absolute (ex: c:\temp\report.xml).
2.    If the /smtp argument is missing, SIW will use the default MAPI client (usually Outlook or Outlook Express).

Software Options

LOG Option Decimal Value Hex Value
Operating System 1 0x00000001
Updates 131072 0x00020000
Missing Updates 4294967296 0x100000000
System Directories 2 0x00000002
Installed Programs 4 0x00000004
Applications 1048576 0x00100000
Licenses 1073741824 0x40000000
Security 8589934592 0x200000000
System Files 8 0x00000008
Accessibility 16 0x00000010
Environment 32 0x00000020
Regional Settings 134217728 0x08000000
File Associations 268435456 0x10000000
Running Processes 64 0x00000040
Loaded DLLs 524288 0x00080000
Drivers 256 0x00000100
NT Services 128 0x00000080
NT Pipes 512 0x00000200
Autorun 1024 0x00000400
Browser Helper Objects 536870912 0x20000000
Scheduled Tasks 2048 0x00000800
Databases 2097152 0x00200000
Audio and Video Codecs 4194304 0x00400000
Shared DLLs 4096 0x00001000
ActiveX 8192 0x00002000
Shell Extensions 2147483648 0x80000000
Open Files 16384 0x00004000
Local Groups 65536 0x00010000
Domain Groups 33554432 0x02000000
Local User Accounts 32768 0x00008000
Domain User Accounts 67108864 0x04000000
System Accounts 16777216 0x01000000
Protected Files 262144 0x00040000
Event Viewer 17179869184 0x400000000


Hardware Options

LOG Option Decimal Value Hex Value
System Info 1 0x00000001
Motherboard 2 0x00000002
Sensors 8192 0x00002000
BIOS 4 0x00000004
CPU 8 0x00000008
Devices 16 0x00000010
PCI 32 0x00000020
System Slots 64 0x00000040
Network Cards 4096 0x00001000
Memory 128 0x00000080
Video 256 0x00000100
Direct X 16384 0x00004000
Video Modes 32768 0x00008000
Monitor 65536 0x00010000
Storage Devices 512 0x00000200
Logical Disks 131072 0x00020000
Ports 1024 0x00000400
Printers 2048 0x00000800


Network Options

LOG Option Decimal Value Hex Value
Network Information 1 0x00000001
Extra Info 64 0x00000040
Neighborhood Scan 32 0x00000020
Open Ports 4 0x00000004
Shares 8 0x00000008
RAS 16 0x00000010
Network Statistics 2 0x00000002

How to use these numbers

Let's assume that you want to log the following items:
  • Operating System (Software - 1)
  • Applications (Software - 1048576)
  • Licenses (Software - 1073741824)
  • Motherboard (Hardware - 2)
  • BIOS (Hardware - 4)
  • CPU (Hardware - 8)
  • PCI (Hardware - 32)
  • Network Extra Info (Network - 64)
  • Open Ports (Network - 4)
The value for the "/s" argument is 1 + 1048576 + 1073741824 = 1074790401
The value for the "/h" argument is 2 + 4 + 8 + 32 = 46
The value for the "/n" argument is 64 + 4 = 68
The command line can be:
siw /log:xml=c:\%COMPUTERNAME%.xml /email=MyEmail@hotmail.com
    /subject="Message from %USERNAME% (%USERDOMAIN%)"
    /body="Report for %COMPUTERNAME%"
    /smtp=smtp.server.com /silent /s:1074790401 /h:46 /n:68
Note: The environment variables (like %COMPUTERNAME% or %USERNAME%) are automatically expanded.



Please select a sub-menu or search this site:

SIW - F.A.Q F.A.Q
SIW - Differences Versions
License Agreement License Agreement
Privacy Policy Privacy Policy
Affiliate Program Affiliate Program
Contact Us Contact Us
Languages Languages
SIW - Command Line Arguments Command Line Arguments
Blog News
Help Me Help me
My Resume My Resume
Known Bugs Known Bugs


inventory software

Please subscribe to our blog feed Our Blog Feed, follow us on Facebook or sign up for free email updates.
Please send any comments, corrections or suggestions to
If you like SIW you can buy me a coffee. If you like SIW you can buy me a coffee.

Copyright © 2004 - Topala Software Solutions.
Home             Contact Us             License Agreement             Privacy Policy                      Clicky Web Analytics