Powershell script to calculate outlook load time

Chetan rms 21 Reputation points
2021-06-26T15:33:08.287+00:00

Hi
I have requirement where powershell should open outlook application and close it .
Along with that it should calculate tota time it take for opening and closing outlook application

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,382 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andreas Baumgarten 97,396 Reputation points MVP
    2021-06-26T16:14:46.133+00:00

    Hi @Chetan rms ,

    to get the measure times with PowerShell there is a command called ``measure-command` :
    https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/measure-command?view=powershell-7.1

    The challenge might be to get the time when Outlook finished to start. What is your definition of "Outlook is done with starting"?

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    0 comments No comments

0 additional answers

Sort by: Most helpful