Assign IPSec Policy via cmd prompt

R

RIP

Hello there.
Is there a way for me to Assign or Unassign an IPSec Policy via cmd
prompt.
I know secpol.msc, but thats manually.
I also know netsh but i'm not able to reach a command that do the job.
My target is to assign the Policy, tehn run a job, and then unassign
the policy.
Regarding the policy, i'd like to have this as an automatic procedure
(running a batch, scheduled task) since the job next is already
automatic.

Thanks in advance for your help and thougts.
regards,
P.
 
Back
Top Bottom