I am trying to use ARD3 to send a script to report back to me all System Profiler data.
So far I have this:
tell application “System Profiler”
system profile
end tell
The above opens System Profiler and accesses all data in System Profiler, but I cant seem to figure out how to export to a file, or report the data back to me from a remote machine with ARD3.
Why not write it to a file and then move or duplicate the file:
set f to open for access (path to desktop as text) & "SysProfile" with write permission
tell application "System Profiler" to set sp to system profile
write sp to f
close access f
This results in a file on the desktop of the machine running the script.
[Afterthought: SysProfiler is extremely slow. If you are more specific about what you want to know from the other system, there are some scripts for finding bits and pieces of what SysProfiler returns.]