Execute Powershell commands via Node.js, REST, AngularJS

Building on my last post on stateful-process-command-executor this post will cover how you can leverage that node.js module to expose the capabilities of Powershell cmdlets over a REST api presented through an AngularJS interface.  Why would one want to do this you ask? Well I've covered this in my last post but I will briefly … Continue reading Execute Powershell commands via Node.js, REST, AngularJS

Encrypting and storing powershell credentials

Please see: https://github.com/bitsofinfo/powershell-credential-encryption-tools Recently I had the need to store some credentials for a powershell script (i.e. credentials that I ultimately needed in a PSCredential object). The other requirement is that these credentials be portable and "user" independent, meaning that they could not be encrypted using the DPAPI (windows data protection api) as that binds … Continue reading Encrypting and storing powershell credentials