The command works without a hitch when I use it in Terminal.
Best answer by stevewood
Change your variable quotes from single quotes to grave marks. Grave marks are the button next to the number 1 button on your keyboard. And you will want to add a space after echo.
Change your variable quotes from single quotes to grave marks. Grave marks are the button next to the number 1 button on your keyboard. And you will want to add a space after echo.
Thanks Steve! That fixed the issue for me. Mike, using the SPDisplayDataType is indeed much faster and I do believe I will use this instead of -detaillevel mini. Thanks to both of you!