From 7e055ec6cc2539bcb55f7cfe414d6347b94cca4b Mon Sep 17 00:00:00 2001 From: Paul Durivage Date: Thu, 19 Jun 2014 11:40:17 -0500 Subject: [PATCH] Remove unnecessary obj --- examples/scripts/upgrade_to_ps3.ps1 | 5 +++-- library/windows/win_feature.ps1 | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/scripts/upgrade_to_ps3.ps1 b/examples/scripts/upgrade_to_ps3.ps1 index a75b158a34..794da55bd5 100644 --- a/examples/scripts/upgrade_to_ps3.ps1 +++ b/examples/scripts/upgrade_to_ps3.ps1 @@ -17,6 +17,7 @@ # 6.2 is 2012 # 6.3 is 2012 R2 +Start-Transcript "C:\powershell\scriptlog.txt" if ($PSVersionTable.psversion.Major -ge 3) { @@ -77,5 +78,5 @@ else $FileName = $DownLoadUrl.Split('/')[-1] download-file $downloadurl "$powershellpath\$filename" - -."$powershellpath\$filename" /quiet +Stop-Transcript +."$powershellpath\$filename" /quiet /log "C:\powershell\install.log" diff --git a/library/windows/win_feature.ps1 b/library/windows/win_feature.ps1 index 6b9ecc445a..bd2b287419 100644 --- a/library/windows/win_feature.ps1 +++ b/library/windows/win_feature.ps1 @@ -24,7 +24,6 @@ Import-Module Servermanager; $params = Parse-Args $args; $result = New-Object psobject @{ - win_feature = New-Object psobject changed = $false }