Using command line instead of powershell in an actionscript

Team.

We are in the process of testing some fixlets to be deployed on our Win10 environment. On our organization, powershell must be disabled therefore we can not use powershell.
Is it possible to use the cmd instead of the powershell in the action script?
For example: Deploying Win11, the actionscript has the following lines:
appendfile FOR /F “skip=3” %%I IN ('powershell.exe “Get-DiskImage “””%WindowsISO%"""

From my undestarnding ,it will callout and open powershell.exe, is it possible to replace it with cmd?

That doesn’t seem likely. As far as I know there’s no CMD equivalent to the “Get-DiskImage” cmdlet.
If PowerShell must remain completely disabled in all cases, you’re likely to lose a lot of core Windows functionality.