Workflow with multiple functions that call from one function to the other

This page summarizes the projects mentioned and recommended in the original post on /r/PowerShell

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • PowerShell

    PowerShell for every system!

  • Here is the script: #I know this is going to look like repeat commands and such, but I like breaking things apart for organization #Set to execute all commands Set-ExecutionPolicy RemoteSigned -Scope CurrentUser #Let Admin know they need a certain version Write-Host NOTE: Powershell 7.0+ is needed to run certain modules. Checking version... -ForegroundColor Yellow workflow Verify { param($Tasks) $Tasks = @($Task1, $Task2) foreach ($item in $Tasks) { Inlinescript { #Function to check the version of PowerShell function VersionCheck{ param($Task1) if ($PSVersionTable.PSVersion.Major -lt 7) { Write-Host "Results: Version out-of-date, version 7.x will need to be installed. Please install before relaunching..." -ForegroundColor Red ; Read-Host "Press enter to be navigated to the download page..." ; Start-Process microsoft-edge:https://github.com/PowerShell/PowerShell/releases/tag/v7.1.3 continue $Task2 }

  • Puts Debuggerer

    Ruby library for improved puts debugging, automatically displaying bonus useful information such as source line number and source code.

  • function Get-LatestPowerShell{ [CmdletBinding()] param( [Parameter( Mandatory = $false, ValueFromPipelineByPropertyName = $true, HelpMessage = "Destination Folder", Position = 0)] [string]$Folder = "$env:Temp\", [Parameter( Mandatory = $false, ValueFromPipelineByPropertyName = $true, HelpMessage = "File Type: msi or zip", Position = 1)] [ValidateSet('msi','zip')] [string]$Type = 'msi' ) $url = 'https://aka.ms/powershell-release?tag=stable' # determine if user wants msi or zip file $SearchType = '*64.msi*' if($Type -eq 'zip'){ $SearchType = '*x64.zip*' } # make sure output folder string ends in \ if( $Folder[-1] -ne '\') { $Folder = "$Folder\" } try{ # find url link to download latest install file. $r = Invoke-WebRequest -Uri $url -UseBasicParsing $link = '{0}{1}' -f 'https://github.com', ($r.Links | Where-Object { $_ -like $SearchType }).href # format output file string and download lastest install file. $OutFile = '{0}{1}' -f $Folder, $link.Split('/')[-1] Invoke-WebRequest -Uri $link -OutFile $OutFile # return downloaded file location. return $OutFile }catch{ $_.Exception.Message | Write-Warning return $null } } Clear-Host Get-LatestPowerShell

  • 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.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How do you guys manage your ssh keys?

    2 projects | /r/selfhosted | 9 Sep 2021
  • Top 10 Developer Communities You Should Explore

    2 projects | dev.to | 29 Apr 2024
  • GitHub: Create your own repository landscape ⭐️

    4 projects | dev.to | 27 Apr 2024
  • Version Control: Git Basics

    1 project | dev.to | 26 Apr 2024
  • Github ARC Runners sur EKS - Assume roles

    1 project | dev.to | 25 Apr 2024