<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://vwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=Template%3APowerShell_Credentials_Files</id>
	<title>Template:PowerShell Credentials Files - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://vwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=Template%3APowerShell_Credentials_Files"/>
	<link rel="alternate" type="text/html" href="http://vwiki.co.uk/index.php?title=Template:PowerShell_Credentials_Files&amp;action=history"/>
	<updated>2026-05-20T09:40:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>http://vwiki.co.uk/index.php?title=Template:PowerShell_Credentials_Files&amp;diff=1914&amp;oldid=prev</id>
		<title>Sstrutt: Initial creation</title>
		<link rel="alternate" type="text/html" href="http://vwiki.co.uk/index.php?title=Template:PowerShell_Credentials_Files&amp;diff=1914&amp;oldid=prev"/>
		<updated>2012-05-08T09:13:43Z</updated>

		<summary type="html">&lt;p&gt;Initial creation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This above script uses two files (&amp;lt;code&amp;gt;$UserFile&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$PassFile&amp;lt;/code&amp;gt;) to provide authentication credentials to the script without needing the password to exist in unencrypted plain text.  To create your own see the script at the bottom of the [[Credentials_(PowerShell)#Store_Password_Securely|Store Password Securely]] section.&lt;br /&gt;
&lt;br /&gt;
Alternatively, remove/comment out the lines that reference the &amp;lt;code&amp;gt;$UserFile&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$PassFile&amp;lt;/code&amp;gt; variables and use the following line to create the &amp;lt;code&amp;gt;$cred&amp;lt;/code&amp;gt; variable instead...&lt;br /&gt;
&amp;lt;source lang=&amp;quot;powershell&amp;quot;&amp;gt;&lt;br /&gt;
$cred = Get-Credential&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sstrutt</name></author>
	</entry>
</feed>