Answered by:
monitor the CPU, Memory, Network info for ShareFile app

Question
-
Hi all,
I want to generate a PDF file per hour for monitoring the performance of ShareFile. I need to a powershell command line to get it. If possible, limit the PDF file size to about 500K, not much large. Any suggestion is accepted.
Tuesday, November 14, 2017 3:22 AM
Answers
-
Hi,
Based on my research, I recommend have a try with the command Get-Counter to get these performance information. You may refer to the following article for details:
Use PowerShell to Simplify Collecting Performance Information
https://blogs.technet.microsoft.com/heyscriptingguy/2011/01/31/use-powershell-to-simplify-collecting-performance-information/
If you need further help, please feel free to let us know.
Best Regards,
Albert LingPlease remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com- Proposed as answer by Albert LingMicrosoft contingent staff Wednesday, November 22, 2017 3:04 AM
- Marked as answer by Jason Hasiden Thursday, December 28, 2017 7:13 AM
Thursday, November 16, 2017 11:46 AM
All replies
-
Please read this first: https://social.technet.microsoft.com/Forums/scriptcenter/en-US/c47b1bc2-f7fd-4d2e-8ff2-e8a81ce090d4/this-forum-is-for-scripting-questions-rather-than-script-requests?forum=ITCG
Also find scripts here: http://gallery.technet.microsoft.com/
Learn PowerShell: https://mva.microsoft.com/en-us/training-courses/getting-started-with-microsoft-powershell-8276
Script requests: https://gallery.technet.microsoft.com/scriptcenter/site/requests
\_(ツ)_/
Tuesday, November 14, 2017 3:24 AM -
Hi,
Which kind of performance do you want to monitor for the share file?
Also, based on my research, you can have a try following the article below to create PDF files using PowerShell. For your reference, hope it is helpful to you:
Creating PDF files using PowerShell
https://social.technet.microsoft.com/wiki/contents/articles/30427.creating-pdf-files-using-powershell.aspx
If you need further help, please feel free to let us know.
Best Regards,
Albert LingPlease remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.comWednesday, November 15, 2017 2:02 AM -
Yeah, i mentioned in the title. I want a command line to show the CPU, Network, Memory info of ShareFile app in the window. Take a pdf file to display this info per hour. Maybe i need two threads to work it. One is running this command line and another one take a screenshot per hour.
Wednesday, November 15, 2017 2:22 AM -
Hi,
Based on my research, I recommend have a try with the command Get-Counter to get these performance information. You may refer to the following article for details:
Use PowerShell to Simplify Collecting Performance Information
https://blogs.technet.microsoft.com/heyscriptingguy/2011/01/31/use-powershell-to-simplify-collecting-performance-information/
If you need further help, please feel free to let us know.
Best Regards,
Albert LingPlease remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com- Proposed as answer by Albert LingMicrosoft contingent staff Wednesday, November 22, 2017 3:04 AM
- Marked as answer by Jason Hasiden Thursday, December 28, 2017 7:13 AM
Thursday, November 16, 2017 11:46 AM -
Hi,
Just checking in to see if the information provided was helpful.
Please let us know if you would like further assistance.
Best Regards,
Albert LingPlease remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.comMonday, November 20, 2017 7:49 AM -
Hi,
I am checking how the issue is going, if you still have any questions, please feel free to contact us.
If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.
If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions.
If no, please reply and tell us the current situation in order to provide further help.
Appreciate for your feedback.
Best Regards,
Albert LingPlease remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.comWednesday, November 22, 2017 3:04 AM -
I found the solution. Thanks.Thursday, December 28, 2017 7:14 AM