From e9b22e9ae2391d1dc362501c282248945b3ca467 Mon Sep 17 00:00:00 2001 From: bitform Date: Sun, 20 Jan 2013 08:56:37 -0500 Subject: Removed logic in scripts to load ps1xml files * Now that PETools and ReverseEngineering are both full-fledged modules with proper manifests, the manifests will take care of loading the appropriate ps1xml files. * Added Usage.txt to ReverseEngineering module. --- PETools/Get-PEHeader.ps1 | 7 ------- 1 file changed, 7 deletions(-) (limited to 'PETools') diff --git a/PETools/Get-PEHeader.ps1 b/PETools/Get-PEHeader.ps1 index 354b675..49bfbd6 100644 --- a/PETools/Get-PEHeader.ps1 +++ b/PETools/Get-PEHeader.ps1 @@ -99,13 +99,6 @@ http://www.exploit-monday.com/2012/07/get-peheader.html ) PROCESS { - - # Apply custom view to the PE header format only if file exists and has not yet been applied - $FormatFilePath = Join-Path $PsScriptRoot 'PETools.Format.ps1xml' - - if ((Test-Path $FormatFilePath) -and !(Get-FormatData PEHeader)) { - Update-FormatData -PrependPath $FormatFilePath - } switch ($PsCmdlet.ParameterSetName) { 'OnDisk' { -- cgit v1.2.3