You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$Packages = 'libreoffice', '7zip', 'battle.net', 'ditto', 'Firefox', 'keepass', 'keepass-rpc', 'mobaxterm', 'msiafterburner', 'seafile-client', 'signal', 'steam', 'WhatsApp' # List of packages that will be installed
Function InstallPackages { # Function for installing choco packages
ForEach ($Package in $Packages)
{
choco install $Package -y
}
}
if (Get-Command choco.exe -ErrorAction SilentlyContinue) { # If choco is already installed, just install the packages from the $Packages variable
InstallPackages
}
else { # If choco is not already installed run the choco install routine and after that install the packages