Command Caching Analysis

Welcome Forums General PowerShell Q&A Command Caching Analysis

This topic contains 1 reply, has 2 voices, and was last updated by

2 years, 8 months ago.

  • Author
  • #46929

    Points: 0
    Rank: Member

    Hello Everybody,

    I've been trying to search online and in the numerous books I have on powershell, but can't find any details of how the command caching analysis works.

    Does anyone have any experience with troubleshooting this functionality? I'm seeing massive IO, and huge delays since moving to WMF5 on auto complete and auto module loading.

    I know the Module Manifest can be used to reduce this, by explicitly stating functions to export. Without this how does the engine process the internals of the module is it through an import and reflection of the module its self?

    Any help would be awesome 🙂

  • #46937

    Points: 1,811
    Helping HandTeam Member
    Rank: Community Hero

    Without a manifest, the module must be entirely parsed. That does add a lot of overhead. It isn't reflection; it's essentially a temporary import.

The topic ‘Command Caching Analysis’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort