Quantcast
Channel: Nico Martens – Blog by Nico Martens
Viewing all articles
Browse latest Browse all 13

Encrypting your text-based files using PowerShell

$
0
0

Hi folks,

It has been a while since my last post, but here it is.

Please find the script in the TechNet Gallery here. All updates to this script will also be managed here: https://gallery.technet.microsoft.com/Encrypting-your-text-based-d939876b.

As a SharePoint administrator I am often asked to script certain tasks. Of course, PowerShell does a great job at this, as it allows me to automate repetitive tasks.

One commonly faced issue (for me), is that whenever I am using a XML file for those tasks, I sometimes have to include a password in the XML file for some scripts to run. An example is AutoSPInstaller. Personally, I don’t think you should have your passwords in an unencrypted XML file just sitting around for some developer to find and possibly abuse it. To work around this, I created some scripts to help me address this issue.

 

 



Viewing all articles
Browse latest Browse all 13

Trending Articles