Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There is no direct way to convert an AnyDesk CMD file to a PS1 file as they are written in different scripting languages. AnyDesk CMD files are written in Windows command prompt scripting language while PS1 files are written in PowerShell scripting language.

However, you can open the AnyDesk CMD file in a text editor, copy the commands and paste them into a new PS1 file. Then, modify the commands to match the syntax of PowerShell.

For example, to run a command in a CMD file:

dir C:\Users

You would need to modify it for the PowerShell syntax as follows:

Get-ChildItem -Path C:\Users

Repeat this process for all commands in your AnyDesk CMD file and save the PS1 file.