摘要: compose multiple variables into a command line, then execute it. ```ps1 $dest="a:\des" $source="b:\src" $cmdlink="cmd" $cmdPart1="/c", "mklink", "/j" 阅读全文
posted @ 2023-06-22 08:17 fndefbwefsowpvqfx 阅读(2) 评论(0) 推荐(0) 编辑
摘要: ```pwsh $config="a:/etc/data.xml" $fromString='' $toString = ' false ' (Get-Content $config).replace($fromString, $toString) | Set-Content $config ``` 阅读全文
posted @ 2023-06-22 08:12 fndefbwefsowpvqfx 阅读(8) 评论(0) 推荐(0) 编辑