I have here a Read-Variable
command that will make you select any content folder.
$root= Get-Item master:\content\home
$selectFolder= Read-Variable -Parameters
@{ Name = "root"; Title="Start Item"; Root="/sitecore/content/"}
-Description "This Dialog shows less editors, it doesn’t need tabs as there is less of the edited variables"
-Title "Initialise various variable types (without tabs)" -Width 500 -Height 480 -OkButtonName "Proceed" -CancelButtonName "Abort"
Now, I want to get the descendants of the folder selected above that are based on this template id {FF24F59C-E4B4-4130-A119-036A02B3543B}
using fast query.