Search found 145 matches

by ITEngineer
Wed Jun 06, 2018 5:11 pm
Forum: Windows PowerShell
Topic: Exchange PowerShell Unable to export list to CSV ?
Replies: 15
Views: 1654

Exchange PowerShell Unable to export list to CSV ?

Hi, I have modified this script to take multiple inputs from trackingemail.csv to count the statistics for the external email that was delivered in the past 1 day. $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://PRODMAIL01-VM/PowerShell/ -Authentication Kerberos ...
by ITEngineer
Mon Jun 04, 2018 4:08 am
Forum: Windows PowerShell
Topic: Exporting the Get-EventLog to .CSV ?
Replies: 3
Views: 961

Re: Exporting the Get-EventLog to .CSV ?

Start with:' ]b]help Get-WinEvent -online[/b] Read the Examples very carefully. OK, I then come up with the below modified script: Get-ADComputer -LDAPFilter "(&(objectCategory=computer)(userAccountControl:1.2.840.113556.1.4.803:=8192))" | ForEach-Object { "Processing $($_.DNSHostName) ..." | Write...
by ITEngineer
Mon Jun 04, 2018 12:41 am
Forum: Windows PowerShell
Topic: Exporting the Get-EventLog to .CSV ?
Replies: 3
Views: 961

Exporting the Get-EventLog to .CSV ?

People, I need some assistance here to modify the below PowerShell script to pull some information from the Security EventLog ID 4624, 4625, 4723 and 4724... using the below PowerShell script: Get-ADComputer -LDAPFilter "(&(objectCategory=computer)(userAccountControl:1.2.840.113556.1.4.803:=8192))" ...
by ITEngineer
Wed May 30, 2018 1:46 am
Forum: Windows PowerShell
Topic: Exporting the ResolveDNS to CSV ?
Replies: 5
Views: 978

Re: Exporting the ResolveDNS to CSV ?

Is this what you are trying to ask? $fqdn = 'bing.com' Resolve-DnsName -Name $fqdn -Type NS -DnsOnl| Where{$_.Address} | select @{n='DomainName';e={$fqdn}},@{n='PublicIP';e={$_.IpAddress}},@{n='DNSServer';e={$_.Name}} Yes, exactly, so the input will be the CSV file containing 55 domains.
by ITEngineer
Tue May 29, 2018 10:02 pm
Forum: Windows PowerShell
Topic: Exporting the ResolveDNS to CSV ?
Replies: 5
Views: 978

Re: Exporting the ResolveDNS to CSV ?

Yes, that does make sense guys.

I will try to create the object and repost here if I need some scripting help again.

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

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: Windows PowerShell
Topic: Need some help in debugging the PowerShell code to set email signature ?
Replies: 8
Views: 1057

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: Windows PowerShell
Topic: Need some help in debugging the PowerShell code to set email signature ?
Replies: 8
Views: 1057

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: Windows PowerShell
Topic: Need some help in debugging the PowerShell code to set email signature ?
Replies: 8
Views: 1057

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: Windows PowerShell
Topic: Modifying PowerShell script to change the Font type and size ?
Replies: 10
Views: 2755

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