Foglight - Powershell

Hello

Can someone point me to the example of the use of Powershell as custom agent?

I found this, but I don't know exactly how the two things are handled

https://support.quest.com/SolutionDetail.aspx?ID=SOL56005&category=solutions&SKB=1

(1) this causes a number of sublayers to open. How are these areas being closed? Don't create an infinite number of zombie processes?

(2) how to retyurn values to Foglight a key pairs from the results of the powershell value happen in another window?

The example that you referenced runs a command remotely on a target computer that is intended to be used as an action that runs on a remote machine in response to an alert.

While I have not tested this with powershell, I suspect that it works as it does with Java and perl, you run the java or perl command followed by the name of the file that you want to run, everything that is written to the standard output goes to Foglight but you must ensure that a part of the production is the definition of the table , as well as the beginning of the sampling period

http://en.community.Dell.com/TechCenter/performance-monitoring/Foglight-administrators/w/Admins-wiki/5787.custom-agents-introduction-to-script-agents

The example in this video should be valid by running the command java, followed by the class name must be very similar to how powershell is run (followed the .ps1 file powershell command)

http://en.community.Dell.com/TechCenter/performance-monitoring/Foglight-administrators/m/Admin-videos/20438772

Hope this helps

Golan

Tags: Dell Tech

Similar Questions

  • What is Powershell?

    Separated from this thread.

    I'm trying to find out what Windows Powershell is and what it can be used for.  After a quick glance, it seems that it could be used to create things like web pages or functions.  I don't like to mess with things until I know something about them.  Don't need all the details, so who can make me an answer more quickly, but I can play in Powershell or I can cause problems in my system?

    Hope that I will soon and thank you in advance for any help you can give me.

    Please see here: Getting Started with Windows PowerShell

  • PowerShell PGP

    I hope someone can help me.  I am very new to PowerShell.  I'm trying to see if powershell can even do what I need to.  I have an encryption key that I use to encrypt files.  Is it possible to have powershell to import the key and use this key to encrypt the file?  I need to have a script that I can automate in Task Scheduler that runs and encrypt the file for me.   I don't have any code to share because I do not know where to start. hoping someone can help me

    This issue is beyond the scope of this site (for consumers) and to make sure you get the best answer, we need to ask either on Technet (for IT Pro) or MSDN (for developers)

    If you give us a link to the new thread we can point to some resources it
  • Bus service to powershell from windows server 1.1

    I'm trying to update the powers of site admin and tenant for my service for the farm 1.1 bus windows with three knots.

    I followed the instructions here... https://msdn.microsoft.com/en-us/library/dn520958.aspx

    but when I get the line topic [RunOnAllNodes] update-SBHost I get the following error in powershell

    On line: 1 char: 17
    + [RunOnAllNodes] update-SBHost
    +                 ~~~~~~~~~~~~~
    Unexpected token 'Update-SBHost' in expression or statement.
    + CategoryInfo: ParserError: (:)) [], ParentContainsErrorRecordEx)
    reception
    + FullyQualifiedErrorId: UnexpectedToken

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)

    If you give us a link to the new thread we can point to some resources it
  • Comand PowerShell for authorization of SIDHistory

    It is that any tool or contain recommended by Microsoft powershell commands that provide the authorization of SIDHistory?

    [Moved from the community centre of Participation]

    It is that any tool or contain recommended by Microsoft powershell commands that provide the authorization of SIDHistory?

    [Moved from the community centre of Participation]

    A quick search on TechNet suggests that this question must be asked in the appropriate Windows Server forum

    https://social.technet.Microsoft.com/search/en-us/TechNet?query=PowerShell%20sid%20History

    Forums-[view all] on the left side

    https://social.technet.Microsoft.com/forums/en-us/home

    Don

  • How to extract dllhost PID by using powershell, call CMD

    We have 10 applications windows .net that are hosted on windows server 2008.

    All of these applications are in a single default container in an Application Pool.

    Now we have a scenario where we deploy applications only 2 out of 10

    Stop the application pool and deploy only for these two applications, causing one problem for others 8 applications also are not deployment.

    We tried to get the PID of partitions, COM + so we can kill the PID of this particular dllhost and making our deployed application but could not achieve to get it via a command prompt or powershell

    So is there a solution to kill a dllhost.exe of a particular application hosted on windows server 2008 default containing under the application pool?

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • PowerShell in Win2012

    I need to close the powershell in Win2012 so that when I reboot it will never come again.

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • System Center Orchestrator 2012 R2 + Powershell module

    Hello

    I'm new here and just start using System Center Orchestrator 2012 R2.

    I created a file to play a Powershell Script that imports a module.

    The PS module has been deployed to all servers in folders.

    Executing files, it can't... I founf out that the new PS module is not imported through the host of orchestrator runs the script.

    to debug, I have performed in a test files:

    Get-module-list | out-file c:\temp\modules.txt

    and the new PS module is not listed in the file put out!

    I need to reboot servers in folders (or services) to get the new module PS imported successfully?

    Thanks a lot guys.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • Execution of Powershell in Windows Server Core

    I have a computer that is running Windows Server Core R2 2012. I don't have the GUI or all installed roles. So all I have when I connect is the command prompt. I'm surprised that I can't run Powershell commands. How to add the GUI or get powershell running?

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.msdn.Microsoft.com/forums/en-us/home

  • PowerShell text editing

    I did a quick search but can't find anything on this, I do not see a server then if this section in the wrong place I'll move it.

    Essentially what I want to do is see and edit text via Powershell files.

    During remote access via Powershell on a server, I can make most of the things I want, stop/start services, scheduled tasks, etc.. The output of some text files reading is kind of easy with Get-Content some_text_file.txt/log | Select - last 50 /-50 first and then read the output.

    The problem is that some files that I want to read through hundreds of lines long and I can't search through the output. Now, I know that I can open the file using the unc path in windows explorer with \\servername\c$\folder\where\fileis\located\some_text_file.txt but I think it would be easier to access and navigate the file in Powershell, rather than having as many open windows.

    This has been possible in * nix for a long time and I'm not a full blown type emacs/vim to clone. Something small and light as nano would be perfect, just enough to open the file and scroll it wisely with the possibility to search and edit sections, a version of Powershell Notepad would be ace.

    As a system administrator I have often multiple pssessions open on my servers and having the ability to natively without having to install any additional software, specially for our servers that are running the server core would really benefit.

    Hello

    No, we don't server issues.

    But there is a Microsoft Community dedicated to it. Unfortunately, you can't move Threads between Forums within this community.

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • PowerShell script to delete files based on the current Date

    I know using PowerShell Get-Date will look at the current date.  I would like to make a very basic PS Script that will remove a file over 8 days based on the current date.  According to me, with the help of a if/then the function will be necessary.  I am very new to scripting if Im not sure how the syntax is written.  Any help is appreciated.

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.technet.Microsoft.com/forums/en-us/home

    http://social.msdn.Microsoft.com/forums/en-us/home

  • Such a powershell script exist?

    Windows Server Standard 2012R2. I know not enough about powershell scripts to be dangerous. So I guess that its better to ask for help on this one. As you know, in the Windows backup program, the e-mail feature is depreciated on server 2012. However, I had no problem of customization of a powershell script that I found so that it sends an email when the nightly backup is completed successfully. Te was easy to do. In Manager tasks I just put the firing an event, with the event being backup Windows and a number of event 4 - which means backup completed successfully. In fact, it works very well for my clients.  But it is not the fault of my client. (of course!)

    Customers only the desire to receive an email if the backup is not successful. But the reasons for a backup failed are many which can generate any number of errors in the event log. Since I'm just not knowledgeable of powershell scripts, I hope someone can help me here, or at least direct me to where I can get help. Basically, I need a script powershell like this:

    Trigger is "the eventID 14 (completed backup operation).

    If eventID in the Microsoft-Windows-backup/OPerational log prior to the triggering event is not 4, while sendmail

    This above would of course, include my work already sendmail script. Is this possible? Maybe someone has already done? Any help would be appreciated.

    Hello

    For technical support, repost the question in the Windows Server Forum.

    https://social.technet.Microsoft.com/forums/WindowsServer/en-us/home

  • Dynamic Distribution groups in Powershell

    Hello

    I'm trying to put in place a DDG in Office 365 with powershell. I get the below at each attempt. Could someone please tell me what I'm doing wrong exactly? Thanks in advance.

    Hello

    Transfer your question to Microsoft Office 365 community.  They are better able to help you.

    http://community.office365.com/en-us/f/default.aspx

  • Error 0 x 80070643 installation on Windows Server 2008 R2 when installing PowerShell ISE?

    I am running a new installation of WinSvr 2k8r2 order on my server at home. and when I try to install Powershell ISE, I get error 0 x 80070643 installation.  I read the entries posted here but all are specific to MSSE and related to Win7, Vista, or Windows XP. What should I do to fix this error.
    Thank you

    Hi Dan,.

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please ask your question in the following forum.

    Windows PowerShell Forum

  • Try Powershell Copy-Item, get the message "there is not enough space on the disk.

    I'm using Powershell 2.

    I'm trying to copy a file, not very complicated.

    Copy-item D:\Outgoing\tsc.sqb D:\Incoming

    I get this:

    Copy-Item: there is not enough space on the disk.
    On line: 1 char: 10
    + Copy-item<  d:\outgoing\tsc.sqb="">
    + CategoryInfo: NotSpecified: (:)) [Copy-Item], IOException)
    + FullyQualifiedErrorId: System.IO.IOException, Microsoft.PowerShell.Commands.CopyItemCommand

    If I replace Copy-Item by Move-Item, everything works fine. I didn't ' t want to move the file, however, simply copy it.

    Any ideas? Files is 230 KB or more.

    Hi BarryFreeman,

    You can ask your question in the TechNet next to all the script help forum:

    http://social.technet.Microsoft.com/forums/en-us/categories/

Maybe you are looking for

  • Too many photo albums

    I have really don't need or want all the extra albums that seemed to come with the last patch. He can't see a way to get rid of them? VAlerie

  • ATRIX: YouTube blocks (constant!)

    Look at a material YouTube audio or video, my Atrix totally crashes after several plays, requiring a battery pull to restart. Is this a recognized problem what can I expect to be addressed in a future update? It is a very serious problem in the phone

  • event graphics tool palette active?

    Hello users of LabVIEW,. Simple question, I hope. How can it detect the Paletter Active of the chart tool has changed? The only solution I found is to use the timeout event and to query the property node. If you use the mouse upwards and the mouse to

  • E260 itself switched to MTP mode?

    I have a sansa e260 EU w/o runing FM. New firmware, 01.02.24E It was running under MSC. Recently, Vista, I installed the new update of sansa and plugged my player. There is no directory of MUSIC in there, but it was there before. I unplugged, switche

  • How can I change my language from Spanish back to English?

    I share my computer and I do not know how to save English Languaje, my version is windouws Vista I share my computer and they have original in Spanish languaje chenged.  Help me please go back in English.I have version Windows Vista. Thanks a lot. Ma