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:
parent
43a7a5a990
commit
7e055ec6cc
2 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||
|
|
|
@ -24,7 +24,6 @@ Import-Module Servermanager;
|
|||
$params = Parse-Args $args;
|
||||
|
||||
$result = New-Object psobject @{
|
||||
win_feature = New-Object psobject
|
||||
changed = $false
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue