46,175 questions
In JMeter, you can use the "JSR223 Sampler" to invoke a PowerShell script. This can be done by selecting the "JSR223 Sampler," choosing the language as "groovy," and then writing the necessary code to execute the PowerShell script.