Search found 4948 matches

by davidc
Fri Nov 03, 2017 9:42 am
Forum: Trial Software / Pre-sales Technical Questions
Topic: Get-Username return correctely user on elevated mode
Replies: 1
Views: 1680

Re: Get-Username return correctely user on elevated mode

When you use the RunAs user option, it runs the script under the specified user instead of the current user. To run as the current user but still use the other account’s privileges, use the Impersonate user option.
by davidc
Fri Nov 03, 2017 7:58 am
Forum: Trial Software / Pre-sales Technical Questions
Topic: Automatic Script Signing On Save in Powershell Studio 2017
Replies: 1
Views: 1769

Re: Automatic Script Signing On Save in Powershell Studio 2017

Absolutely. You can configure PowerShell Studio or PrimalScript to automatically sign on Save.

In PowerShell Studio go to Options->PowerShell->Windows PowerShell Security:
Options - Sign on Save.png
Options - Sign on Save.png (71.1 KiB) Viewed 1740 times
You can access the options from the Ribbon File menu or Ribbon->Home tab->Windows->Options.
by davidc
Fri Nov 03, 2017 7:45 am
Forum: Trial Software / Pre-sales Technical Questions
Topic: Autocompletion of parameter values does not work
Replies: 1
Views: 1782

Re: Autocompletion of parameter values does not work

This is due to the fact that we cache the cmdlet data. In a future build we hope to include this additional information in cache.
by davidc
Wed Nov 01, 2017 7:50 am
Forum: PowerShell Studio
Topic: Export a PS1 file?
Replies: 2
Views: 205

Re: Export a PS1 file?

You can export a script from a psf using the Ribbon->Deploy->Export->Export to File:
Export to File.png
Export to File.png (37.18 KiB) Viewed 167 times
by davidc
Tue Oct 31, 2017 3:31 pm
Forum: PowerShell Studio
Topic: Microsoft ISE v PS Studio Output - any thoughts?
Replies: 1
Views: 90

Re: Microsoft ISE v PS Studio Output - any thoughts?

The issue seems to be in the Sort-Property call. Instead of $_.TimeCreated it should be just TimeCreated.

Code: Select all

Get-WinEvent -LogName system -ComputerName computer1 | Where-Object {$_.ID -eq '45058'} | sort -Property TimeCreated -Descending
by davidc
Tue Oct 31, 2017 8:02 am
Forum: PowerShell Studio
Topic: Version control: greyed out
Replies: 3
Views: 151

Re: Version control: greyed out

We don't have any VersionRecall videos at this time, but I will forward the request. For more information, please refer to the product manual, which is accessible from the Ribbon (Home->Help->Product Manual): VersionRecall Manual.png You can also refer to our VersionRecall blog articles: https://www...
by davidc
Mon Oct 30, 2017 3:39 pm
Forum: PowerShell Studio
Topic: "Format Script" moving "{" causing block to not execute
Replies: 1
Views: 101

Re: "Format Script" moving "{" causing block to not execute

Thank you for reporting this issue. It is the ($_) part of the Foreach call that is triggering the parenthesis formatting rule. Is there a reason that you have the ($_) in the ForEach-Object cmdlet statement instead of the following? | % { Copy-Item $_.FullName ... } I ask because I never have seen ...
by davidc
Mon Oct 30, 2017 3:10 pm
Forum: Wish List and Feature Requests
Topic: Add custom colour to Chart controls
Replies: 1
Views: 230

Re: Add custom colour to Chart controls

Unfortunately the chart controls were created by Microsoft and not by SAPIEN. You will need to manually manipulate the controls via the script to achieve this:

https://blogs.msdn.microsoft.com/alexgo ... es-colors/
by davidc
Mon Oct 30, 2017 10:01 am
Forum: PowerShell Studio
Topic: Version control: greyed out
Replies: 3
Views: 151

Re: Version control: greyed out

I have a few questions before I can assist you further:

1. Can you post a screenshot demonstrating the issue?
2. What build of Version Recall do you have installed?
by davidc
Mon Oct 30, 2017 7:41 am
Forum: PowerShell Studio
Topic: Copy & paste DSC code changes 'Type' to Get-Content'
Replies: 1
Views: 168

Re: Copy & paste DSC code changes 'Type' to Get-Content'

What platform do you have selected? Because when V2 is selected, it doesn't understand configurations and it will treat it as commands.