Jump to content

Cptrico

Members
  • Posts

    83
  • Joined

  • Last visited

Posts posted by Cptrico

  1. Hi all,

    POTS for PCM v.1.3 came with support for input controls. Now in v.1.4 there is support for “partial input controls”.

    And what does that mean. It means that it is now possible to have a script that can run with or without all input controls assigned. Let’s think of a script where running it with only one input control, will generate a different output than running it with 3 or all assigned input controls. This makes it possible to create very flexible scripts that can take different parameters.

    Also it is now possible to set the log level of the plugin in the configuration manager.

    Check it out, and as always please report back to me if you have any questions or good ideas for improvements.

    Cheers. :)

  2. Hi Guys,

    I agree that GP is properly the easiest way or a powershell script remoting to all servers and changeing the version.

    What would be cool I think is to have a plugin repo of plugins available in a section of PCM manager. There you could select what plugins your wanted, basically what is there now just extended a bit. They are then downloaded and you could set an option to auto update in the future just like PCM or set it to manual.

    It of course requires that PCM want to have this download traffic on their servers, they have the zip packages already so!?

    And to have this feature, people making their own plugins would have to join the community and upload it to repo to benefit. But we all do that already. :)

    Cheers.

  3. Hi there,

    You need to always point to a ps1 script in the path. What ever you put in that script will pe parsed and run. The reason that the write-host cmdlet is not working is that as you know it writes to the host console ;-), which is not there since we use a plugin to run the code.

    You can put what ever code you want in the ps1 script, please see the script pack for a lot of examples and how to format the output for PCM.

    Thanks for using the plugin.

    Best regards

    Johnni

  4. Glad that it worked for you :)

    You cannot use write-host to display a variable as you normally do when running it in powershell prompt, since there is no shell to write to when inside of POTS. Use the script samples provided they will give you an idea on how the scripts should look. Should be very easy to convert your output from one to another. If you have some specific code you want to have help with just let me know :)

  5. Hi There,

    Thanks for using POTS.

    Paul is right. POTS are looking for the config.xml file (as the only one) in the same directory as you installed the plugin and loaded it in PCM.

    The config examples provided is just that exactly, you can make your own or use one of them as a template and then rename it to config.xml.

    This will be the one active.

  6. Maybe ;) maybe not.

    I have an app on my iPhone that have a local db that has cached the info of my 3000+ movies and series, no problem. So maybe these few informations could be saved, should not be a performance problem thats for sure. And if you don't have password on the app then yes you can see the latest info, but again also all new if there IS access to the server. I recommend start up password to all. Dont know, just an idea ;)

  7. Hi Marius,

    Just a thought..

    Would it by any chance be possible to save this information on a local sqlliteDb on the mpbile device it self, so it don't need to be stored on your servers.

    For every request a thread updates the gui and another update the db, if computer is not available the last saved information is shown together with a last updated date time.

    Don't know if it is possible to achive on the phones. ;-)

  8. Hi Marius,

    Tried the beta yesterday, great work :)

    One thing I noticed is that it was not possible to stop it again( at least i could not find it :) ), would be great if it was possible to stop it gracefully instead of having to kill the process.

  9. Hi there.

    One solution could be:

    Since you are using dell servers then I would go for using it assist essential if you don't already have it. This will generate an alarm which can be send on email / SMS / trap what ever you have. If you are running windows it will log to the event log also the "system administrator managed node" and PCM can then check for events from the system administror software and send a notification. If running Linux the it assistant essential can also run commands/scripts that could trigger a notification to PCM.

  10. Hi Paul :)

    I am obvious a fan of plugins. ;) but creating a plugin here for this when PCM can do 80% of the stuff requested only missing the trigger to be added to the rules. I think it would be wrong to create a plugin takeing features out of the main product. So I agree it is possible to do and if it will not be implemented by PCM devs then it's up to the user to add it if they want it. But for now I would wait and see. ;)

    Cheers.

  11. Hi,

    For now until other triggers are implemented you can get the notifications you want and then take action by running the poweroftheshell plugin, creating a script that suspends the machine mentioned in the notification.

    Then if you have WOL enable you can start it again from PCM also :)

  12. Hi,

    Thanks for using the plugin ;) sorry for the name confusion Paul is digbyp I just sometimes have used digbyp and some times Paul. But it is the same person. Not that I don't want to give Paul Csiki credit :) he has made some cool plugins. But in this case it is Paul Digby. Think I will go for last name for now on :)

  13. Hi all,

    Just released V1.2 of my plug-in. http://forum.pulseway.com/topic/274-poweroftheshell-plugin-10/page__view__findpost__p__1117

    • It now supports nested pages in the menu layout, please see documentation in the zip for more information on how to use this.
    • More information in log(trace) and on the clients themselves if the plugin is having an issue with e.g XML config or scripts.

    The package contains like previously config examples ,but also now a script_pack is included with a pre-configured XML file ready to use all of them.

    The XML file uses the nested layout to gather everything in one place, looks great.

    Please have a look at the (readme-first) before you get started with this,

    I could not have provided you this complete example, without all the help from digbyp.Thanks a lot for using my plugin.

    Please, if you have any ideas to useful scripts or already uses some that we haven’t added yet, please submit them and I will add them in the next package.

    Enjoy.

×
×
  • Create New...