mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-09-01 13:18:03 +00:00
Moved ID, added ID to SingleObject
This commit is contained in:
@@ -34,6 +34,7 @@
|
|||||||
[Array] $CreateGPO['Settings'] = foreach ($Folder in $GPO.DataSet) {
|
[Array] $CreateGPO['Settings'] = foreach ($Folder in $GPO.DataSet) {
|
||||||
foreach ($Location in $Folder.Location) {
|
foreach ($Location in $Folder.Location) {
|
||||||
[PSCustomObject] @{
|
[PSCustomObject] @{
|
||||||
|
ID = $Folder.ID
|
||||||
FolderType = $FolderID[$Folder.Id]
|
FolderType = $FolderID[$Folder.Id]
|
||||||
DestinationPath = $Location.DestinationPath
|
DestinationPath = $Location.DestinationPath
|
||||||
SecuritySID = $Location.SecurityGroup.SID.'#text'
|
SecuritySID = $Location.SecurityGroup.SID.'#text'
|
||||||
@@ -63,8 +64,8 @@
|
|||||||
DomainName = $GPO.DomainName
|
DomainName = $GPO.DomainName
|
||||||
GUID = $GPO.GUID
|
GUID = $GPO.GUID
|
||||||
GpoType = $GPO.GpoType
|
GpoType = $GPO.GpoType
|
||||||
FolderType = $FolderID[$Folder.Id]
|
|
||||||
Id = $Folder.Id
|
Id = $Folder.Id
|
||||||
|
FolderType = $FolderID[$Folder.Id]
|
||||||
DestinationPath = $Location.DestinationPath
|
DestinationPath = $Location.DestinationPath
|
||||||
SecuritySID = $Location.SecurityGroup.SID.'#text'
|
SecuritySID = $Location.SecurityGroup.SID.'#text'
|
||||||
SecurityName = $Location.SecurityGroup.Name.'#text'
|
SecurityName = $Location.SecurityGroup.Name.'#text'
|
||||||
|
|||||||
Reference in New Issue
Block a user