Skip to content

Ingenio/powershell-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

PowerShell Framework Challenge – Firefox Installer

Objective

Complete the PowerShell script to install or upgrade Mozilla Firefox using the official online MSI.

Requirements

  • Script should:
    • Download latest Firefox MSI
    • Detect currently installed Firefox version
    • If -Upgrade is specified, only install if remote version is newer
    • Log all activity to the Windows Application event log
  • Focus on clean, modular code with robust error handling

Download URL

https://download.mozilla.org/?product=firefox-msi-latest-ssl&os=win64&lang=en-US

How to Run

.\Install-Firefox.ps1
.\Install-Firefox.ps1 -Upgrade

Submission

Submit your completed .ps1 file. Include any notes or assumptions.

Bonus

  • Parameter validation
  • Implement detailed error logs or retry logic
  • Cleanup downloaded files

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published