Usage:RLSTRSRC Object AttrName SearchStr ReplaceStr [/D1]
Object -- Distinguished Name of the NDS Object to search.
AttrName -- The object's stream attribute to search.
SearchStr -- String to search for in the stream attribute value.
ReplaceStr -- String that replaces the search string OR [/S] switch.
[/S] Searches and displays the number of times the search string is found. NO changes are made to the stream attribute.
/D1 - Displays the stream value with changes that would be made. NO changes are made to the stream attribute (Debug Mode).
/? Help -- Displays Help.
RLSTRSRC .Object.OU.O AttrName SearchStr ReplaceStr
RLSTRSRC .Hamptons.OU.O "Login Script" "MAP ROOT" "MAP R"
RLSTRSRC Jerry "Login Script" "Good Morning" "Yada Yada Yada"
RLSTRSRC BubbleBoy "Login Script" "GOTO" /S
RLSTRSRC Kramer "Login Script" "Nothing" "NOTHING" /D1
Stream file attributes include Login Scripts, and many ZENworks object attributes (i.e., App:Registry Settings, App:Copy Files, and App:INI Settings.) Stream File utilities will display the contents of a stream file, search and replace stream files, and synchronize stream files between objects.
Also see also RLSTRSHW v1.1 for NDS, which shows an NDS object's stream attribute value from a command line, and RLSTRSYN for NDS, which synchronizes an NDS Object's stream attribute value from a command line.