# IPMI-модуль
$IPMI_TOOL_PATH = "C:\GP\IPMI\SMCIPMITool_2.6.5"
Set-Location $IPMI_TOOL_PATH
$IPMI_TOOL_FULL_PATH = "$IPMI_TOOL_PATH\SMCIPMITool.exe"
$IPMI_TOOL_BASE_ARGUMENTS = "{0} {1} {2} user"
$IPMI_TOOL_CREATE_USER_ARGUMENTS = "$IPMI_TOOL_BASE_ARGUMENTS add 3 {3} {4} {5}"
$IPMI_TOOL_DELETE_USER_ARGUMENTS = "$IPMI_TOOL_BASE_ARGUMENTS delete 3"
$IPMI_TOOL_LAN_BASE_ARGUMENTS = "{0} {1} {2} ipmi lan"
$IPMI_TOOL_ADD_IP_ARGUMENTS = "$IPMI_TOOL_LAN_BASE_ARGUMENTS ip {3}"
$IPMI_TOOL_SET_VLAN_ARGUMENTS = "$IPMI_TOOL_LAN_BASE_ARGUMENTS vlan enabled {3}"
$IPMI_TOOL_DISABLE_VLAN_ARGUMENTS = "$IPMI_TOOL_LAN_BASE_ARGUMENTS vlan disabled"
$IPMI_TOOL_BASE_SERVER_ARGUMENTS = "{0} {1} {2} ipmi power"
$IPMI_TOOL_SERVER_RESTART_ARGUMENTS = "$IPMI_TOOL_BASE_SERVER_ARGUMENTS reset"
$IPMI_TOOL_SERVER_START_ARGUMENTS = "$IPMI_TOOL_BASE_SERVER_ARGUMENTS up"
$IPMI_TOOL_SERVER_STOP_ARGUMENTS = "$IPMI_TOOL_BASE_SERVER_ARGUMENTS down"

#SMCIPMITool.exe 172.21.42.5 ADMIN ADMIN user add 3 user2 psw 2