# NOT RUN {
# The following operation restarts application servers on all instances in
# an environment named my-env:
# }
# NOT RUN {
svc$restart_app_server(
EnvironmentName = "my-env"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab