# -*- coding: utf-8 -*-

name = 'apply-GPO-on-user'
description = 'apply GPO on given user'
args = {
	'name': dict(help='Name of the GPO'),
	'username': dict(help='Name of the user'),
}

ps = '''
$ErrorActionPreference = "Stop"
Set-GPPermissions -Name "%(name)s" -TargetName "%(username)s" -TargetType User -PermissionLevel GpoApply
'''
