Search found 7049 matches

by Alexander Riedel
Mon Oct 07, 2019 8:26 am
Forum: PowerShell Studio
Topic: Psf Out-Gridview -Passthru | Restart-Service produces error
Replies: 7
Views: 287

Re: Psf Out-Gridview -Passthru | Restart-Service produces error

This is usually a permission problem and sounds similar to this: https://serverfault.com/questions/357424/how-do-i-grant-permissions-to-remotely-start-stop-a-service-using-powershell Your 'regular' Powershell console may run in admin mode (it is easy to miss that caption indicator), so check that. I...
by Alexander Riedel
Sun Oct 06, 2019 6:29 pm
Forum: PowerShell Studio
Topic: Terminating Windows Service Issues Error Message
Replies: 1
Views: 224

Re: Terminating Windows Service Issues Error Message

February last year the PowerShell Service template was updated to include a Stop-MyService function, in order to allow customers to react to a stop service event. The template was updated for PrimalScript and PowerShell Studio. It would appear your service code was created before that was released. ...
by Alexander Riedel
Thu Oct 03, 2019 8:55 am
Forum: PrimalScript
Topic: PrimalScript 2019 crashing when I open a specific script
Replies: 4
Views: 330

Re: PrimalScript 2019 crashing when I open a specific script

Ah, I understand. Well, the crash will be fixed. You can disable syntax checking and it will prevent the crash until the fix is out.
by Alexander Riedel
Thu Oct 03, 2019 8:47 am
Forum: PrimalScript
Topic: PrimalScript 2019 crashing when I open a specific script
Replies: 4
Views: 330

Re: PrimalScript 2019 crashing when I open a specific script

Obviously it should not crash, and that will be fixed right away. But the script is not really a functioning script, it contains pieces of output like: [DBG]: PS C:\>>> list 1: #requires -version 2.0 2: 3: Write-Host "I am starting" -ForegroundColor Green 4:* $r = Read-Host "What is the radius maxim...
by Alexander Riedel
Tue Oct 01, 2019 4:45 pm
Forum: PowerShell GUIs
Topic: Auto update an exe on failed version check
Replies: 3
Views: 210

Re: Auto update an exe on failed version check

Write a cmd file (copyapp.cmd) that copies the app file and starts it again. Execute with CMD /c copyapp.cmd and exit immediately. You may need some kind of delay in there. Timeout or Start-Sleep if you use PowerShell. You can of course do the same thing in powershell with a powershell script. Erase...
by Alexander Riedel
Mon Sep 30, 2019 6:08 pm
Forum: PrimalScript
Topic: Disable-PSRemoting is not recognized as a cmdlet
Replies: 1
Views: 172

Re: Disable-PSRemoting is not recognized as a cmdlet

It was, for some reason, added to the pre-defined function list in PowerShell. I am assuming a late night copy-paste gone wrong. It will be removed.
by Alexander Riedel
Thu Sep 26, 2019 8:05 am
Forum: PowerShell Studio
Topic: Browser emulation defaults
Replies: 2
Views: 460

Re: Browser emulation defaults

[Topic moved by moderator] In order to facilitate a timely answer please post in the appropriate product forum with the information requested. Posting in an unrelated forum, like 'Feedback' will get your question to the wrong people and potentially delay an answer. https://blogs.msdn.microsoft.com/p...
by Alexander Riedel
Wed Sep 25, 2019 1:18 pm
Forum: Windows PowerShell
Topic: Enter PSSession - then Errors
Replies: 2
Views: 565

Re: Enter PSSession - then Errors

[Topic moved by moderator]
by Alexander Riedel
Wed Sep 25, 2019 8:49 am
Forum: PrimalScript
Topic: Trial key needed
Replies: 1
Views: 123

Re: Trial key needed

Trial keys are for VMs to use the 45 day trial period. It cannot be renewed under normal circumstance and is not intended for this purpose. Your license comes with two activations and one seems available. Just activate it on your VM. You can deactivate it later if needed, or, if you destroy or reset...
by Alexander Riedel
Wed Sep 25, 2019 8:03 am
Forum: PrimalScript
Topic: Connect to Remote PC's
Replies: 4
Views: 216

Re: Connect to Remote PC's

2019-09-25_8-01-56.png
2019-09-25_8-01-56.png (23.41 KiB) Viewed 202 times
Which one of these did you use?