Skip to content

Commit

Permalink
removed time attributes for types that didn't provide time changed
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavecarroll committed Mar 24, 2018
1 parent e9cb7fe commit 8a6ce9b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions Public/Get-GPSetting.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,6 @@ https://github.com/thedavecarroll/PoShGroupPolicy
[PsCustomObject]@{
Name = $GpoName
ConfigurationGroup = 'Computer'
CreatedTime = $CreatedTime
ModifiedTime = $ModifiedTime
KeyName = $SecuritySetting.KeyName
SettingNumber = $SecuritySetting.SettingNumber
Display = $SecuritySetting.Display.Name
Expand All @@ -301,8 +299,6 @@ https://github.com/thedavecarroll/PoShGroupPolicy
[PsCustomObject]@{
Name = $GpoName
ConfigurationGroup = 'User'
CreatedTime = $CreatedTime
ModifiedTime = $ModifiedTime
KeyName = $SecuritySetting.KeyName
SettingNumber = $SecuritySetting.SettingNumber
Display = $SecuritySetting.Display.Name
Expand All @@ -317,8 +313,6 @@ https://github.com/thedavecarroll/PoShGroupPolicy
$GPORegistrySettingsInfo += [PsCustomObject]@{
Name = $GpoName
ConfigurationGroup = 'Computer'
CreatedTime = $CreatedTime
ModifiedTime = $ModifiedTime
PolicyName = $RegistrySetting.Name
State = $RegistrySetting.State
Supported = $RegistrySetting.Supported
Expand All @@ -330,8 +324,6 @@ https://github.com/thedavecarroll/PoShGroupPolicy
$GPORegistrySettingsInfo += [PsCustomObject]@{
Name = $GpoName
ConfigurationGroup = 'User'
CreatedTime = $CreatedTime
ModifiedTime = $ModifiedTime
PolicyName = $RegistrySetting.Name
State = $RegistrySetting.State
Supported = $RegistrySetting.Supported
Expand All @@ -347,8 +339,6 @@ https://github.com/thedavecarroll/PoShGroupPolicy
$GPOFolderRedirectionSettingsInfo += [PsCustomObject]@{
Name = $GpoName
ConfigurationGroup = 'Computer'
CreatedTime = $CreatedTime
ModifiedTime = $ModifiedTime
Id = $FolderRedirectionSetting.Id
DisplayName = $KnownFolders | Where-Object {$_.GUID -eq $FolderRedirectionSetting.Id} | Select-Object -ExpandProperty DisplayName
FolderType = $KnownFolders | Where-Object {$_.GUID -eq $FolderRedirectionSetting.Id} | Select-Object -ExpandProperty FolderType
Expand All @@ -362,8 +352,6 @@ https://github.com/thedavecarroll/PoShGroupPolicy
$GPOFolderRedirectionSettingsInfo += [PsCustomObject]@{
Name = $GpoName
ConfigurationGroup = 'User'
CreatedTime = $CreatedTime
ModifiedTime = $ModifiedTime
Id = $FolderRedirectionSetting.Id
DisplayName = $KnownFolders | Where-Object {$_.GUID -eq $FolderRedirectionSetting.Id} | Select-Object -ExpandProperty DisplayName
FolderType = $KnownFolders | Where-Object {$_.GUID -eq $FolderRedirectionSetting.Id} | Select-Object -ExpandProperty FolderType
Expand Down

0 comments on commit 8a6ce9b

Please sign in to comment.