使用wmic識別安裝到系統(tǒng)中的補丁情況
C:\> wmic qfe get description,installedOn
識別正在運行的服務(wù)
C:\>sc query type= service
C:\>net start
識別開機啟動的程序,包括路徑
C:\>wmic startup list full
ping探測存活主機
D:\>for /L %I in (100,1,254) DO @ping -w 1 -n 1 10.18.180.%I | findstr "TTL=" >> pinglive.txt
查看系統(tǒng)中網(wǎng)卡的IP地址和MAC地址
D:\>wmic nicconfig get ipaddress,macaddress
查看當前系統(tǒng)是否有屏保保護,延遲是多少
D:\>wmic desktop get screensaversecure,screensavertimeout
查看系統(tǒng)中開放的共享
D:\>wmic share get name,path
D:\>net share
查看系統(tǒng)中開啟的日志
C:\>wmic nteventlog get path,filename,writeable
清除相關(guān)的日志(這里是全部清除)
wevtutil cl "windows powershell"
wevtutil cl "security"
wevtutil cl "system"
查看系統(tǒng)中安裝的軟件以及版本
C:\>wmic product get name,version
查看某個進程的詳細信息 (路徑,命令行參數(shù)等)
C:\>wmic process where name="chrome.exe" list full
終止一個進程
D:\>wmic process where name="xshell.exe" call terminate
D:\>ntsd -c q -p 進程的PID
顯示系統(tǒng)中的曾經(jīng)連接過的無線密碼
D:\>netsh wlan show profiles
D:\>netsh wlan show profiles name="profiles的名字" key=clear
查看當前系統(tǒng)是否是VMWARE
C:\>wmic bios list full | find /i "vmware"
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。