Collect logs from the servers
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Collect logs from the servers相关的知识,希望对你有一定的参考价值。
1. Get system info
systeminfo > "${env:COMPUTERNAME}_systeminfo.txt"
2. Get serial number
Get-WmiObject -Class Win32_Bios | Select * >"${env:COMPUTERNAME}_bios.txt"
3. Get installed driver version
Get-WmiObject -Class Win32_PnPSignedDriver| select Devicename,Friendlyname, Driverprovidername, Driverversion, Driverdate, Location |export-csv "${env:COMPUTERNAME}_installed_driver.csv"
4. Get installed software version
Get-WmiObject -Class Win32_Product | select Name, Version, Vendor,Caption | export-csv "${env:COMPUTERNAME}_installed_software.csv"
以上是关于Collect logs from the servers的主要内容,如果未能解决你的问题,请参考以下文章
mysql报错1872: Slave failed to initialize relay log info structure from the repository
MySQL复制报错(Slave failed to initialize relay log info structure from the repository)
Slave failed to initialize relay log info structure from the repository
ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repository
故障处理ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repository(示例(代
mysql 主从关系ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repositor