function fts($a,$b){
$sum=$a+$b
Write-Host $sum
}


function hs($fun,$a,$b){
$c = 32
#调用函数
Invoke-Command $fun -ArgumentList $a,$c


}

#函数hs调用fts函数 hs
${function:fts} 33 22

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-21
  • 2021-08-04
  • 2022-12-23
  • 2022-12-23
  • 2022-02-10
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-03-02
  • 2022-12-23
  • 2022-02-20
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案