【Windows, PowerShell,Script,SpringBoot】 部署
部署 ps1 script:
# Powershell Version 7.1.3
# param 要写在最上面, 相当于一个脚本是一个函数。参数传递放在最上面
# 默认为 $null
param
(
$projectDirectory,
$targetDirectory
# [string]$Test=$(throw "Parameter missing: -name Name")
)
$targetDirectory = Get-Location
# 换行
# Write
原创
2021-06-23 16:21:05 ·
259 阅读 ·
0 评论