Uncheck the older version – 1.0, then check the newer version (14.0).For example, look at the SQLPS module which has two versions installed:.In order to load the new module(s) manually, follow these steps: Using the Cache Editor to manually add or update a module This will open the “ PowerShell Cache Editor“. Or use the PowerShell Cache Editor – to modify and update the existing cache, which can be found via the Ribbon->File->Home->Platform->Edit Cache icon.Refresh Cache – Refresh the cache using the button via the Ribbon->Home->Platform->Refresh Cache.There are two ways you can update the cache: The module must be located in a PSModulePath directory in order to be discovered by the caching process. Use the following PowerShell one-liner(s) to display the content stored in the PSModulePath: “ $env:PSModulePath“, or “ $env:PSModulePath.Split(‘ ’)“.īecause PowerShell Studio uses a cache of the modules, newly installed modules will not be displayed automatically in the Object Browser. The *cached cmdlets and modules are used to provide PrimalSense, syntax coloring for your PowerShell scripts, and are displayed in the Object Browser. One feature of PowerShell Studio that you want to pay attention to is the PowerShell Cache Editor. When PowerShell Studio is opened for the first time, it creates a cache of all available cmdlets and modules that are on your local machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |