ASP set of command line

Hello

Anyone is able to change the values of the ASP for the command line (or groovy), I want to change a large number of selected agents.

A previous post talks about using asp: together, but looking at the option of the command cmd - fglcmd.sh there isn't like asp: together.

Another option that I have that is not perfect because it will take a manual step, is if I could define tags agent from the command line and then change groups, everyone does it?

See you soon

Andy

example of another post - /opt/foglight/*_FMS/bin/fglcmd.sh - fog usr - pwd fog cmd - asp: together - agentId - configName SQL2005 - keyName InstanceName-value

./fglcmd.sh - usr pwd - xx xx - cmd commands

Agent:

activate active agent.

clients display a list of known clients.

clientupgrade upgrades a remote clients.

Create creates an instance of an agent.

Disable disables an agent.

Delete Deletes an agent.

deploy deploys an agent.

GetLog retrieves a specific agent to log file.

list displays a list of known agents.

newspaper displays a list of agent log files.

Packages displays a list of packages available agent.

SetSchedule assigns a blackout schedule to an officer Foglight.

showschedule displays a list of schedules of blackout attributed to agents.

Start starts an agent.

Stop stops an agent.

types displays a list of the agents known by the name of the agent host.

cartridge:

Disable disables a Foglight cartridge installed.

enable activates a Foglight cartridge installed.

Install install and activate a Foglight cartridge (on by default).

list of all installed Foglight cartridges.

uninstall Uninstalls a Foglight cartridge.

License:

import installs a license.

list displays a list of installed licenses.

Remove Removes a license.

Migration:

agent to migrate a 4 Foglight agent instance.

cancel the task migration Cancel that are planned or underway.

createhostalias create a host alias 5 foglight for a host Foglight 4.

data migrate the data collected for an agent instance Foglight 4.

DCM migrate a DCM Foglight 4.

items in the list all elements of a given Foglight 4 server migration or all servers registered Foglight 4.

listhostalias list all alias host 5 foglight Foglight 4 guests.

Get status and migration of the newspapers associated with an element of migration log.

Refresh refresh a Server 4 Foglight recorded to reflect changes on the server.

Grid Server 4 Foglight for migration.

removehostalias remove a host alias 5 foglight for a host Foglight 4.

unregister Unregister a Server 4 Foglight recorded (already migrated items will not be affected).

Schedule:

list displays a list of all the annexes Foglight.

script:

Run executes a script.

Security:

assigngroup assign a user to a group.

assignrole assign a group to a role.

CreateGroup Create a group.

CreateUser to create a user.

DeleteGroup remove a group.

DeleteUser removes a user.

exportldapcfg LDAP integration in the export settings.

integration of LDAP Import importldapcfg settings.

list security artifacts.

support:

Bundle creates a support group.

ClientBundle creates and get a bundle of a client to delete support.

topology:

blackoutobject assigns a calendar of blackout to topology or objects.

electricity lists all assigned to objects of topology power cuts.

util:

ConfigExport exports Foglight monitoring policy.

ConfigImport matter a Foglight political control.

display approx. Foglight Server configurations

metricexport exports metric observations by request.

Topologyexport export topology object's properties.

uiexport exports a WCF module.

uiimport matter a WCF module.

UIList displays a list of the deployed modules of WCF.

I found an environment to test this script in.

I discovered that there was a mismatch between the ' / monitoredHost/name "used by the agent of systeme_windows and the virtual 'name' machine, which this script assumes must match.

Adjust the gap, I changed:

/vmName = val.get("name").toLowerCase)

TO:

vmName = server. DataService.retrieveLatestValue (val, 'dnsName')? value?. toLowerCase()

After you make this change, the script worked are expected. Note that not all the virtual machines in my test environment had a "dnsName" (where the ""? "to protect themselves against the null value"), if this method can not be infallible.

Kind regards

Brian Wheeldon

Tags: Dell Tech

Similar Questions

  • Is there a setting from command line for Windows Media Player?

    Could someone tell me please in the right direction for a set of command line for wmplayer settings?
    I use... .Wmplayer /play /playlist pA.wpl as an automatic start and play line RUN.
    Player starts and displays a list of PA on the screen but does not play.
    If I use... .Wmplayer /play /C:\name.mp3 then, it works very well.
    Thank you
    Brian Taylor

    First of all, /play is not a supported parameter, and you should not put a slash in front of the file names.

    To launch WMP and let him play a playlist, simply specify the name of the file to the playlist on the command line, for example:

    Wmplayer PA.wpl

    The /playlist parameter is only for play playlists that are in the library and does not have a file name of playlist, but the * name * of the playlist in the library, without extension or directories.

  • Setting up command line options Toshiba VAP - Support Button-

    Hello

    I need to configure the button Support drivers for laptops of the Portege series as part of the deployment of Windows 7 x 64 bit Enterprise on the following models: Z830, Z930 and R930.

    I need to install Toshiba value added package with Flash card option only.
    What command line options are present to do that?
    I'm looking for it deploy through SCCM.

    Thank you

    Hello

    My knowledge of the value of added Toshiba contains various simple applications of Toshiba. These applications must be installed one after the other.
    You will need to run the setup.exe / installation.exe for the procedure to start the other options are not known to me

  • How to set address static IP for cisco APS to the controller via command line

    Hello

    in our project it 208 APS registered in a WISN-1 controller

    How do I assign a static ip address to this Aps via command line in a controller 4404

    Thanks to the Internet, it takes more time to assign the static ip address

    You don't mention what version of the code, you are on but on 7.0:

    ap static IP config activate

    You can also add

    ap static IP config add domain

    ap static IP config add nameserver

  • Set up a printer from command line numbers

    I tried to understand why my arguments do not work. Initially I created a file with the commands PrinterUIEntry .bat, but I got an error "Invalid Argument". I went to the cscript method and I'm still not understanding why he get errors on the install printer driver and install. The user of the command file created will be NON-TI users. I want to send a package with them with printer drivers, unzipped and installed using the .inf file. I can't seem to make it work properly and don't want to waste any more time trying to figure out what's wrong. Any help would be appreciated. Thank you!

    = First method tried =.

    rundll32 printui.dll /ia/c\\L638/l "C:\Temp\NC Print Drivers\dellopd_A06\dellopd.inf"

    -Error of read "invalid Arguments".

    rundll32 printui.dll/if /f "C:\Temp\dellopd_A06\dellopd.inf" /c\\L638 / b "Dell 5210n" / u/r 'IP_192.168.10.157 '.

    -Error of read "invalid Arguments".

    = Current method =.

    cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prnport.vbs - a - r IP_192.168.10.157 h 192.168.10.157

    -This creates the great port, no error

    cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prndrvr.vbs - a-i 'C:\Temp\dellopd_A06\dellopd.inf' h 'C:\Temp\dellopd_A06 '.

    -Error indicates "unable to add the printer error 0 driver x 80041008.

    cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs - a "Dell 5210n" PEI - r "192.168.10.157".

    -Error indicates "unable to add the parameter not valid printer Dell 5210n error 0 x 80041008."

    Operation PutInstance

    CIMWin32 provider

    Description

    Win32 error code.

    Hello
     
    Thanks for posting your query in Microsoft Community.
     
    According to the description of the problem, I understand you are trying to install the printer drivers create a .bat with the command-line PrinterUIEntry file.

    The problem you are having is better suited in the Microsoft TechNet forum, we have a dedicated team to help you with such questions. I suggest you send the same question in the Microsoft TechNet forum for more help on this issue.
    http://social.technet.Microsoft.com/forums/en-us/home

  • Options command line for Windows 7 - root set of explorer.exe

    I've seen the advice that the old syntax WinXP works but I can not put the root of the view.  The desired folder appears but [in the left pane] all unwanted folders appear also [e.g., Favorites, libraries, all other folders for the user, network] which severely complicates the view, especially once I have develop subfolders in the folder desired.  In Windows XP, the part of the root of the activated syntax look at a just the folder and its subfolders [so that the left pane just to show my documents in the left pane for example].  Simple representations of WinXP can be created in Win7?

    Which is not clarified your original intention; I see now that you were recommending "the new paradigm" rather than offering a way to recreate the previous.

    As for me, I only occasionally used far the paradigm of wire of Ariane and never as a total replacement for the navigation pane.  I guess I'll have to turn off the pane for a while and see how the breadcrumbs affects my workflow.  I've been very heavily dependent on the visual appearance of the component and be able to see the hierarchy and relationships... but on the technical information is also available in the bread crumbs, but not as visually complete.  We'll see.

    As an addendum, it is worth noting that, despite this overhaul two times you mentioned, Explorer still apparently accepts all the original XP - era command-line switches, as / root, even if they have no relevance and seem to be ignored.  If the switches is nothing more do, then for gods sake why not to delete and generate a warning or polite error?

  • Located in alt - f12 vmkernel console command line & set as default kickstart

    I would change all my existing ESX 3.5U4 servers such as "vmkernel (non-interactive) newspaper" console Alt - F12.  Since I have too much to do this manually, anyone can propose a command-line option to perform the following operations:

    First, put the console to the console log vmkernel Alt - F12.

    Second, make sure you stay like that for each future start of ESX...  I would put this to all of my systems and put it in my example kickstart file.

    You can use 'chvt' to change the active console.

  • Firefox command line option 'no-remote' launches a redirection of spam

    I set up multiple profiles in Firefox. I want to be able to run multiple profiles at the same time, so I created the shell script to start each profile; example:

    nohup /Applications/Firefox.app/Contents/MacOS/firefox Pei User01 no remote > / dev/null 2 > & 1 &

    When I do that, I get the following pop - up. The endpoint may change, but the section of domain.domainggateway.com that seems to start forwarding appears every time.

    http://11165504-364378.domain.domaingateway.com/redirect?o=0 & y = 0 & x = 0 & r=http%3A%2F%2Fpdamv.bidsystem.com%2Fppc%2Fclick.aspx < deleted long chain - c >

    I have narrowed down in determining that this will happen only when I use the option 'no-remote '.

    I suspected that I had malicious programs from a Plugin. So I carefully and completely uninstalled Firefox, twice. Yet both times I kept getting this pop-up when you start by the above command. I have not found a solution.

    I now suspect some lance this code lies in the official download of Firefox, but I don't know how to dig into that one more away. Ideas on how to figure out where it comes from and how to fix?

    Mac OS - X 10.10.5
    Firefox 4.0.0.3

    Thank you

    'Re missing you the main hyphen before '- no - remote', if Firefox thinks you want to open the remote Web site no.

    • nohup /Applications/Firefox.app/Contents/MacOS/firefox-aucun-distance Pei "User01" > / dev/null 2 > & 1 &

    You can add - no.-distance to the command line to open another instance of Firefox with its own profile and run multiple instances of Firefox at the same time.

    Note that you can not open external links in a Firefox instance started with the - non-interrupteur remote, usually it is recommended to launch default profile without the - No.-remote switch unless you are never to open external links (by clicking on a link in an email) in Firefox.

  • Command line

    Using Firefox, Aurora and all night on the same machine:

    Path for Firefox is: "C:\Program Files\Mozilla Firefox\firefox.exe" p - Ian
    Path for Aurora is: "C:\Program Files\Aurora\firefox.exe" PEI Camelot
    Path for every night is: "C:\Program Files\Nightly\firefox.exe" PEI conducting

    It is, if Firefox is running and as I click on the icon of the Aurora, another Firefox window opens and not Aurora; for even if I click on the icon for every night, another Firefox window opens and not every night. The paths are clearly separated. The Profile Manager has the correct user name.

    How can I set the three concurrent sessions to be opened on a single machine with their username each? Am I missing something?

    You use the -no-remote command line option to open a second instance of Firefox using another profile and the target application. For example, if "C:\Program Files\Mozilla Firefox\firefox.exe" p - Ian is open, use this command line to start your profile conducting:

    "C:\Program Files\Nightly\firefox.exe" -p BetaTest -no-remote
    

    For more information, see http://kb.mozillazine.org/Opening_a_new_instance_of_Firefox_with_another_profile

  • How can I start FF command line (nix) without window, menu, tabs and other - as absolutely full screen?

    I need FF on Linux base for kiosk with tuchscreen. So he must start automatically command line (console) in full screen mode without a window, menu, tabs, address line and side ruler. I guess I can set up in a conf file and use some options command line, but where can I find the full list of options and the description of the conf file?

    You can watch this extension:

  • My firefox has no command line

    My firefox has no command line, or any other web site for important. In the Web Developer menu, the only tool I have is the page source. I re-installed firefox several times and set up different channels, but still no dice.

    Try to ask for advice in the MozillaZine forum is based.

    Maybe someone knows what the problem is.

    I'm still all Linux development tools in the Nightly build of current.

    I assume you are using the 32-bit version because built 64 - bit Windows are not put to the test and can be broken at any time.

    You must register on MozillaZine forum site to post in this forum.

    See http://forums.mozillazine.org/viewforum.php?f=23

  • Change access to command line network services

    Hello world

    With the help of Server 5 on El Capitan.  I adjust some parameters in the pane of the server. I was limiting the Administration remotely (and screen sharing?) to a specific machine - but made a typo.  The end result has been restricted access to 127.0.0.1 and the incorrect address.  So I can not long remote control administer the machine with the app Server, not with the ARD, and nor can I vnc inside.

    I, however, have ssh access.

    Is it possible to set the IP address associated with the service of the command-line remote administration?

    Thank you

    -Jeff.

    Disable packet filtering:

    sudo pfctl(8) d

    You should be able to connect to remote access. Then restart.

  • How to create a Firefox 3 profile from the command line?

    I would like to create a new profile on a FreeBSD 7.2 - amd64 machine using Firefox 3.5 under the CONSOLE.

    When I type:

    Firefox3 - CreateProfile "foobar".
    Error: no display specified

    No there is NO way to create a profile without having a viable display to set? What I don't understand is why Firefox cares a screen if I just create a profile? Does perform a work around?

    Once again, I want to create the < profile > ~/.mozilla/firefox/ without screen (this is for an unattended installation, after firefox3 is added, I want to create a custom profile, add extensions, etc., etc.).

    Thank you!

    This script can not supported command line parameters

    It works for me with the official version.

    #!/bin/sh
    
    cd /usr/local/firefox-NI
    ./firefox -CreateProfile foobar
    
  • Is it possible to adjust the settings of the BIOS via a command line?

    Hello

    is there a possibility to set the parameters of the Toshiba BIOS on a command-line tool?
    We have hundreds of Toshiba laptops and want to enable Wake On Lan.

    I know there hwsetup, but as much as I know this GUI does not accept parameters.
    We want to propagate the settings again on a script.

    Any solution for this?

    Thanx

    > is there a possibility to set the parameters of the Toshiba BIOS on a command-line tool?
    Something like which is unknown to me and I doubt that this could be possible.
    As you say there is a preinstalled Toshiba HWSetup tool which can be used to change some BIOS of some settings. But what a way to change the settings of the BIOS to the Windows operating system.

  • Terminal watch ' print: / $ username'-how to reset to remove 'print' command line?

    Hello

    When I open my Terminal on my iMac, I ' print: /' before my user name$. It's not happened before with me and can't get on my Macbook Pro. I tried to remove plist, cd back home, but still adds the ' print /: How can I get that back to my default command line? * See example below

    Thank you!

    sudo scutil --set HostName whatever-you-want

    If it does not, the host name is used for the result of a reverse lookup of your IP address on a local DNS server, very likely your gateway.

Maybe you are looking for

  • 15 AC 122TU: Driver for wifi

    HIII Guyzzzzzzz... Someone help me with these 2 drivers Integrated 10/100 BASE-T Ethernet LAN & 802.11b/g/n (1 x 1) and combo Bluetooth 4.0

  • Is it possible to give feedback through the app?

    I found a translation problem in the Mac desktop client and could not find any way to send your comments. I know there is an option on the help section in the Windows app, but it is not present on the Mac one. I have the client v6.19 (452). Thank you

  • DAV tz145 does'nt play videos

    I use a home theater sony dav-tz145 and when I play a mp4 video 300 FPS from a USB pendrive it says unsupported video frame rate

  • How to find the value?

    How to calculate the value of 2.50e + 2 in the analysis of string function when the %f format string is selected?

  • Blue Screen of Death: Driver IRQL not less or equal (Windows Vista 32-bit)

    I tried to run the test for diagnosis of memory, not fixed. I tried iObit Installer and cleaned with the advanced care system, is not fixed. I don't have a good to restore restore point to the. Here's my dump files. https://onedrive.live.com/redir?RE