Aster
Windowing console UI library for PowerShell
Detailed specification to come
PowerShell script policy
By default, PowerShell will refuse to run scripts that did not originate on your machine. To use Aster and run the examples, you will have to perform the following steps:
Set Execution Policy
You may have to allow PowerShell to run external scripts at all with Set-ExecutionPolicy.
Set-ExecutionPolicy Unrestricted
Please also consider the -Scope [Process | CurrentUser | LocalMachine] parameter when performing this operation.
Unblocking Aster files
Secondly, Aster’s files must be marked as safe (else you will be asked to confirm running each class file used by Aster) This can be accomplished by changing the working directory to Aster’s root folder and running the following command.
Get-ChildItem -Recurse | Unblock-File
#or the more concise: gci -r|Unblock-File
There may be a better way that I am unaware of.
Finally, test the setup by running the example file
.\Examples\ControllerExample.ps1
Keys:
<tab> : change focus