Users

All Posts (44)

avatar

realslacker

2026.3.3 Running script causes issue with [string[]] type input when switching from Parameters to Action Preferences

avatar
avatar
avatar
avatar
avatar

@Erica Poirier the fix seems to have resolved issues with parameters. I will keep an eye out for any other related issues.

2026.3.4 OneTime scheduled jobs only show up on the computer they were registered with

avatar
avatar
avatar

This is the relevant code from the scheduling portion:

$Script = Get-PSUScript -Name 'Invoke-PatchingChangeRequestJob.ps1' -Integrated
$ScheduleName = 'PREFIX.{0}.{1}' -f $Script.Name.Replace('.ps1',''), $CREQ.Key # $CREQ is an PSCustomObject and Key is a string
New-PSUSchedule -Name $ScheduleName -Script $Script -Parameters @{ ChangeRequest = $CREQ.Key } -OneTime $StartTime -Folder Patching -Integrated | ForEach-Object {
    Write-Information ( 'Job Scheduled: {0}' -f $_.Name )
}

2026.3.4 OneTime scheduled jobs only show up on the computer they were registered with

avatar
avatar
avatar

We have two nodes, when we schedule a one time job the job is only present on the node that called New-PSUSchedule. My expectation is that either node would be able to pick up the one time job, and that both nodes would be able to see the job.

This is a problem for us since we schedule one time jobs from other jobs, and since those other jobs might run on either node the one time jobs get scheduled multiple times.

2026.3.4 Get-PSUJob returns all jobs when -Schedule parameter is used.

avatar
avatar
avatar
$Schedule = Get-PSUSchedule -Name 'Existing Schedule' -Integrated
Get-PSUJob -Schedule $Schedule -Integrated

I am running this from inside PSU. The Schedule parameter seems to be completely ignored.

2026.3.4 Running jobs that target a Computer Group results in parameters not being passed to child jobs

avatar
avatar
avatar

Reproduction Steps:

  1. Create a script with a required parameter

  2. Create a computer group with two or more computers

  3. Run the script and target all computers in the group

Result: Main job completes, child jobs stuck on Waiting for Feedback for required parameter.

Invoke-PSUScript against specific computer?

avatar
avatar
avatar

I have an computer running the Devolutions agent registered with PSU. I can target that agent when submitting a job via the GUI, how can I do so when I run Invoke-PSUScript from PowerShell? I have tried using the -ComputerName parameter, however that doesn't work.

2026.3.1 editing files under .universal folder from GUI causes editor hang

avatar
avatar
avatar

@Patrick Ouimet this issue is still present under 2026.3.4.


Notably this only happens when editing files under the .universal folder, and only upon save. I do see that saving a file does commit the changes and trigger a Git sync, but the main window where the edit took place is unresponsive. There are no errors in the javascript console or the system log, so it seems like the UI is just waiting for a response it never gets.

The strange part is that even though the edit succeeds and Git sync runs I cannot edit files under the .universal folder from that computer again until I restart the PSU service.

2026.3.4 Git Sync "Failed" when initialize.ps1 throws an error after sync

avatar
avatar
avatar

This would not be an issue except the Git sync status just shows "Failed" and there is no indication that the problem is not with Git but a PowerShell Universal script failing to run.

If the Git sync is going to fail for reasons that are not Git related there should be some better output to show what caused the failure.

External modules still vanish after git sync file changes

avatar
avatar
avatar
avatar
avatar

@Maxim Robert the 2026.3.4 update does seem to resolve he issue.

2026.3.3 Running script causes issue with [string[]] type input when switching from Parameters to Action Preferences

avatar
avatar
avatar
avatar
avatar

@Michel Audi don't love the work around. It breaks the ValidateSet behavior and requires users to know to enter a comma separated value. It also introduces a lot of error checking. For example should I trim spaces? What if the string should end or being with a space... do I require all strings to be quoted? Now I have to remove quotes and people have to remember to include quotes.


There really seems to be a lot of regression around inputs through the GUI.

How to supply a value to a [File] parameter using Invoke-PSUScript

avatar
avatar
avatar

I have a script that takes a file upload, and from the GUI it prompts for a file using the file browser. How can I call this from Invoke-PSUScript?

2026.3.3 Bug when updating scripts.ps1

avatar
avatar
avatar

I have two scripts Register-DnsRecord.ps1 and Unregister-DnsRecord.ps1. Any time I add or remove a script through the GUI the Register-DnsRecord.ps1 script is renamed to Unregister-DnsRecord.ps1 and the description is updated to match the Unregister-DnsRecord.ps1 script.


This ends up with two scripts with different paths both having the same name and description.


If I rename the script and fix the description in the GUI it leaves the OLD Unregister-DnsName.ps1 entry in scripts.ps1 and creates a new correct Register-DnsName.ps1 entry. I have to manually clean up the scripts.ps1 to fix the issue.


This doesn't happen with another similarly named set of scripts Unregister-NetworkDnsName.ps1 and Register-NetworkDnsName.ps1


I removed and recreated both scripts with their original names and content and the issue seems to have resolved.

2026.3.3 Get-PSUJobOutput -Limit parameter has no effect

avatar
avatar
avatar
avatar

I use Get-PSUJobOutput to parse job output occasionally. I've noticed that the -Limit parameter doesn't seem to do anything. i.e. if the job output is 2000 lines only the first 1000 will be returned. If you specify -Limit 20 you still get 1000 lines.

2026.3.3 Running script causes issue with [string[]] type input when switching from Parameters to Action Preferences

avatar
avatar
avatar
avatar
avatar

Additionally, in the case where you are able to enter the parameters successfully and submit the job the dialog is not cleared.


Example:

param( [ValidateSet( 'Value1', 'Value2', 'NotFilled' )][string] $ChangeFirst = 'NotFilled', [ValidateSet( 'Value1', 'Value2', 'NotFilled' )][string] $ChagneSecond = 'NotFilled', [string[]] $ChangeThird, [string[]] $ChangeFourth  )

2026.3.3 Running script causes issue with [string[]] type input when switching from Parameters to Action Preferences

avatar
avatar
avatar
avatar
avatar

That works fine until you have multiple string parameters. On some of my more complicated scripts I've had to resort to using the Invoke-PSUScript cmdlet to run jobs. This is an annoyance for me, but some of my less technical users are basically unable to use the product right now.

Correct Documentation for Permissions

avatar
avatar
avatar

I also noted that if the permission is created for a sub-folder the sub-folder has a slash in it instead of a period. i.e. automation.scripts.TopLevelFolder/SubFolder/*/execute, it seems like you are using these as regex patterns based on the way they are surfaced in the user settings, so it seems likely this could cause an issue as well.

Correct Documentation for Permissions

avatar
avatar
avatar

@Adam Driscoll when I create permissions for a folder in the GUI the fact that the slashes are inverted seems to break the permissions for my users. If I manually go and correct the slashes to be back slashes the permissions apply and the users can perform the actions they should be able to, but then the permissions do not show up in the GUI.


Are you maybe building and testing on Linux with forward slashes in the path?


For now I'm adding the rules manually again, but this seems like a very inconvenient issue for those who are not comfortable updating the tables manually.


Example rule created using GUI: automation.scripts.Security/*/execute

Example working rule created manually: automation.scripts.Security\*/execute


For reference I'm seeing this on 2026.3.3 running on Windows 2022.

2026.3.3 Running script causes issue with [string[]] type input when switching from Parameters to Action Preferences

avatar
avatar
avatar
avatar
avatar

I am also seeing this error when I have a [string] option with a validate set that I change AFTER changing a [string[]] option or if I change the value of the [string] option with a validate set and then the [string[]] option and close the run dialog.


Additionally, it seems that if there is a default value for the entry with validate set it is not filled in the Run dialog (not sure if that's intentional).


param( [string[]] $ChangeFirst, [ValidateSet( 'Value1', 'Value2', 'NotFilled' )][string] $ChangeSecond = 'NotFilled' )

Correct Documentation for Permissions

avatar
avatar
avatar

I recently upgraded to 2026.3.3, and I'm not sure if I missed that Icon on the Scripts view on 2026.2.5 or if it was missing. I can indeed add permissions on the folders in 2026.3.3.


It does seem like the choice of "\" or "/" is somewhat arbitrary. When creating a permission for a script it seems to use automation.scripts.Folder\ScriptName.ps1/permission, however for folders using the GUI it creates them automation.scripts.Folder/*/permission. Manually created permissions like automation.scripts.Folder\*/permission work fine though they don't show up in the GUI.


Additionally, on the Secure/Permissions page and the Create Permission button only lets you select from a list of resources, not enter a valid string. I think it should allow free text. My use case is allowing execute permissions to any Get-* script in a folder, so I want to create a permission for automation.scripts.Folder\Get-*/execute but while that pattern does work as intended there is no where I can enter it in the GUI.

When script is moved to another folder the associated schedule is not updated

avatar
avatar
avatar
avatar

This does appear to be resolved in 2026.3.3, thank you

2026.3.3 Running script causes issue with [string[]] type input when switching from Parameters to Action Preferences

avatar
avatar
avatar
avatar
avatar

Example Script:

param( [string[]] $MultiStringInput )


Reproduce Bug:

  1. Run script

  2. Enter value in "Parameters" section

  3. Switch to "Action Preferences"

  4. Switch back to "Parameters"


Error Message:

An item with the same key has already been added. Key: examplevalue

   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at AntDesign.Select`2.CreateDeleteSelectOptions()
   at AntDesign.Select`2.OnParametersSetAsync()
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)

Correct Documentation for Permissions

avatar
avatar
avatar

The documentation for the permissions page suggests that you can create folder permissions, however the UI elements mentioned don't exist.


I have been able to grant permissions to a Folder by manually manipulating the Permissions table in the database, and it works as expected. I think it would be useful to allow string entry from the Security > Permissions page instead of a drop down for the resource.


Additionally, since Schedules can be put into "folders" it would be nice if we could grant permissions to the folder in the Schedules area. We would love to be able to delegate access to a subset of Schedules to a team.


I'm running 2026.2.5, but this appeared to still be an issue when I was running 2026.3.1

Using the API to enter and leave maintenance?

avatar
avatar
avatar
avatar
avatar

If the API is supported to enable and disable maintenance mode then why should it not be used. If using the API to enable and disable maintenance mode is not supported then the API parameter should be removed. Having a feature with no documentation and no examples AND not providing support when asked seems to be pretty poor product support.


It is pretty irritating to be told to not use this portion of the product when what I need is the ability to turn on and off maintenance mode using a raw API call. Not everything can invoke a PowerShell command.


At any rate, I created an endpoint and calls the PSU cmdlet so for now this is a moot point... but it's a very hacky work around to the actual API endpoint being unusable.

Add ability to create "System Identity" tokens using Grant-PSUAppToken

avatar
avatar
avatar

There doesn't seem to be a parameter for "System" yet, and using the API directly I can't seem to create a system identity or token at all.

2026.3.1 editing files under .universal folder from GUI causes editor hang

avatar
avatar
avatar

@Patrick Ouimet this was on 2026.3.1 MSI installation running under a service account with a postgres database. I have since downgraded to 2026.2.5 and I cannot reproduce the issue there. I can test on 2026.3.x when it looks a little more stable.

1 - 25 of 44 items