diff --git a/NTFSSecurity/InheritanceCmdlets/DisableAccessInheritance.cs b/NTFSSecurity/InheritanceCmdlets/DisableAccessInheritance.cs index a849da2..235a49b 100644 --- a/NTFSSecurity/InheritanceCmdlets/DisableAccessInheritance.cs +++ b/NTFSSecurity/InheritanceCmdlets/DisableAccessInheritance.cs @@ -106,7 +106,7 @@ namespace NTFSSecurity { if (passThru) { - FileSystemInheritanceInfo.GetFileSystemInheritanceInfo(item); + WriteObject(FileSystemInheritanceInfo.GetFileSystemInheritanceInfo(item)); } } } @@ -119,7 +119,7 @@ namespace NTFSSecurity if (passThru) { - FileSystemInheritanceInfo.GetFileSystemInheritanceInfo(sd); + WriteObject(FileSystemInheritanceInfo.GetFileSystemInheritanceInfo(sd)); } } } diff --git a/NTFSSecurity/InheritanceCmdlets/DisableAuditInheritance.cs b/NTFSSecurity/InheritanceCmdlets/DisableAuditInheritance.cs index 00f7ca1..e8c7769 100644 --- a/NTFSSecurity/InheritanceCmdlets/DisableAuditInheritance.cs +++ b/NTFSSecurity/InheritanceCmdlets/DisableAuditInheritance.cs @@ -107,7 +107,7 @@ namespace NTFSSecurity { if (passThru) { - FileSystemInheritanceInfo.GetFileSystemInheritanceInfo(item); + WriteObject(FileSystemInheritanceInfo.GetFileSystemInheritanceInfo(item)); } } } @@ -120,7 +120,7 @@ namespace NTFSSecurity if (passThru) { - FileSystemInheritanceInfo.GetFileSystemInheritanceInfo(sd); + WriteObject(FileSystemInheritanceInfo.GetFileSystemInheritanceInfo(sd)); } } } diff --git a/NTFSSecurity/InheritanceCmdlets/EnableAccessInheritance.cs b/NTFSSecurity/InheritanceCmdlets/EnableAccessInheritance.cs index fd5a5bb..f7cb8b5 100644 --- a/NTFSSecurity/InheritanceCmdlets/EnableAccessInheritance.cs +++ b/NTFSSecurity/InheritanceCmdlets/EnableAccessInheritance.cs @@ -106,7 +106,7 @@ namespace NTFSSecurity { if (passThru) { - FileSystemInheritanceInfo.GetFileSystemInheritanceInfo(item); + WriteObject(FileSystemInheritanceInfo.GetFileSystemInheritanceInfo(item)); } } } @@ -119,7 +119,7 @@ namespace NTFSSecurity if (passThru) { - FileSystemInheritanceInfo.GetFileSystemInheritanceInfo(sd); + WriteObject(FileSystemInheritanceInfo.GetFileSystemInheritanceInfo(sd)); } } } diff --git a/NTFSSecurity/InheritanceCmdlets/EnableAuditInheritance.cs b/NTFSSecurity/InheritanceCmdlets/EnableAuditInheritance.cs index 98ab691..c25617b 100644 --- a/NTFSSecurity/InheritanceCmdlets/EnableAuditInheritance.cs +++ b/NTFSSecurity/InheritanceCmdlets/EnableAuditInheritance.cs @@ -106,7 +106,7 @@ namespace NTFSSecurity { if (passThru) { - FileSystemInheritanceInfo.GetFileSystemInheritanceInfo(item); + WriteObject(FileSystemInheritanceInfo.GetFileSystemInheritanceInfo(item)); } } } @@ -119,7 +119,7 @@ namespace NTFSSecurity if (passThru) { - FileSystemInheritanceInfo.GetFileSystemInheritanceInfo(sd); + WriteObject(FileSystemInheritanceInfo.GetFileSystemInheritanceInfo(sd)); } } }