none
how to get the list of scom agent managed server and stored in csv format RRS feed

  • Question

  • please guide me step wise on how to get the list of scom managed servers and to store in a csv format

    I want to take out the list by running command in powershell. Please guide me

    Tuesday, July 25, 2017 8:53 PM

Answers

  • Hi,

    Please use below :

    Get-scomagent | export-csv -path "c:/temp/agents.csv"

    Thanks

    Ashish

    • Marked as answer by AD_SC Wednesday, January 10, 2018 11:16 AM
    Friday, August 4, 2017 1:43 PM
  • Hi Sir,

    Please give it a try :

    Get-SCOMAgent | select displayname,version,healthstate,actionaccountidentity,proxyingenabled | Export-Csv c:\tes
    t\test.csv -NoTypeInformation

    Hope it is helpful to you .

    Best Regards,

    Elton


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Proposed as answer by Elton_JiModerator Sunday, August 13, 2017 3:20 PM
    • Marked as answer by AD_SC Wednesday, January 10, 2018 11:16 AM
    Wednesday, July 26, 2017 4:40 AM
    Moderator

All replies

  • Hi Sir,

    Please give it a try :

    Get-SCOMAgent | select displayname,version,healthstate,actionaccountidentity,proxyingenabled | Export-Csv c:\tes
    t\test.csv -NoTypeInformation

    Hope it is helpful to you .

    Best Regards,

    Elton


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Proposed as answer by Elton_JiModerator Sunday, August 13, 2017 3:20 PM
    • Marked as answer by AD_SC Wednesday, January 10, 2018 11:16 AM
    Wednesday, July 26, 2017 4:40 AM
    Moderator
  • Hi,

    Please use below :

    Get-scomagent | export-csv -path "c:/temp/agents.csv"

    Thanks

    Ashish

    • Marked as answer by AD_SC Wednesday, January 10, 2018 11:16 AM
    Friday, August 4, 2017 1:43 PM
  • Thanks Elton!

    AD

    Wednesday, January 10, 2018 11:09 AM