Do you use custom PowerShell in your Activities? If so, do you use it for Task Automation, or supplementing the Pre and Post Session sections? Can you provide some examples.
i do use custom powershell script action for:
-sleep for 5 seconds , for letting the ad sync really complete
-unlock the managed account
Thanks, Dany.
Appreciate the use case. Out of interest, have you used the sync step that dev created as an add-on?
We have 2 custom scripts for turning Terminal Services ON and OFF that are tied to two different Activities. These were designed to control RDP access to all servers with the initial target rollout being on the DC’s. By default, the folks who manage the DC’s only have the RDP-OFF activity, which turns RDP on when the session starts and then back off when the session is complete. The RDP-ON allows admins of NPS to turn Term Serv back on and leave it on (it just doesn’t stop services once the session is complete) - allowing for an easy button break-glass option (other break-glass options exist as well). The sessions take a bit longer to start but it’s an easy trade-off to not having Term Serv running on the DC’s until needed.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.