How do I make the folder recognizable when it is using space between the folder name on the command terminal or the Windows PowerShell prompt?

You should rather use Dashboard api to check number of audits.