Search found 328 matches

by mxtrinidad
Tue Dec 26, 2017 11:51 am
Forum: PowerShell Studio
Topic: New-TagAssignment works in .ps1, but not in .psf...
Replies: 12
Views: 3781

Re: New-TagAssignment works in .ps1, but not in .psf...

Also, I may suggest to display the content of the $null variable which may hold (if any) the error message that the New-TagAssignment cmdlet may produce. Just for troubleshooting purpose also remove the parameter '-ErrorAction stop'. Let it bomb out! By the way, $null is a reserved variable. Please ...
by mxtrinidad
Fri Dec 15, 2017 4:26 pm
Forum: Windows PowerShell
Topic: assing a multiline value to a textbox
Replies: 5
Views: 1468

Re: assing a multiline value to a textbox

The only way I can replicate the issue would be by leaving the text box multiline property as "False". Otherwise setting it to "True" and resizing the textbox then it will work with either single, double quotes, and here-string format.
Multiline_2017-12-15_18-19-35.png
Multiline_2017-12-15_18-19-35.png (11.63 KiB) Viewed 1394 times
by mxtrinidad
Fri Dec 15, 2017 11:37 am
Forum: Windows PowerShell
Topic: assing a multiline value to a textbox
Replies: 5
Views: 1468

Re: assing a multiline value to a textbox

Simple fix! You need to use the Here-String text format the following way: $example = @"Hi Car Today "@ For more information look at the following link: https://technet.microsoft.com/en-us/library/ee692792.aspx Otherwise the previous format will be understood as a one line string no matter how you'l...
by mxtrinidad
Mon Dec 11, 2017 8:11 am
Forum: Installation Issues
Topic: PS2017 Update failed and software vanished
Replies: 3
Views: 2972

Re: PS2017 Update failed and software vanished

Sorry for any inconvenience!
Please contact sales department at sales@sapien.com and be sure to include your invoice number. They should be able to determine your subscription number.
by mxtrinidad
Mon Dec 11, 2017 7:59 am
Forum: PowerShell Studio
Topic: Missing Intellisense item for date-time cmdlet
Replies: 4
Views: 1587

Re: Missing Intellisense item for date-time cmdlet

We appreciate the feedback and we'll get back to you as soon as possible. Apparently, the DateTime ScriptProperty is not been detected by our PrimalSense feature and will be looking into it.
Date-Time_2017-12-11_9-57-03.png
Date-Time_2017-12-11_9-57-03.png (46.93 KiB) Viewed 1565 times
by mxtrinidad
Wed Dec 06, 2017 8:35 pm
Forum: PowerShell Studio
Topic: Can anyone explain Globals.ps1?
Replies: 3
Views: 1190

Re: Can anyone explain Globals.ps1?

May I add to this thread. I have use the Global.ps1 to store custom PowerShell functions I have created. This way I can reuse them across my multiple screens without any issues.

This has work great in my situation.
:)
by mxtrinidad
Tue Dec 05, 2017 12:40 pm
Forum: PrimalScript
Topic: Cmdlet Autocomplete & "In" autocomplete
Replies: 17
Views: 6937

Re: Cmdlet Autocomplete & "In" autocomplete

In my test, in PrimalScript I was able to unselect the "Auto case correction", and it will not impact intelli-sense leaving the "in" in lowecase inside the "foreach(..)" clause.
by mxtrinidad
Tue Dec 05, 2017 8:17 am
Forum: PrimalScript
Topic: Cmdlet Autocomplete & "In" autocomplete
Replies: 17
Views: 6937

Re: Cmdlet Autocomplete & "In" autocomplete

Thanks for responding.

We are taking a look at it and we'll get back to you soon.
by mxtrinidad
Mon Dec 04, 2017 4:22 pm
Forum: PowerShell Studio
Topic: Debugging console
Replies: 7
Views: 1321

Re: Debugging console

Apologies! In your post you mention about having issues with array objects and not hash table objects. So, in this case you should work with Hash tables object methods which will include *.Add("Key", "Value") and *.Remove("Key"). I was able to use the Debug to test adding and remove on a Hash table....
by mxtrinidad
Mon Dec 04, 2017 2:07 pm
Forum: PrimalScript
Topic: Cmdlet Autocomplete & "In" autocomplete
Replies: 17
Views: 6937

Re: Cmdlet Autocomplete & "In" autocomplete

In PrimalScript, look under "File" menu, click on "Options" then under "Text Editor" in "PrimalSense | PrimalSense Option" unchecked the "Auto case correction". This should stop the behavior you're experiencing.