This commit is contained in:
Przemyslaw Klys
2020-06-28 22:20:33 +02:00
parent de4ff8ff07
commit f73c445385
2 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -14,7 +14,7 @@
GpoSettings = $GPOEntry.GpoSettings #: SecurityOptions
Changed = [DateTime] $User.Changed
GPOSettingOrder = $User.GPOSettingOrder
UserAction = $User.Properties.action #: U
UserAction = $Script:Actions["$($User.Properties.action)"] #: U
UserNewName = $User.Properties.newName #:
UserFullName = $User.Properties.fullName #:
UserDescription = $User.Properties.description #:
@@ -67,7 +67,7 @@
#Properties = $Group.Properties #: Properties: Properties
Filters = $Group.Filters #::
GroupAction = $Group.Properties.action #: U
GroupAction = $Script:Actions["$($Group.Properties.action)"] #: U
GroupNewName = $Group.Properties.newName #:
GroupDescription = $Group.Properties.description #:
GroupDeleteAllUsers = $Group.Properties.deleteAllUsers #: 0
+6
View File
@@ -0,0 +1,6 @@
$Script:Actions = @{
C = 'Create'
D = 'Delete'
U = 'Update'
R = 'Replace'
}