How can we improve the SMA (K1000)?

variable

Ability to use environment variables with custom inventory rules

24 votes
Vote
Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)
You have left! (?) (thinking…)
Stephen Olsen shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

4 comments

Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)
Submitting...
  • Jonas M. Hunziker commented  ·   ·  Flag as inappropriate

    That would be a huge plus as well to be able to distinguish between x86 and x64 machines. Currently, we have to create 2 separate packages if our custom inventory rules look in, for example, "Program Files" (C:\Program Files (x86)\ on a x64 machines, but C:\Program Files\ on a x86 machine).

  • SNissen commented  ·   ·  Flag as inappropriate

    And to use environment variables in scripting; e.g.:
    Verify that the directory "%SystemRoot%" exists.

  • Stephen Olsen commented  ·   ·  Flag as inappropriate

    For example: ProductVersionEquals(%ProgramFiles(x86)%)\Microsoft Lync\communicator.exe,4.0.7577.108)
    or
    FileExist(%WinDir%\notepad.exe)

Feedback and Knowledge Base