GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main Page
  • Browse
  • Recent changes
  • Guided tours
  • Random
  • Help
  • Portal
  • Colloquium
  • News
  • Projects
  • Sandbox
  • Search
  • Donate
  • Create account

This view

  • Original page
  • New address

GeezerVison is showing en.wikiversity.org — PowerShell/Examples/Install-Flowgorithm - Wikiversity

< PowerShell | Examples
# This script downloads and installs Flowgorithm.

function Install-Flowgorithm {
    Write-Host "Downloading Flowgorithm..."
    $Path = $env:TEMP
    $Archive = "Flowgorithm.zip"
    $Extract = "Flowgorithm"
    $Installer = "setup.exe"
    $URL = "http://www.flowgorithm.org/download/files/Flowgorithm-2.22.1-64-Setup.zip"
    Invoke-WebRequest $URL -OutFile $Path\$Archive

    Write-Host "Extracting Flowgorithm..."
    Expand-Archive -LiteralPath $Path\$Archive -DestinationPath $Path\$Extract

    Write-Host "Installing Flowgorithm..."
    Start-Process -FilePath $Path\$Extract\$Installer -Args "/quiet" -Verb RunAs -Wait
    Remove-Item $Path\$Archive
    Remove-Item $Path\$Extract -Recurse -ErrorAction Ignore
}

Install-Flowgorithm

See Also

  • PowerShell
Retrieved from "https://en.wikiversity.org/w/index.php?title=PowerShell/Examples/Install-Flowgorithm&oldid=2141633"
Category:
  • PowerShell
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.