Product: PowerShell Universal Version: 5.0.15
Get-PSUScript does not return the script creation time date information.
$script = Get-PSUScript -Name ‘TestScript.ps1’
$script.CreatedTime
Returns: 01/01/0001 00:00:00
Is there a workaround for this? Thanks.
CreatedTime is actually not used persistently. It works the first time but is reset once the app restarts. We don’t persist it anywhere and really was just a placeholder. There are a couple properties on scripts that I think aren’t used.
Adam Driscoll
PowerShell Expert and Developer at Devolutions
OK, thanks for the update.