Difference between revisions of "Power Shell"

Jump to navigation Jump to search
169 bytes added ,  09:00, 16 January 2010
→‎Credentials: Added "ConvertTo-SecureString"
m (→‎Installed Version: Minor updates)
(→‎Credentials: Added "ConvertTo-SecureString")
Line 53: Line 53:


== Credentials ==
== Credentials ==
=== Get-Credential ===
When running commands that require a connection to a remote machine its useful to be able to store a user/pass combination so that you aren't repeatedly prompted every time you run a command.  Create a credential object, then supply that in place of a username in a command
When running commands that require a connection to a remote machine its useful to be able to store a user/pass combination so that you aren't repeatedly prompted every time you run a command.  Create a credential object, then supply that in place of a username in a command


Line 71: Line 72:
</pre>
</pre>


=== ConvertTo-SecureString ===
* http://technet.microsoft.com/en-us/library/dd819512.aspx
* Converts encrypted standard strings to secure strings


== WMI ==
== WMI ==

Navigation menu