![]() ![]() It’s also important to underscore the importance of an accurate directory in this exercise. For this to work in production, you’d have to make sure that the script called the Connect-AzureAD cmdlet to connect to Azure Active Directory and add a pile of error checking and other essential pieces. The resulting signature is pretty nice (Figure 1), and I am happy with it, even if the code to generate the signature is a bit kludgy. If ($Profiles -eq $Null -or $Profiles.Count -ne 1) # This script can only deal with a single (default profile) more code needed to handle multiple profiles $Profiles = (Get-ChildItem HKCU:\Software\Microsoft\Office\16.0\Outlook\Profiles).PSChildName This means that users can’t update signatures themselves, but it was an OK workaround given limited time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |