I have PrimalScript version 4.1.532 Enterprise Edition. In a new blank PowerShell script file when I insert a script from the WMI Wizard I get the following error:
Missing expression after unary operator '!'
The error says the problem is on line 21 character 9. Also, I noticed that the variables are not difined with the $ symbol. I think the script template is for another programming language.
FR
PowerShell WMI Wizard
Forum rules
Do not post any 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.
Do not post any 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.
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
PowerShell WMI Wizard
If you look closely on the Wizard there are two options:
VBScript and JScript.
The WMI Wizard does not yet support PowerShell.
Alex
VBScript and JScript.
The WMI Wizard does not yet support PowerShell.
Alex
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
PowerShell WMI Wizard
Thanks, Alex. I had not notice that. Please put it in the wish list.
Thanks for your prompt response.
Thanks for your prompt response.