2023-01-01|閱讀時間 ‧ 約 1 分鐘

改網卡VLAN ID

#節省win10開一大堆視窗才能改VLAN的時間
$NicName = Read-Host "Enter the name of the network adapter"
$VlanId = Read-Host "Enter the VLAN ID" 
$Nic = Get-NetAdapter -Name 
$nicName$Nic | Set-Vlan -VlanId $vlanId
分享至
成為作者繼續創作的動力吧!
從 Google News 追蹤更多 vocus 的最新精選內容從 Google News 追蹤更多 vocus 的最新精選內容

DeanZhong的沙龍 的其他內容

發表回應

成為會員 後即可發表留言
© 2024 vocus All rights reserved.