victorwoo (Victor.Woo)当前离线
荣誉版主
function Show-HostsFile { $Path = "$env:windir\system32\drivers\etc\hosts" Start-Process -FilePath notepad -ArgumentList $Path -Verb runas }复制代码
Linuxer 当前离线
五级士官
TOP
CrLf 当前离线
论坛巡查
get-command|group verb复制代码
[PSObject].Assembly.GetTypes()|Where-Object {$_.Name -match '^Verbs.'}|Get-Member -type Properties -static复制代码