

With wp core you can control the very core of your WP instance. If something is missing in your command, WP-CLI will do its best to try to tell you what extra is needed or needs changing. Remember that it is a good idea to put values in single quotes so that the command line doesn’t interpret it as another command. Lastly, we add two parameters, the first meaning we want to activate it right away and it should be version 1.0. Focuses on the plugin section of your site whilst wanting to install a plugin by the name or value of servebolt-optimizer. Here you can see that we initiate WP-CLI with wp. An example would be: wp plugin install servebolt-optimizer -activate -version='1.0' You can also add additional parameters which always begin with two hyphens and possibly a variable assigned to it with an equals sign. Lastly, you sometimes have to give a necessary name or value to set. After comes the section you want to alter in your WP instance, followed by the action keyword that actually alters that section. How WP-CLI commands are structured is that the first word is always wp. To see the full command manual for WP-CLI, first navigate to your webroot and run the command: wp.

You can only use WP-CLI in the webroot directory of your WP site and not outside it. If you are using a script to reinstall the agent it is recommended to consider clearing the asset tag for the agent as well.The command line interface for WordPress, called WP-CLI, is installed for all hosts on Servebolt and is available when you log in to your site with SSH.After maintenance, reinstall the agent as required.Please note that this key is a GUID and is different for each version of the agent, however, looking for DisplayName of Windows Agent we can easily find the correct string.Use this key to run a silent uninstall by simply adding /qn to the command line.

Find the Uninstall String inside the registry key.Ĭomputer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\.Find the uninstall key in the registry.Ĭomputer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\orComputer\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\.
