I am just starting out with kix and I need some help with a shell function. I have tried this every way till sunday. I am trying to build the shell string first.

$ShellAd = "dsquery user -samid @USERID | dsget user -profile"
Shell $ShellAd

I can not get this to execute. Any idead?

Thank you in advance
Mike