I recently updated upgraded to 4.0.1 and noticed two things, one may be a change in behavior but the editor is odd. When I open a script I am not seeing the entire script, stops at line 254, but if I view it in the configurations I see all 257 lines.
The other is when I launch a scheduled script from another script and pass some, data, in 3.x it came across as the data but now I get this when I view the job parameters:
There is a hidden scrollbar outside of the script editor, if you scroll down outside of the editor and shift the page down you will see the whole code.
Something isn’t being accounted for when calculating the height of that code box. There’s also a width issue. if you make those scroll bars visible through DevTools its easier to see what’s happening.
I had to push the height to subtract around 180px to get it to sit correctly (it was 48px before):
I figured out you were probably referring to edge developer tools.
Any thoughts on the variable passing portion? I worked in v3.9.x but in 4.x when I create a job from a script it doesn’t come across and just the string, but adds some xml?
I was trying to see how this schedule appears in the schedules.ps1 file, but it is not there? Do run once schedules save elsewhere? I see them in the schedule but when I modify them, it does not save.