Novell Home

Stream File Utilities

Novell Cool Solutions: Trench
By Rick Laughinghouse

Digg This - Slashdot This

Posted: 6 Jun 2002
 

Stream File Utilities simplify stream file attribute management. Stream file attributes include Login Scripts, and many ZENworks object attributes ie. 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.

RLSTRSHW v1.0 for NDS

Shows an NDS object's stream attribute value from a command line.

RLSTRSHW Object AttrName

Object -- Distinguished name of an object.
AttrName -- NDS attribute to display.
/? Help -- Displays Help.

Examples:

RLSTRSHW .Object.OU.O AttrName
RLSTRSHW .ParkingGarage.OU.O "Login Script"
RLSTRSHW Jerry "Login Script"
RLSTRSHW .NWAdmin32.ZEN.OU.O "App:Copy Files"

Download rlstrshw.zip


RLSTRSRC v1.0 for NDS

Searches and replaces a NDS object's stream attribute value from a command line.

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.

Examples:

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

Download rlstrsrc.zip


RLSTRSYN v1.0 for NDS

Synchronizes a NDS Object's stream attribute value from a command line.

RLSTRSYN SrcObject DestObject AttrName

SrcObject -- Distinguished Name of the NDS Object to copy the stream value from.
B DestObject -- Distinguished Name of the NDS Object to copy the stream value to.
AttrName -- NDS attribute to synchonize.
/? Help -- Displays Help.

Examples:

RLSTRSYN .Object.OU.O .DestObject.OU.O AttrName
RLSTRSYN .ParkingGarage.OU.O .Downtown.OU.O "Login Script"
RLSTRSYN .Jerry.OU.O Elaine "Login Script"
RLSTRSYN Kramer Newman "Login Script"
RLSTRSHW .NWAdmin32.ZEN.OU1.O .NWAdmin32.ZEN.OU2.O "App:Copy Files"

Download rlstrsyn.zip


Future updates and additional documentation will be available at: www.geocities.com/rick_laughinghouse


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell