Users Guide
以下各部分提供了配置设备的警报目标所需的信息。
相关链接
使用脚本文件 (Windows) 配置警报目标
手动配置警报目标 (Windows)
使用脚本文件 (Linux) 配置警报目标
手动配置警报目标 (Linux)
使用脚本文件 (Windows) 配置警报目标
前提条件
• 在设备上必须安装 Microsoft Windows PowerShell 版本 1.0 或更高版本。
注: 仅在 Windows PowerShell 上支持该脚本文件。在 Windows PowerShell (x86)、Windows
PowerShell ISE 或 Windows PowerShell ISE (x86) 上不支持该脚本文件。
• 请确保您在要运行 PowerShell 脚本文件的设备上具有管理员权限。
• 请确保您在该设备的 C:\ 驱动器上具有写入权限。
• 如果设备运行的是 Windows 2003,请确保安装 SNMP 服务。在其他所有支持的操作系统上,脚本文件将
安装
SNMP 服务(如果尚未安装)。
该脚本文件仅在运行以下操作系统的设备上受支持:
• Windows Server 2003
• Windows Server 2008 R2 SP1(64 位)
• Windows Server 2008 SP2(64 位)
• Windows Server 2008 SP2(32 位)
• Windows Small Business Server 2008
• Windows Small Business Server 2011
• Windows Server 2012
• Windows Server 2012 R2
• Server Core for Windows Server 2012
步骤
1. 在安装 SupportAssist 所在的服务器上,浏览至 C:\Program Files\Dell\SupportAssist\scripts 文件夹。
2. 复制此文件夹中的脚本文件 (WindowsSNMPConfig.ps1),并将其粘贴到设备上所需的位置(例如 C:
\temp)。
3. 根据该设备上运行的操作系统,执行以下操作之一:
• 在 Windows Server 2012 中,在开始屏幕中,右键单击 Windows PowerShell 磁贴,然后在应用程
序栏中,单击以管理员身份运行。
• 在 Windows Server 2003、2008 或 Windows Small Business Server 2011 中,单击开始,键入
PowerShell,右键单击 Windows PowerShell,然后单击以管理员身份运行。
4.
在设备上相应设置 PowerShell 执行策略。例如键入以下命令:Set–ExecutionPolicy
RemoteSigned 或 Set-ExecutionPolicy AllSigned。
5. 使用以下语法在此设备上运行脚本文件:<script file path> –hosts <IP address of
server on which SupportAssist is installed>。例如:./WindowsSNMPConfig.ps1 –
hosts 10.55.101.20。
6. 如果 Verisign 在此设备上没有作为受信任的发布者包含在内,此时如要从非信任的发布者运行软件,将
提示您进行确认。 按 <R> 将运行脚本。
27