<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.1701technology.com/index.php?action=history&amp;feed=atom&amp;title=Powershell_Generate_Outlook_Signature</id>
	<title>Powershell Generate Outlook Signature - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.1701technology.com/index.php?action=history&amp;feed=atom&amp;title=Powershell_Generate_Outlook_Signature"/>
	<link rel="alternate" type="text/html" href="https://wiki.1701technology.com/index.php?title=Powershell_Generate_Outlook_Signature&amp;action=history"/>
	<updated>2026-05-06T15:59:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.1701technology.com/index.php?title=Powershell_Generate_Outlook_Signature&amp;diff=520&amp;oldid=prev</id>
		<title>Michael.mast: Created page with &quot;Needed to create a standard signature for everyone. This generates the basic framework, but there is more work to be done. Still need to create the html version with formattin...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.1701technology.com/index.php?title=Powershell_Generate_Outlook_Signature&amp;diff=520&amp;oldid=prev"/>
		<updated>2017-09-21T22:06:45Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Needed to create a standard signature for everyone. This generates the basic framework, but there is more work to be done. Still need to create the html version with formattin...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Needed to create a standard signature for everyone. This generates the basic framework, but there is more work to be done. Still need to create the html version with formatting.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
A base file should be created similar to the following. Though not necessary, it will make it easier to modify the base template if someone complains about placement.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-&lt;br /&gt;
USERNAME&lt;br /&gt;
COMPANY&lt;br /&gt;
TITLE&lt;br /&gt;
PHONE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ErrorActionPreference='silentlycontinue'&lt;br /&gt;
$users=get-aduser -Filter {(Enabled -eq &amp;quot;True&amp;quot;) -and (mail -ne &amp;quot;$NULL&amp;quot;)}&lt;br /&gt;
ForEach ($i in $users)&lt;br /&gt;
{&lt;br /&gt;
$userinfo=get-aduser -Identity $i -Properties mail,telephoneNumber,Title,company | select telephoneNumber,Name,Title,company&lt;br /&gt;
$name=$userinfo | select -ExpandProperty name&lt;br /&gt;
$filename=$name -replace &amp;quot; &amp;quot;,&amp;quot;.&amp;quot;&lt;br /&gt;
$title=$userinfo | select -ExpandProperty title&lt;br /&gt;
$email=$userinfo | select -ExpandProperty mail&lt;br /&gt;
$phone=($userinfo | select -ExpandProperty telephonenumber).insert(6,&amp;quot;.&amp;quot;).insert(3,&amp;quot;.&amp;quot;)&lt;br /&gt;
$company=$userinfo | select -ExpandProperty company&lt;br /&gt;
#echo $name&lt;br /&gt;
$file=Get-Content C:\test\basesig.txt&lt;br /&gt;
$file -replace 'USERNAME',$name -replace 'TITLE',$title -replace 'PHONE',$phone -replace 'COMPANY',$company | Out-File c:\test\&amp;quot;$filename&amp;quot;_sig.txt&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Remove-Variable userinfo&lt;br /&gt;
Remove-Variable name&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Michael.mast</name></author>
		
	</entry>
</feed>