Copyright (C) Intel Corporation, 2011 - 2021 All Rights Reserved.

Intel(R) Active Management Technology (Intel(R) AMT):
A short description of the Redirection Configuration sample for developers usage

Redirection Configuration sample application:
-----------------------------------
This sample application demonstrates how to use the WS-MAN interface to perform 
Redirection configuration flows.


Logical explanation of the options that display MEBx state:
-----------------------------------------------------------

In order to check if SOL is enabled in the MEBx we perform the following steps:
1) Get the current SOL and IDER state.
2) Try to change ONLY SOL/IDER state.
3) Check the result:
   In order to perform any redirection command, SOL must be enabled in the MEBx. 
    - If the state change succeeded it means that SOL is enabled in the MEBx.
    - If the state change failed it means that SOL is disabled in the MEBx.
      (There is a low possibility that the failure would be due to Auditlog/
	  flash ware out state - in that case we hope to get a correct error message
	  , but  the MEBx state displayed would be: disable)
4) Rollback to the previous SOL and IDER states.

How to run the sample:
----------------------
1. Open "RedirectionConfig.csproj" in Microsoft Visual Studio* and build the
   project. An output file "RedirectionConfig.exe" should be created.
2. Make sure that Intel.Wsman.Scripting.dll is located in the same place as the
   RedirectionConfig.exe" file.
3. Make sure that the Intel(R) AMT device has been activated on the target
   machine. 
4. Use the generated executable as described in the command usage (type the 
   command to get the usage instructions).

Notes:
------
1. This sample uses the Intel.Wsman.Scripting library.

-------------------------------------------------------------------
* Other names and brands may be claimed as the property of others.
