1. Check SQL Server Version Using PowerShell.
  2. Download and Install Git Client for Windows Using PowerShell.
  3. Get Disk Space Information Using PowerShell.
  4. Multiple Foreground Colors in PowerShell in One Command.
  5. PowerShell to Copy Files Over the Network.
  6. Run a Scheduled Task in Task Scheduler Through PowerShell Command.

1. PowerShell passing of variables (param) - script-example.com

  • Author: script-example.com
  • Updated: 2022-09-29
  • Rated: 76/100 ⭐ (5463 votes)
  • High rate: 7/100 ⭐
  • Low rate: 55/100 ⭐
  • Summary: PowerShell passing of variables
  • Matched Content: At the beginning of a PowerShell script parameters can be defined in the function Param(). Param - passing variables to a script.
  • Read more: here
  • Edited by: Benedicta Dorris

2. Pass an Argument to a PowerShell Script

  • Author: delftstack.com
  • Updated: 2022-09-28
  • Rated: 78/100 ⭐ (9551 votes)
  • High rate: 78/100 ⭐
  • Low rate: 55/100 ⭐
  • Summary: Pass an Argument to a PowerShell Script
  • Matched Content: Use param to Pass an Argument to a PowerShell Script We can define arguments using the param statement. It also allows us to use the default 
  • Read more: here
  • Edited by: Beth Dowling

3. Using Default Parameter Values - Power Tips - IDERA Community

  • Author: idera.com
  • Updated: 2022-09-25
  • Rated: 68/100 ⭐ (6554 votes)
  • High rate: 87/100 ⭐
  • Low rate: 64/100 ⭐
  • Summary: Using Default Parameter Values
  • Matched Content: You may have heard about PowerShell default parameter values and function testAdvanced { [CmdletBinding()] param($Computername) "Result 
  • Read more: here
  • Edited by: Nadiya Charbonneau

4. Replace Special Characters with PowerShell - in2Hyperion

  • Author: googleweblight.com
  • Updated: 2022-09-25
  • Rated: 96/100 ⭐ (3185 votes)
  • High rate: 99/100 ⭐
  • Low rate: 56/100 ⭐
  • Summary: Replace Special Characters with PowerShell
  • Matched Content: Replace Special Characters with PowerShell ; Replace-SpecialChars { ; param( ; [string]$InputString, ; [string]$Replacement = "", ; [string]$ 
  • Read more: here
  • Edited by: Moll Chaiken

5. $PSScriptRoot is not populated when used in a default value for a

  • Author: github.com
  • Updated: 2022-09-25
  • Rated: 66/100 ⭐ (5797 votes)
  • High rate: 87/100 ⭐
  • Low rate: 64/100 ⭐
  • Summary: $PSScriptRoot is not populated when used in a default value for a
  • Matched Content: Steps to reproduce Run this script (via PowerShell -File .) param( [Parameter(Mandatory = $false)] [string] $Foo = 'hi\{0}\hi' -f 
  • Read more: here
  • Edited by: Dot Esmerolda

6. How To Copy All Secrets From One KeyVault To Another In Azure

  • Author: c-sharpcorner.com
  • Updated: 2022-09-25
  • Rated: 68/100 ⭐ (2642 votes)
  • High rate: 88/100 ⭐
  • Low rate: 55/100 ⭐
  • Summary: How To Copy All Secrets From One KeyVault To Another In Azure
  • Matched Content: Option 1: Copy Azure KeyVault using Powershell script · Param( [Parameter(Mandatory)] [string]$sourceKvName, [Parameter(Mandatory)] [string]$ 
  • Read more: here
  • Edited by: Annmarie Dionne

7. Sending email with Gmail account using PowerShell script

  • Author: dejanstojanovic.net
  • Updated: 2022-09-25
  • Rated: 68/100 ⭐ (9496 votes)
  • High rate: 89/100 ⭐
  • Low rate: 65/100 ⭐
  • Summary: Sending email with Gmail account using PowerShell script
  • Matched Content: PowerShell starting from version 3.0 has build in cmdlet Send-MailMessage for sending emails. Param( [Parameter(Mandatory=$true)] 
  • Read more: here
  • Edited by: Em Balfour

8. PowerShell: How to use Switch Parameter? - TechNet Articles

  • Author: microsoft.com
  • Updated: 2022-09-24
  • Rated: 97/100 ⭐ (1783 votes)
  • High rate: 97/100 ⭐
  • Low rate: 5/100 ⭐
  • Summary: How to use Switch Parameter?
  • Matched Content: How to consume switch parameter? · Param( · [Parameter(Mandatory=$false)] · [Switch]$ColorText · ) · ($ColorText -eq $false) · { · Write-Host "Plain 
  • Read more: here
  • Edited by: Shelia Hollander

9. Tag: can i run multiple powershell scripts simultaneously - Poopcode

  • Author: poopcode.com
  • Updated: 2022-09-24
  • Rated: 67/100 ⭐ (1265 votes)
  • High rate: 79/100 ⭐
  • Low rate: 64/100 ⭐
  • Summary: can i run multiple powershell scripts simultaneously
  • Matched Content: Tag: can i run multiple powershell scripts simultaneously · TypeScript code snippet – How to output multiple powershell scripts simultaneously?
  • Read more: here
  • Edited by: Darda Emilia

10. Beginners Guide to Windows Terminal App in Windows 11 - WebNots

  • Author: webnots.com
  • Updated: 2022-09-22
  • Rated: 68/100 ⭐ (6663 votes)
  • High rate: 87/100 ⭐
  • Low rate: 46/100 ⭐
  • Summary: Beginners Guide to Windows Terminal App in Windows 11
  • Matched Content: You can have multiple tabs in a single app and execute different commands at the same time. · Switch across Command Prompt, Windows PowerShell, 
  • Read more: here
  • Edited by: Rosanna Cole

11. Schedule PowerShell Scripts that Require Input Values

  • Author: microsoft.com
  • Updated: 2022-09-22
  • Rated: 89/100 ⭐ (5958 votes)
  • High rate: 89/100 ⭐
  • Low rate: 54/100 ⭐
  • Summary: Schedule PowerShell Scripts that Require Input Values
  • Matched Content: Schedule PowerShell Scripts that Require Input Values · Param([parameter(Mandatory=$true, · HelpMessage=”Path to file”)] · $path) · Get-WmiObject - 
  • Read more: here
  • Edited by: Mikaela Hackney

12. Add parameterset to `New-Object` to accept hashtable and emit

  • Author: github.com
  • Updated: 2022-09-21
  • Rated: 68/100 ⭐ (5772 votes)
  • High rate: 87/100 ⭐
  • Low rate: 56/100 ⭐
  • Summary: Object` to accept hashtable and emit
  • Matched Content: function Convert-ArrayToObject { param ( [Object[]] The function does not add dependencies to PowerShell and won't enlarge the package.
  • Read more: here
  • Edited by: Bobbie Drusilla

13. PowerShell Function Parameters - Computer Performance

  • Author: computerperformance.co.uk
  • Updated: 2022-09-20
  • Rated: 99/100 ⭐ (5223 votes)
  • High rate: 99/100 ⭐
  • Low rate: 55/100 ⭐
  • Summary: PowerShell Function Parameters Computer Performance
  • Matched Content: Key Concepts for PowerShell Functions · Function (Itself!) · Global (Optional scope) · Param ($Parameters define the -switches) · Begin (Optional 
  • Read more: here
  • Edited by: Ameline Dhiren

14. Dynamically Create Powershell Alias - Rahul Nath

  • Author: rahulpnath.com
  • Updated: 2022-09-19
  • Rated: 68/100 ⭐ (9417 votes)
  • High rate: 89/100 ⭐
  • Low rate: 64/100 ⭐
  • Summary: Dynamically Create Powershell Alias
  • Matched Content: Dynamically Create Powershell Alias ; $aliasFilePath · "<Alias file path>" ; function · - ; { param ; ( [parameter(Mandatory=$true)] ;, [parameter( 
  • Read more: here
  • Edited by: Cthrine Arjan

15. Passer un argument à un script PowerShell - Delft Stack

  • Author: delftstack.com
  • Updated: 2022-09-14
  • Rated: 86/100 ⭐ (6776 votes)
  • High rate: 87/100 ⭐
  • Low rate: 56/100 ⭐
  • Summary: Passer un argument à un script PowerShell
  • Matched Content: Utilisez param pour transmettre un argument à un script PowerShell. Nous pouvons définir des arguments en utilisant l'instruction param . Cela 
  • Read more: here
  • Edited by: Elayne Azarria

16. Tag: powershell run script on multiple computers simultaneously

  • Author: poopcode.com
  • Updated: 2022-09-14
  • Rated: 77/100 ⭐ (5691 votes)
  • High rate: 77/100 ⭐
  • Low rate: 56/100 ⭐
  • Summary: powershell run script on multiple computers simultaneously
  • Matched Content: Tag: powershell run script on multiple computers simultaneously · TypeScript code snippet – How to output multiple powershell scripts 
  • Read more: here
  • Edited by: Martha Carpenter

17. PowerShell Parameter List - MacLochlainns Weblog

  • Author: mclaughlinsoftware.com
  • Updated: 2022-09-13
  • Rated: 67/100 ⭐ (9691 votes)
  • High rate: 79/100 ⭐
  • Low rate: 66/100 ⭐
  • Summary: PowerShell Parameter List MacLochlainns Weblog
  • Matched Content: PowerShell Parameter List ; param ( [ · Mandatory · array ; param ( [ · Mandatory · hashtable ; { param ( · Parameter(Mandatory) · hashtable 
  • Read more: here
  • Edited by: Etty Fanchet

18. Powershell: Passing an array to a script at command line

  • Author: michlstechblog.info
  • Updated: 2022-09-13
  • Rated: 97/100 ⭐ (7688 votes)
  • High rate: 97/100 ⭐
  • Low rate: 46/100 ⭐
  • Summary: Passing an array to a script at command line
  • Matched Content: Hi,. starting point is a simple powershell shell script testarray.ps1: [CmdletBinding()] Param( &nbsp; [Parameter(Mandatory=$false 
  • Read more: here
  • Edited by: Robbyn Hercule

19. how to number of parameters in powershell Code Example

  • Author: codegrepper.com
  • Updated: 2022-09-13
  • Rated: 76/100 ⭐ (2768 votes)
  • High rate: 78/100 ⭐
  • Low rate: 46/100 ⭐
  • Summary: how to number of parameters in powershell Code Example
  • Matched Content: Param ( [Parameter(Mandatory=$True, Position=1)] [string]$String, [Parameter(Mandatory=$True)] [int]$Int, [switch]$Switch = $false )
  • Read more: here
  • Edited by: Heddi Bertie

20. Paramètres de fonction PowerShell

  • Author: delftstack.com
  • Updated: 2022-09-12
  • Rated: 99/100 ⭐ (5387 votes)
  • High rate: 99/100 ⭐
  • Low rate: 55/100 ⭐
  • Summary: Paramètres de fonction PowerShell
  • Matched Content: PowerShell function parameters ()] [string]$Param2 ) Write-Host "Param1 value is $Param1" Write-Host "Param 2 value is $Param2" 
  • Read more: here
  • Edited by: Charmine Edva

21. Valeur de retour dans PowerShell - Delft Stack

  • Author: delftstack.com
  • Updated: 2022-09-12
  • Rated: 79/100 ⭐ (1473 votes)
  • High rate: 79/100 ⭐
  • Low rate: 55/100 ⭐
  • Summary: Valeur de retour dans PowerShell
  • Matched Content: Utilisation du mot-clé return dans PowerShell; Valeurs de retour dans le function MultiplyOnlyEven { param($num) if ($num % 2) { return 
  • Read more: here
  • Edited by: Carlita Dyna

22. Delete User Profiles on a Remote Computer in PowerShell

  • Author: nextofwindows.com
  • Updated: 2022-09-07
  • Rated: 97/100 ⭐ (5841 votes)
  • High rate: 97/100 ⭐
  • Low rate: 45/100 ⭐
  • Summary: Delete User Profiles on a Remote Computer in PowerShell
  • Matched Content: Delete User Profiles on a Remote Computer in PowerShell ; Read-Host "Enter User ID: " Invoke-Command ; { param( ; + $user Get-WmiObject ; Where- 
  • Read more: here
  • Edited by: Stephanie Houlberg

23. How to RegEx replace multiple strings in text files in PowerShell

  • Author: outcompute.com
  • Updated: 2022-09-06
  • Rated: 69/100 ⭐ (8177 votes)
  • High rate: 97/100 ⭐
  • Low rate: 66/100 ⭐
  • Summary: How to RegEx replace multiple strings in text files in PowerShell
  • Matched Content: How to RegEx replace multiple strings in text files in PowerShell · Param ( [String]$List = "TransformList. ·. · The quick brown fox jumps over 
  • Read more: here
  • Edited by: Dannie Emelin

24. Passer des paramètres booléens à un script PowerShell à partir d

  • Author: delftstack.com
  • Updated: 2022-09-05
  • Rated: 69/100 ⭐ (9592 votes)
  • High rate: 98/100 ⭐
  • Low rate: 46/100 ⭐
  • Summary: Passer des paramètres booléens à un script PowerShell à partir d
  • Matched Content: Copy param ([int] $a, [switch] $b) switch($b){ $true {"The value is $b."} $false {"The value is $b."} } Lorsque le paramètre switch est présent 
  • Read more: here
  • Edited by: Inger Bilbe

25. powershell switch parameter Code Example

  • Author: codegrepper.com
  • Updated: 2022-09-03
  • Rated: 88/100 ⭐ (9513 votes)
  • High rate: 88/100 ⭐
  • Low rate: 56/100 ⭐
  • Summary: powershell switch parameter Code Example
  • Matched Content: Param ( [Parameter(Mandatory=$True, Position=1)] [string]$String, [Parameter(Mandatory=$True)] [int]$Int, [switch]$Switch = $false )
  • Read more: here
  • Edited by: Pansy Havard