Hi Alexander,
I have included below an excerpt taken from the Inventory Manager guide (page 68) that references the current variables that can be used. We could open up a new functionality request for you to add this feature in a future version of the product.
--
There are five NetSight system-defined variables that can be used in a script (however, not in a pre-script or a post-script). These variables are resolved by the NetSight Command Script service:
%DEVICEIP% - The IP address of the currently selected device.
%LOGINUSER% - The login username configured in the Profile of the selected device.
%LOGINPSWD% - The login password configured in the Profile of the selected device.
%ENABLEPSWD% -The enable password configured in the Profile of the selected device.
%CONFIGPSWD% - The config password configured in the Profile for the selected device.