(imported topic written by jpeppers91)
I’m trying to create a task that will disable the firewall in one task. If the OS is WIN xp it will disable sharedaccess service, if its WIN7 it will disable the WIN7 service. I have the command to disable the service but not sure how to do the if then statement.
If name of operating system is “WIN XP”
do this
end if
if name of operating system is Win7"
do this
end if