I am working with a trial version of PowerShell Studio 2019. I am following along with training video (https://www.youtube.com/watch?v=BAi81bOjYlQ) for creating basic GUI app. I am working on get the ( Get-CimInstance -ClassName Win32_operatingsystem ) inserted correctly. Studio is saying its not a recognized command-let.
When just running basic ( get-module ) nothing is being returned.
Did I miss a step or limited due to trial?
Side note - following along video - I could not resize the "label 1" box using the GUI- had to resize using the properties (change max and min - height/width)
Modules Installed Already?
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: Modules Installed Already?
You cannot use that command with PowerShell 2. It is only valid in WMF 3 or later.
Be sure to only follow videos for WMF 3 or later when learning forms. PS2 based training can be misleading. PS1 training is even more problematic.
The video specifies W10 WmF 5.1 explicitly.
Be sure to only follow videos for WMF 3 or later when learning forms. PS2 based training can be misleading. PS1 training is even more problematic.
The video specifies W10 WmF 5.1 explicitly.
Re: Modules Installed Already?
Sorry, little confused. The machine I am using for trial is Windows 10, (with powershell 5.1). In the video its win10 and powershell 5.0, so why won't it work?
Re: Modules Installed Already?
Then it is likely that you didn't select V 5.1 in the "platform" selection. Check to see which version you selected. "Home" tab "Platform" group. Select "V5 - 64bit" - or 32 if on a 32 bit box.