Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

parameter powershell

Param (
	[Parameter(Mandatory=$True, Position=1)]
	[string]$String,
    
    [Parameter(Mandatory=$True)]
    [int]$Int,
    
    [switch]$Switch = $false
)
Comment

powershell get arguments

 param (
    [string]$server = "http://defaultserver",
    [Parameter(Mandatory=$true)][string]$username,
    [string]$password = $( Read-Host "Input password, please" )
 )
Comment

start program with arguments powershell

Start-Process -FilePath "C:Program FilesMSBuild	est.exe" -ArgumentList /genmsi/f $MySourceDirectorysrcDeploymentInstallations.xml
Comment

PREVIOUS NEXT
Code Example
Shell :: install cp in windows cmd 
Shell :: how to remove a file from staging area in git 
Shell :: running localhost check in linux terminal 
Shell :: npm insall serve globally 
Shell :: git add file without commit 
Shell :: bash make multiple directories in current directory 
Shell :: how to remove all files in a directory matching a regex pattern shell 
Shell :: install anaconda 
Shell :: check gcp disk space usage 
Shell :: benchmark a network drive windows without installing 
Shell :: bash how to delete blank lines 
Shell :: apache2 connection refused ubuntu 
Shell :: how to remove a software from linux 
Shell :: check if command exists bash 
Shell :: vue-cli-service not found linux 
Shell :: dpkg get installed package version 
Shell :: gradle git bash terminal weird characters 
Shell :: find logs in kubernetes pods 
Shell :: git stash save 
Shell :: ls order by date 
Shell :: how to view hidden files in mac terminal 
Shell :: install vuex orm 
Shell :: vim remove all commented lines 
Shell :: ffmpeg add audio to image 
Shell :: shorten the linux terminal path 
Shell :: install aptitude ubuntu 20.04 
Shell :: docker start container 
Shell :: how to open a file using terminal 
Shell :: remove .env file from git history 
Shell :: bash sum numbers 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =