Daemon Command Line Switches

Software Vulnerability Research has the following daemon command line switches.

Help
Help Text
Force Daemon to Poll the Server for New Tasks
Force Daemon to Poll the Server for New Tasks
Daemon Command Line to Create WSUS Certificate
Ask Daemon to Display Where an Update Will Be Applied

Help

To access the help command line switch type:

svmpd.exe help

Help Text

To access the help text command line switch type:

SVM Package Daemon Copyright (C) 2012-2017 Flexera Software LLC. All rights reserved.

Usage: svmpd.exe ACTION [OPTIONS]

ACTION is one of:

   NewCert: Create a WSUS publishing certificate

   Scan: Scan a WSUS server for data

   ServiceCommand: Send the service a custom command

   ShowPackageStats: Get installation statistics for a package, by group

   UseCert: Set the WSUS publishing certificate

   Version: Show version information

Or help [ACTION]: Get detailed help for ACTION

All actions support the following global flags in any location:

   /cl: One of LogAlways, Critical, Error, Warning, Informational, Verbose

     Set the level for console logging

   /output or /o: <String>

     Save output to specified file

   /format or /f: One or more of Raw, Indent, Compress

     Control JSON output format. Compress only works with /output.

   /wsus: <Uri>

     Override the WSUS server

Force Daemon to Poll the Server for New Tasks

To force the daemon to poll the server for new tasks type:

svmpd.exe servicecommand polltasksnow

Daemon Command Line to Create WSUS Certificate

To create a WSUS certificate, type the following Daemon command line:

svmpd.exe newcert

Ask Daemon to Display Where an Update Will Be Applied

The following Daemon command line displays where an update will be applied.

svmpd.exe showpackagestats bc5f5d64-f2aa-4c6d-bd3f-8cf9915cfb82

After typing the above command line, you will see the following output.

{

    "server_name": "svm-w16-wsus.svm.flexdev.com",

    group_id": "af6f2ec0-b1ce-4344-9f61-9e3e0cb6cda3",

    "group_name": "Windows 8.1",

    "approvals": [

      {

        "by": "SVM\\JSmith",

        "at": "2017-05-25T20:58:57.213Z",

        "action": 0,

        "is_optional": false

      }

    ],

    "not_applicable": 0,

    "pending": 4,

    "installed": 0,

    "failed": 0

  },

  {

    "server_name": "svm-w16-wsus.svm.flexdev.com",

    "group_id": "a0a08746-4dbe-4a37-9adf-9e7652c0b421",

    "group_name": "All Computers",

    "approvals": [

      {

        "by": "SVM\\JSmith",

        at": "2017-05-25T20:58:57.193Z",

        "action": 0,

        "is_optional": false

      }

    ],

    "not_applicable": 1,

    "pending": 18,

    "installed": 0,

    "failed": 1

  },

  {

    "server_name": "svm-w16-wsus.svm.flexdev.com",

    "group_id": "b73ca6ed-5727-47f3-84de-015e03f6a88a",

    "group_name": "Unassigned Computers",

    "approvals": [

      {

        "by": "SVM\\JSmith",

        "at": "2017-05-25T20:58:57.2Z",

        "action": 0,

        "is_optional": false

      }

    ],

    "not_applicable": 0,

    "pending": 2,

    "installed": 0,

    "failed": 0

  },

  {

    "server_name": "svm-w16-wsus.svm.flexdev.com",

    "group_id": "8b4b8cf9-4d99-48fc-93ce-bdb16ce624e1",

    "group_name": "Windows 7",

    "approvals": [

      {

        "by": "SVM\\JSmith",

        "at": "2017-05-25T20:58:57.21Z",

        "action": 0,

        "is_optional": false

      }

    ],

    "not_applicable": 0,

    "pending": 8,

    "installed": 0,

    "failed": 1

  },

  {

    "server_name": "svm-w16-wsus.svm.flexdev.com",

    "group_id": "57c2d480-05c5-4a2a-9a18-df11281559ca",

    "group_name": "Windows 10",

    "approvals": [

      {

      "by": "SVM\\JSmith",

      "at": "2017-05-25T20:58:57.203Z",

      "action": 0,

      "is_optional": false

      }

    ],

    "not_applicable": 1,

    "pending": 4,

    "installed": 0,

    "failed": 0

  }