From: David Mulder Date: Fri, 12 Feb 2021 21:49:16 +0000 (-0700) Subject: samba-tool: Test gpo manage script startup remove command X-Git-Tag: tevent-0.11.0~1726 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=91655e6d713cbd6b555ae43a8468f38ba238387e;p=thirdparty%2Fsamba.git samba-tool: Test gpo manage script startup remove command Signed-off-by: David Mulder Reviewed-by: Jeremy Allison --- diff --git a/python/samba/netcmd/gpo.py b/python/samba/netcmd/gpo.py index 7d9bd02f8a5..04aaafabff4 100644 --- a/python/samba/netcmd/gpo.py +++ b/python/samba/netcmd/gpo.py @@ -3221,11 +3221,40 @@ samba-tool gpo manage scripts startup add {31B2F340-016D-11D2-945F-00C04FB984F9} "not have sufficient privileges") raise +class cmd_remove_startup(Command): + """Removes VGP Startup Script Group Policy from the sysvol + +This command removes a startup script policy from the sysvol. + +Example: +samba-tool gpo manage scripts startup remove {31B2F340-016D-11D2-945F-00C04FB984F9} test_script.sh + """ + + synopsis = "%prog