Search found 7060 matches

by Alexander Riedel
Mon Sep 16, 2019 12:50 pm
Forum: PowerShell Studio
Topic: Write-Ouput not showing result
Replies: 9
Views: 1072

Re: Write-Ouput not shopwing result

Please provide all the requested information.
Product, version and build:
by Alexander Riedel
Mon Sep 16, 2019 9:06 am
Forum: Windows PowerShell
Topic: problem with GPOs in powershell studio
Replies: 3
Views: 639

Re: problem with GPOs in powershell studio

If it works with the ISE it works in PowerShell Studio, it is the same PowerShell. Usually this happens because a different platform, version or bitness is selected in PowerShell Studio. Maybe you run the ISE elvated? Try to turn STA on if you not have yet. Try to use "Run in console" in PowerShell ...
by Alexander Riedel
Mon Sep 16, 2019 9:02 am
Forum: PowerShell Studio
Topic: General Question
Replies: 5
Views: 925

Re: General Question

From what I see in the original picture you are more looking for what is generally referred to as snippets. Both PrimalScript and PowerShellStudio have a snippets browser that shows a number of pre-fabricated snippets and can be customized to show your own alongside.
by Alexander Riedel
Thu Sep 12, 2019 9:10 am
Forum: PowerShell GUIs
Topic: Copy folders with progress bar
Replies: 2
Views: 147

Re: Copy folders with progress bar

You can launch any script elevated by using the elevation button on the ribbon. There is no need to run PowerShell Studio itself elevated at all times.
by Alexander Riedel
Tue Sep 10, 2019 7:05 am
Forum: PowerShell GUIs
Topic: Resizable form
Replies: 6
Views: 514

Re: Resizable form

[Topic moved by moderator]
by Alexander Riedel
Tue Sep 10, 2019 7:04 am
Forum: PowerShell GUIs
Topic: Resizable form
Replies: 6
Views: 514

Re: Resizable form

Send screenshots. Without knowing what you see and what you resolution is, its hard to tell.
by Alexander Riedel
Fri Sep 06, 2019 7:15 am
Forum: PowerShell Studio
Topic: Get-ScriptDirectory function and Join-Path in exe
Replies: 2
Views: 656

Re: Get-ScriptDirectory function and Join-Path in exe

It has something to do with re-setting $PSScriptRoot. It seems Powershell in some instances does not like that. Using a different variable name solves the problem. function Get-ScriptDirectory { [OutputType([string])] param () if ($host.Name -eq 'PrimalScriptHostImplementation') { if ($null -ne $hos...
by Alexander Riedel
Tue Sep 03, 2019 11:28 am
Forum: Windows PowerShell
Topic: I'm not using Hyper-V
Replies: 7
Views: 1041

Re: I'm not using Hyper-V

The help content is not an indication if a specific cmdlet is available on your machine or not. You need to make sure you are importing the correct module, specially if you have name collisions with other modules. You may have to use a module specific cmdlet name, see https://www.sapien.com/blog/201...
by Alexander Riedel
Tue Sep 03, 2019 11:06 am
Forum: Windows PowerShell
Topic: I'm not using Hyper-V
Replies: 7
Views: 1041

Re: I'm not using Hyper-V

[Topic moved by moderator]
by Alexander Riedel
Tue Sep 03, 2019 10:33 am
Forum: PowerShell GUIs
Topic: Resizable form
Replies: 6
Views: 514

Re: Resizable form

I should probably point out that this is not "PowerShell Studio Forms" it is Microsoft Windows Forms, just as you would use in C# etc. I am not sure would you mean by "everything should scale" because that is not how this works. I mean to some extent, yes, but not always exactly the way you think it...