Viewing 15 posts - 196 through 210 (of 348 total)
I tried that already.Did not work
PS H:\> $File = gci \\abcd\efgh\ijkl | select -last 1
PS H:\> $From = "abcd@gmail.com"
PS H:\> $To = "defg@gmail.com"
PS H:\>...
June 4, 2018 at 10:31 pm
It did not work
$File = "gci \\abcd\efgh\ijkl | select -last 1"
$From = "abcd@gmail.com"
$To = "efgh@gmail.com"
$Attachment = $File
$Subject = "Here's the Email Subject"
$Body =...
June 4, 2018 at 7:44 am
I tried that..it does not work.
It starts searching from the directory I am running the code from.
Send-MailMessage : Could not find file 'H:\files_06-04-2018_02-40-08.html'
My files exists in...
June 4, 2018 at 3:42 am
I have update my query.
=iif((Fields!DBName.Value <> "tempdb") OR Fields!State_desc.Value = "ONLINE"
AND IsNothing(Fields!Physical_device_name.Value) AND DateAdd("d", 1, Fields!Last_db_backup_date) < Now(),"Orange", "LightGreen")
Can you please check if the reasoning and query...
May 4, 2018 at 1:00 am
Noted.
I was able to export the AD's this way
Get-ADUser -Filter *|select GivenName,Name,Enabled,SID | out-file output.txt
How do I remove the headers and make this file into...
April 9, 2018 at 6:14 am
This piece of code works perfectly well when I run in powershell-sends an email along with the attachment.But when I schedule it in a task scheduler it does send an...
January 2, 2018 at 11:50 pm
June 28, 2017 at 10:58 pm
June 15, 2017 at 11:36 am
I need server size difference for any 2 dates which are 30 days apart.
The query posted is giving me an empty set.
May 18, 2017 at 12:07 am
The code works.The issues was with the task scheduler.
How do I cc in the above code.Right now I can only send the mail to 1 recipient.I would like ...
April 8, 2017 at 10:40 am
March 16, 2017 at 4:08 am
How I do find all the jobs which have failed today and the failed job when they ran the last time they were scheduled.
Ex 1:All jobs if scheduled today...
November 10, 2016 at 11:03 pm
Viewing 15 posts - 196 through 210 (of 348 total)