netsh interface ipv4 show interface netsh interface ipv6 show interface
netsh 見やすい
netsh interface ipv4 show route netsh interface ipv6 show route
route 打ちやすい、絞り込みができる
route print route print -4 route print -6 route print 192.168.*
netsh interface ipv4 add route prefix=203.0.113.0/24 interface="(INTERFACE_NAME)" netsh interface ipv4 delete route prefix=203.0.113.0/24 interface="(INTERFACE_NAME)"
個人的に route add よりこっちのほうが使いやすい
netsh interface ipv4 set interface interface="(INTERFACE_NAME)" metric=1000
rasphone /d (CONNECTION_NAME)
net start MSSQLSERVER
net stop MSSQLSERVER
net stop /y MSSQLSERVER & net start /y SQLSERVERAGENT
依存するサービスの同時起動・停止を /y オプションで許可する。
起動時は SQLSERVERAGENT が MSSQLSERVER に依存することを利用して MSSQLSERVER を起動する。
個人的によく使うもの
そのほかは:
【Windows10】コントロールパネルのアイテムをコマンド起動 - SEブログ
https://soma-engineering.com/desktop/windows10/command-items-controlpanel/2018/09/09/
ncpa.cpl
control /name Microsoft.NetworkAndSharingCenter
wf.msc
control /name Microsoft.CredentialManager
services.msc
taskschd.msc
eventvwr.msc
control /name Microsoft.DevicesAndPrinters
appwiz.cpl