Unsolved
This post is more than 5 years old
6 Posts
0
10595
April 30th, 2012 16:00
Doing Script Automation Securely (encryp password) Connect-EqlGroup
Is there a better way to initiate a powershell session with a Dell storage group other than:
Connect-EqlGroup -GroupAddress 1.1.1.1 -Credential (Get-Credential)
I am trying to think of a simple way to report on volume size and pool size throughout the day and spit the info out to a mailbox. This can be done via powershell scripting and scheduled tasks, but....
My concerns are:
- The powershell user must be a group admin, rather than a read-only account that can report via powershell. Therefore I am concerned about keeping this account secure.
- The password must be entered manually (not an option for automation), or placed in the script in plain text (very insecure).
Any suggestions?
No Events found!



Joe S586
7 Technologist
•
729 Posts
0
May 1st, 2012 11:00
I came accross this post about automating the login credential for the Microsoft PowerShell command "get-credential" cmdlet.
blogs.technet.com/.../powershell-tip-storing-and-using-password-credentials.aspx
Not sure how effective it will be though.
-joe