Our great sponsors
-
winget-cli
WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Puts Debuggerer
Ruby library for improved puts debugging, automatically displaying bonus useful information such as source line number and source code.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
$SoftwareListFile = ".\software_list.txt" [string[]]$SoftwareList = Get-Content $SoftwareListFile <# .SYNOPSIS Checks if a Command is currently available on Powershell #> function Test-CommandExists { [CmdletBinding()] param ( [Parameter(Mandatory)] [string]$testCommand ) try { Get-Command $testCommand -ErrorAction Stop return $true } catch { return $false } } if (!(Test-CommandExists winget)) { Write-Host "Winget not found, unable to continue" Write-Host "Check on https://github.com/microsoft/winget-cli for instructions" return -1 } Write-Output "This script will attempt to install multiple softwares on your system" $DoInstall = Read-Host -Prompt "Are you sure you want to install? If so, type 'install' bellow." $WingetCommandParam = ($DoInstall -eq "install") ? $DoInstall : "search"; $SoftwareList | ForEach-Object -Process { &winget $WingetCommandParam -e --id $_ } Write-Output "Done!" if (!(Test-Path "${PSScriptRoot}\bootstrap.ps1" -PathType Leaf)) { return; } $DoBootstrap = Read-Host -Prompt "Type 'bootstrap' bellow if you want to run dotfiles' bootstrap as well" if ($DoBootstrap -eq "bootstrap") { . "${PSScriptRoot}\bootstrap.ps1" }
View on GitHub
$SoftwareListFile = ".\software_list.txt" [string[]]$SoftwareList = Get-Content $SoftwareListFile <# .SYNOPSIS Checks if a Command is currently available on Powershell #> function Test-CommandExists { [CmdletBinding()] param ( [Parameter(Mandatory)] [string]$testCommand ) try { Get-Command $testCommand -ErrorAction Stop return $true } catch { return $false } } if (!(Test-CommandExists winget)) { Write-Host "Winget not found, unable to continue" Write-Host "Check on https://github.com/microsoft/winget-cli for instructions" return -1 } Write-Output "This script will attempt to install multiple softwares on your system" $DoInstall = Read-Host -Prompt "Are you sure you want to install? If so, type 'install' bellow." $WingetCommandParam = ($DoInstall -eq "install") ? $DoInstall : "search"; $SoftwareList | ForEach-Object -Process { &winget $WingetCommandParam -e --id $_ } Write-Output "Done!" if (!(Test-Path "${PSScriptRoot}\bootstrap.ps1" -PathType Leaf)) { return; } $DoBootstrap = Read-Host -Prompt "Type 'bootstrap' bellow if you want to run dotfiles' bootstrap as well" if ($DoBootstrap -eq "bootstrap") { . "${PSScriptRoot}\bootstrap.ps1" }
Related posts
- Is there an PC (Windows) alternative for torrentmac.com?
- Using GPT-3 and Whisper to generate a Summary of a YouTube video of any language 😀
- I have found out today about "windows power toys" and the neat features it brings to windows 10 and wanted to share it with you guys :)
- If Apple keeps letting its software slip, the next big thing won’t matter
- Scoop