Inspec PowerShell Multiple Lines Wrapping

So I am using Inspec and I am putting in a PowerShell code which in one line works but because its lengthy, I decided to use PowerShell back-tick (`) to break it into readable code. If I try the code in PowerShell, as-is, using back-ticks after breaking the code into multiple lines, it works but in Inspec using PowerShell resource, I get an error. How can I break a long PowerShell code in Inspec?

Nvm, it wasnt Inspec or Ruby DSL, it was me not writing the code properly. It reads multilines fine.