Batch push OUTLOOK signatures in domain environment
The company uses a new email signature, and all users need to update it. Since the mailbox is an outsourced enterprise mailbox, it is over to modify this method on exchange. After checking the Microsoft documents, the default storage path of outlook signature is C:\ Users\ user name\ AppData\ Roaming\ Microsoft\ Signatures. Since there is a default path, it is easy. We can copy the standard signature directly to this path. Then the user can manually modify his personal information.
First of all, I create a new signature on my outlook according to the new email signature format.
Then find the location of the signature and copy all the files related to the signature to a shared folder. The shared folder must be readable by everyone. I will copy the files directly to\ Domain\ SYSVOL\ Domain\ scripts\ OutlookSignature.
Next, we need to write a script to copy the signature files in the shared folder directly to the signature file storage path of each client. I plan to use the powershell script, and then use the group policy to execute the script when the user logs in. The script program is as follows:
$Path= "$Env:APPDATA" + "\ Microsoft\ Signatures"
If ((Test-Path $Path)-ne $True)
{
New-Item $path-type directory
}
Copy-Item-Path "\ test.com\ SYSVOL\ test.com\ scripts\ OutlookSignature*"-Recurse-Destination $Path-ErrorAction SilentlyContinue
The Group Policy push is as follows:
Then go to the client to test, use gpupdate / force to strongly brush the group policy, log in again after logging out, open outlook, and then switch to the set location of the signature. We can see that the signature file we need appears in the user's signature. If there is no signature, check whether the client has obtained and applied the group policy.