mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Remove unnecessary obj
This commit is contained in:
committed by
Matt Martz
parent
43a7a5a990
commit
7e055ec6cc
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user