No, I have never used it.
All I can say is that the $_POST array will not have a key like that so why are you doing that.
This is not a WAMPServer issue so this is not the right place to ask the question.
This is a 'I dont know how to code this PHP syntax' question.
You are going to have to do some of your own research with google.
Alternatively ask the question on StackOverflow.
I might give this a try though:
$CMD = 'powershell -command C:\wamp\www\Badge\scripts\badge.ps1 ' . $_POST['number'] . ' 2>&1';
---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>Read The Manuals Apache --
MySQL --
PHP --
phpMyAdminGet your Apache/MySQL/mariaDB/PHP ADDONs here from the
WAMPServer alternate Repo-X-X-X-
Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-