1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Remove unnecessary obj

This commit is contained in:
Paul Durivage 2014-06-19 11:40:17 -05:00 committed by Matt Martz
parent 43a7a5a990
commit 7e055ec6cc
2 changed files with 3 additions and 3 deletions

View file

@ -17,6 +17,7 @@
# 6.2 is 2012 # 6.2 is 2012
# 6.3 is 2012 R2 # 6.3 is 2012 R2
Start-Transcript "C:\powershell\scriptlog.txt"
if ($PSVersionTable.psversion.Major -ge 3) if ($PSVersionTable.psversion.Major -ge 3)
{ {
@ -77,5 +78,5 @@ else
$FileName = $DownLoadUrl.Split('/')[-1] $FileName = $DownLoadUrl.Split('/')[-1]
download-file $downloadurl "$powershellpath\$filename" download-file $downloadurl "$powershellpath\$filename"
Stop-Transcript
."$powershellpath\$filename" /quiet ."$powershellpath\$filename" /quiet /log "C:\powershell\install.log"

View file

@ -24,7 +24,6 @@ Import-Module Servermanager;
$params = Parse-Args $args; $params = Parse-Args $args;
$result = New-Object psobject @{ $result = New-Object psobject @{
win_feature = New-Object psobject
changed = $false changed = $false
} }