DEMO
Try it for free and convert your first PSM1 module
With the demo mode you have the possibility to test the PS Protector for free. If you have questions or problems, please contact our support, we are happy to help.
Limitations
With the demo account only PSM1 modules can be converted, which do not contain more than 200 characters. In this case, a message will be displayed and the file will not be converted:
Example.psm1 Code
The following PowerShell code serves as an example which you can use. Paste this code into a PSM1 file:
1 2 3 4 5 6 |
Function Write-PSProtector() { Write-Host "https://www.psprotector.com" } Export-ModuleMember -Function * -Alias * |
Convert and Use
Convert the PSM1 file according to “How To Use” instructions. Afterwards you can load and use the module. Example:
1 2 3 4 5 |
# Load PowerShell Module Import-Module "C:\PSProtector.com\Example.psm1" # Call Test Function Write-PSProtector |