mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-10 05:17:44 +02:00
Improved the scripts
This commit is contained in:
@ -6,10 +6,12 @@
|
||||
.NOTES Author: Markus Fleschutz / License: CC0
|
||||
#>
|
||||
|
||||
param([string]$City)
|
||||
param($City = "")
|
||||
|
||||
if ($City -eq "" ) {
|
||||
$City = read-host "Enter the city"
|
||||
$City = read-host "Enter the city name"
|
||||
}
|
||||
|
||||
$PathToRepo = "$PSScriptRoot/.."
|
||||
|
||||
try {
|
||||
|
Reference in New Issue
Block a user