Skip to content

Commit 37c7799

Browse files
committed
Update Get-CippCustomDataAttributes.ps1
1 parent 167206d commit 37c7799

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Modules/CIPPCore/Public/Get-CippCustomDataAttributes.ps1

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ function Get-CippCustomDataAttributes {
2020
foreach ($TargetObject in $CustomData.targetTypes) {
2121
[PSCustomObject]@{
2222
name = $Name
23+
type = $Type
2324
targetObject = $TargetObject.ToLower()
2425
properties = $CustomData.properties
2526
}
@@ -28,8 +29,11 @@ function Get-CippCustomDataAttributes {
2829
$Name = $CustomData.RowKey
2930
foreach ($TargetObject in $CustomData.targetObjects) {
3031
[PSCustomObject]@{
31-
name = $Name
32-
targetObject = $TargetObject
32+
name = $Name
33+
type = $Type
34+
targetObject = $TargetObject
35+
dataType = $CustomData.dataType
36+
isMultiValued = $CustomData.isMultiValued
3337
}
3438
}
3539
}

0 commit comments

Comments
 (0)