< Back

Optimize-OMPProfile

Sat Jan 18, 2020 5:42 pm

NAME Optimize-OMPProfile



SYNOPSIS

Runs ngen on powershell assemblies. This can sometimes optimize startup times for PowerShell.





SYNTAX

Optimize-OMPProfile [<CommonParameters>]





DESCRIPTION

Runs ngen on powershell assemblies. This can sometimes optimize startup times for PowerShell. Requires an elevated

prompt to run.





PARAMETERS

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





Author: Zachary Loeber Info:

http://stackoverflow.com/questions/4208 ... nvironment



-------------------------- EXAMPLE 1 --------------------------



Optimize-OMPProfile







RELATED LINKS

https://www.github.com/zloeber/OhMyPsh https://www.github.com/zloeber/OhMyPsh