Search found 5 matches
- Fri Feb 10, 2017 10:37 am
- Forum: PowerShell
- Topic: Obfuscate script code when generating an EXE?
- Replies: 2
- Views: 2307
Obfuscate script code when generating an EXE?
So, we have a section in the code that creates a PSCredential for the rest of the code to use. The person who wrote it put the username and password in the clear in the code. I am wondering if it is possible to obfuscate the code so that the login cred will be protected?
- Tue Jan 31, 2017 1:05 pm
- Forum: PowerShell Studio
- Topic: EXE not working with Import-Module
- Replies: 3
- Views: 1999
Re: EXE not working with Import-Module
Thank you both! I followed the instructions provided, and they partially resolved the problem. I can run the EXE from explorer, and it works correctly. However, it would not run in the scheduled task. After more troubleshooting, I decided to delete the scheduled task and recreate it. Doing this then...
- Tue Jan 31, 2017 10:15 am
- Forum: PowerShell Studio
- Topic: EXE not working with Import-Module
- Replies: 3
- Views: 1999
EXE not working with Import-Module
Pwoershell Studio 5.4.134 in Sapien Studio 64 bit 64 bit OS PowerShell Version: v5, v3 same result I've got a script that loads the active directory module. It then uses it to make changes to AD objects. This works fine when I run it in PS Studio, in an Powershell window, and at the DOS prompt. BUT,...
- Thu Jan 26, 2017 9:10 am
- Forum: PowerShell Studio
- Topic: Import-Module embed in EXE?
- Replies: 1
- Views: 2006
Import-Module embed in EXE?
Product, version and build: Powershell Studio 2017 (Sapien Studio 2017) 5.4.134 (*** Please do not write "latest" as a version, specify a version number ***) 32 or 64 bit version of product: 64 Operating system: 32 or 64 bit OS: 64 Server 2012R2 PowerShell Version: PSv3 for backward compat...
- Wed Feb 03, 2016 6:28 am
- Forum: PowerShell
- Topic: Write a service in powershell
- Replies: 1
- Views: 2984
Write a service in powershell
I need to do some testing with a service. I'm wondering if it is possible to write a service with the appropriate handlers in powershell?