Menu

Skip to content
  • Home
  • Media
  • Privacy Policy
  • About me

encrypt

Encrypt passwords in powershell scripts

Posted on September 21, 2015September 20, 2015 by Luca Dell'Oca 2 Comments

In powershell, in order to use credentials to authenticate against different systems you have different options. When running scripts interactively, we can configure the powershell command to ask us for username and password, but saving passwords in clear text into a script is a bad security practice. Powershell however has a way to hide passwords in commands and scripts.

Search

Sponsors

Latest posts

  • A first look at the new Veeam SOSAPI
  • Create a S3 Bucket with Object Lock in Scality Artesca for Veeam
  • Back to blogging, with a new object-ive!
  • Run your small DNS server with MaraDNS
  • Veeam Backup for GCP and Multi-tenancy
  • Home
  • Media
  • Privacy Policy
  • About me
creative commonswww.virtualtothecore.com @ all right reserved.
This work by Luca Dell'Oca is licensed under a Creative Commons Attribution - Non Commercial - No Derivs 3.0 Unported
0 Flares Twitter 0 Facebook 0 LinkedIn 0 Email -- 0 Flares ×