Search found 210 matches

by ITEngineer
Tue May 29, 2018 6:28 am
Forum: PowerShell
Topic: Exporting the ResolveDNS to CSV ?
Replies: 5
Views: 1477

Exporting the ResolveDNS to CSV ?

Resolve-DNS-Export.PS1 Hi All, Based on the built-in PowerShell command Resolve-DnsName -Name bing.com -Type NS -DnsOnl I need some help in fixing or modifying my PowerShell script below to perform: 1. Get the public IP address of the domain names in the .TXT file (or .CSV) 2. Get the DNS server re...
by ITEngineer
Mon May 28, 2018 12:15 am
Forum: PowerShell
Topic: Need some help in debugging the PowerShell code to set email signature ?
Replies: 8
Views: 1941

Re: Need some help in debugging the PowerShell code to set email signature ?

Mr. Vierra,

Yes, that does make sense.
Thanks for the sharing and the reply on this thread, I appreciate it muchly. :)
by ITEngineer
Fri May 25, 2018 8:30 am
Forum: PowerShell
Topic: Need some help in debugging the PowerShell code to set email signature ?
Replies: 8
Views: 1941

Re: Need some help in debugging the PowerShell code to set email signature ?

When posting large bits of code please post as an attached file. I have given you the correct answer for this task twice now. Why do you keep going back to the old Office method that was never correct to begin with? the attached method is working except that little annoying bit which display the em...
by ITEngineer
Fri May 25, 2018 8:04 am
Forum: PowerShell
Topic: Need some help in debugging the PowerShell code to set email signature ?
Replies: 8
Views: 1941

Need some help in debugging the PowerShell code to set email signature ?

Hi People, I have the below PowerShell code to set the email signature in Outlook, but somehow there is one issue/bug that is still persisting. $templateFile = '\\domain.com\SYSVOL\domain.com\scripts\My Custom Signature.docx' $templateFileNoMobile = '\\domain.com\SYSVOL\domain.com\scripts\My Custom ...
by ITEngineer
Thu May 17, 2018 12:44 am
Forum: PowerShell
Topic: Modifying PowerShell script to change the Font type and size ?
Replies: 10
Views: 4948

Re: Modifying PowerShell script to change the Font type and size ?

This is how it looks like on the MS Word .DOTX when opened with Word2016 as well as on the Outlook 2016:

Image
by ITEngineer
Thu May 17, 2018 12:20 am
Forum: PowerShell
Topic: Modifying PowerShell script to change the Font type and size ?
Replies: 10
Views: 4948

Re: Modifying PowerShell script to change the Font type and size ?

Wow, that's cool. So how do you layout and place the Bookmark? This is my updated code for the bookmark: # create word document $WordDoc = New-Object -ComObject Word.Application $doc = $WordDoc.Documents.Add('\\PRDFS01-VM\EmailSignature\Default Outlook Signature.dotx') $props=@( 'company', 'l', 'dis...
by ITEngineer
Tue May 15, 2018 8:50 pm
Forum: PowerShell
Topic: Modifying PowerShell script to change the Font type and size ?
Replies: 10
Views: 4948

Re: Modifying PowerShell script to change the Font type and size ?

It is the same script I posted on the MS forum. You just have to define the correct bookmarks that you want and alter the script to set those bookmarks by name. Be sure the book marks covers the whole range of the text to be replaced. This is done in the template by highlighting the text and defini...
by ITEngineer
Tue May 15, 2018 7:49 pm
Forum: PowerShell
Topic: Modifying PowerShell script to change the Font type and size ?
Replies: 10
Views: 4948

Re: Modifying PowerShell script to change the Font type and size ?

Hi Mr. Vierra,

Would you be able to share the script here please ?
by ITEngineer
Tue May 15, 2018 6:27 pm
Forum: PowerShell
Topic: Modifying PowerShell script to change the Font type and size ?
Replies: 10
Views: 4948

Modifying PowerShell script to change the Font type and size ?

People, I need some help in modifying the below Set-Outlook-Signature.ps1 that is from https://github.com/a118n/poweradmin/blob/master/Set-Outlook-Signature/Set-Outlook-Signature.ps1 So I can adjust the email font template to below: Font Type: Consolas Font Size: 12 Font Colour: Blue I manually crea...
by ITEngineer
Mon Mar 07, 2016 4:49 am
Forum: PowerShell
Topic: Unable to display Mailbox size in Exchange server script ?
Replies: 5
Views: 2087

Re: Unable to display Mailbox size in Exchange server script ?

You cannot convert a de-serialized ByteQuantifiedSize because it gets converted to a string. $si.TotalItemSize.value -match '\((.*)bytes\)' [int64]($matches[1]) :?: Yes, the code still nor working: $xDays = 180 Get-Mailbox -ResultSize Unlimited -RecipientTypeDetails UserMailbox | Foreach-Object { $...