使用wmic識(shí)別安裝到系統(tǒng)中的補(bǔ)丁情況
C:\> wmic qfe get description,installedOn
識(shí)別正在運(yùn)行的服務(wù)
C:\>sc query type= service
C:\>net start
識(shí)別開機(jī)啟動(dòng)的程序,包括路徑
C:\>wmic startup list full
ping探測(cè)存活主機(jī)
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
查看當(dāng)前系統(tǒng)是否有屏保保護(hù),延遲是多少
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
查看某個(gè)進(jìn)程的詳細(xì)信息 (路徑,命令行參數(shù)等)
C:\>wmic process where name="chrome.exe" list full
終止一個(gè)進(jìn)程
D:\>wmic process where name="xshell.exe" call terminate
D:\>ntsd -c q -p 進(jìn)程的PID
顯示系統(tǒng)中的曾經(jīng)連接過的無線密碼
D:\>netsh wlan show profiles
D:\>netsh wlan show profiles name="profiles的名字" key=clear
查看當(dāng)前系統(tǒng)是否是VMWARE
C:\>wmic bios list full | find /i "vmware"
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。