摘要: PowerShell 中获取 CPU 序列号可以通过 WMI(Windows Management Instrumentation)来实现。下面是一个示例代码,演示如何在 PowerShell 中获取 CPU 序列号: powershellCopy Code # 使用 WMI 获取 CPU 信息 $ 阅读全文
posted @ 2024-02-24 11:46 suv789 阅读(115) 评论(0) 推荐(0) 编辑
摘要: msiexec | Microsoft Learn msiexec 是 Windows 操作系统中的一个命令行实用程序,用于安装、维护和删除 Windows Installer (.msi) 文件格式的软件包。Windows Installer 是一种用于安装和管理应用程序的技术,它使用 .msi 阅读全文
posted @ 2024-02-24 07:17 suv789 阅读(15) 评论(0) 推荐(0) 编辑
摘要: PowerShell 中,可以使用以下命令获取当前系统的外网 IP 地址: $ip = Invoke-RestMethod -Uri "https://api.ipify.org?format=json" | Select-Object -ExpandProperty ip$ip 腾讯 IP 地址查 阅读全文
posted @ 2024-02-24 05:25 suv789 阅读(402) 评论(0) 推荐(0) 编辑