Hi,
In the Create/Edit Scripted Action the editor window is currently very simple and sometimes a bit cumbersome to use. Most of the times I just use VS Code to create/edit scripts and then just copy/paste them in this window.
The following simple adjustments in the editor window would make it more natively workable:
- Use an aligned font, like “Courier New”.
- This would make the text easier to read and code aligns underneath each other.
- Show line numbers.
- This makes it easier to read the code and go to a certain line.
- Allow [TAB] usage in the editor window to align and indent code properly.
Something like the following example.
1. Write-Host "Test1"
2. Write-Host "Test2"
3. foreach ($service in $services)
4. { Write-Host $service }With these adjustments, it's easier to natively just use the editor window instead of using something external (like VS Code or Notepad).
Comments (0 comments)