Intellisense doesn't work in script panel for new 1706 cm12 cmdlets

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 6 years and 3 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
DennisVH
Posts: 12
Last visit: Wed Nov 16, 2022 6:24 am

Intellisense doesn't work in script panel for new 1706 cm12 cmdlets

Post by DennisVH »

Product, version and build: PowerShell Studio 2017 5.4.145
32 or 64 bit version of product: 64-bit
Operating system: Windows 7 SP1
32 or 64 bit OS: 64-bit
PowerShell Version: 3.0

I updated ConfigurationManager to 1706 + KB4042949

Intellisense/PrimalSense doesn't work for the new cm12 cmdlets in the Script Panel.
It does work in the Console Panel

In Object browser - PowerShell browser I do find ConfigurationManager in Modules but it doesn't contain the new cm12 cmdlets (f.e. New-CMDetectionClauseDirectory)

I already tried a refresh to the local cache but that didn't to anything.
User avatar
Alexander Riedel
Posts: 8488
Last visit: Tue Apr 16, 2024 8:42 am
Answers: 20
Been upvoted: 37 times

Re: Intellisense doesn't work in script panel for new 1706 cm12 cmdlets

Post by Alexander Riedel »

Is there a place where we can obtain that module ourselves?
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
DennisVH
Posts: 12
Last visit: Wed Nov 16, 2022 6:24 am

Re: Intellisense doesn't work in script panel for new 1706 cm12 cmdlets

Post by DennisVH »

Trial of System Center Configuration Manager and Endpoint Protection (current branch - version 1702) is available at https://www.microsoft.com/en-us/evalcen ... protection
Instruction to upgrade to 1706: https://www.systemcenterdudes.com/step- ... ade-guide/
Instruction to install SCCM 1706 Update Rollup 1: https://www.systemcenterdudes.com/how-t ... kb4042949/

In C:\Program Files (x86)\ConfigMgr10\AdminConsoleSetup\
{14C5B36A-F185-47E8-ABEB-96FC7D3EBDDC}\Adminconsole.msi
469A3000-14DA-425E-B288-4B0E16DB87C4\configmgr1706-adminui-kb4042949-i386.msp
to install on a workstation which adds the ConfigurationManager module with the update cmdlets.
(C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1)
User avatar
DennisVH
Posts: 12
Last visit: Wed Nov 16, 2022 6:24 am

Re: Intellisense doesn't work in script panel for new 1706 cm12 cmdlets

Post by DennisVH »

I was able to fix the issue:
Edit Cache
Uncheck ConfigurationManager
Import Module... C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1
Check ConfigurationManager
Close Edit Cache
Refresh Local Cache
User avatar
Alexander Riedel
Posts: 8488
Last visit: Tue Apr 16, 2024 8:42 am
Answers: 20
Been upvoted: 37 times

Re: Intellisense doesn't work in script panel for new 1706 cm12 cmdlets

Post by Alexander Riedel »

Different versions of the configuration Manager I assume?
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 6 years and 3 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.