function Say-Hello ([string] $name) {
Write-Output “Hello, $name”
$a = Get-WmiObject -Query (“select * from win32_networkconnection where LocalName=‘Z****K**1’”)
Write-Output $a
}
Say-Hello “123”
PowerShell语句
最新推荐文章于 2024-03-12 16:26:47 发布
function Say-Hello ([string] $name) {
Write-Output “Hello, $name”
$a = Get-WmiObject -Query (“select * from win32_networkconnection where LocalName=‘Z****K**1’”)
Write-Output $a
}
Say-Hello “123”