mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-04 07:19:10 -07:00
Added logging to UpgradeToPS3.ps1
UpgradeToPS3.ps1 failed when tested with Ansible. Added logging output to file C:\powershell\install.log.
This commit is contained in:
parent
243cd877ae
commit
7631c005ca
2 changed files with 77 additions and 1 deletions
|
@ -68,4 +68,4 @@ else
|
|||
$FileName = $DownLoadUrl.Split('/')[-1]
|
||||
download-file $downloadurl "$powershellpath\$filename"
|
||||
|
||||
."$powershellpath\$filename" /quiet
|
||||
."$powershellpath\$filename" /quiet /log "C:\powershell\install.log"
|
Loading…
Add table
Add a link
Reference in a new issue