From b4e20ab353b9132645ee2020db33c5a31f719874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raimund=20And=C3=A9e=20=5BMSFT=5D?= Date: Thu, 26 Jul 2018 12:08:01 +0200 Subject: [PATCH] Fixes #33 --- NTFSSecurity/InheritanceCmdlets/DisableAccessInheritance.cs | 4 ++-- NTFSSecurity/InheritanceCmdlets/DisableAuditInheritance.cs | 4 ++-- NTFSSecurity/InheritanceCmdlets/EnableAccessInheritance.cs | 4 ++-- NTFSSecurity/InheritanceCmdlets/EnableAuditInheritance.cs | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) 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)); } } }