Save
Saving
  • W
    Waqkas Ahmed

    @Mike-Rodrick So I have found the following script;

    $When = ((Get-Date).AddDays(-365)).Date
    Get-ADUser -Filter {whenCreated -ge $When} -Properties whenCreated

    I was wondering, how can I edit to just find specific dates, e.g. from Feb/2018 to Feb/2019

    posted in Microsoft read more
  • W
    Waqkas Ahmed

    @Mike-Rodrick Thanks for the script.

    I have just tested the second script and though it shows a number, it doesn't seem to be correct regarding how many users were created.

    Is this script resulting more than just users maybe? Also, is there a way to find out how many users we had for the end of the total year?

    Thanks

    posted in Microsoft read more
  • W
    Waqkas Ahmed

    Hi All, I was wondering, is there a way to find out the history how many users were created in Active Directory for a specific year, Or is there a third party tool that can achive this?

    Thanks

    posted in Microsoft read more
  • W
    Waqkas Ahmed

    @Mike-Rodrick Yes, I tried that but still prompts for admin User and Password.

    posted in Microsoft read more
  • W
    Waqkas Ahmed

    Hi All, I was looking to grant specific doamin Power Users access to change date and time of their machines.
    I have made the relevant changes in GPO > Local Policies > User Rights Assignment > Allowed user in 'Change the system time'

    I have update the policy, rebooted machine and the user still cannot change date and time.

    Any ideas?

    posted in Microsoft read more
  • W
    Waqkas Ahmed

    Hi All, We are looking to encrypt our Windows 10 Home machines. I was wondering is there any free Bitlocker tools we can use with the recovery key option?

    posted in Microsoft read more
  • W
    Waqkas Ahmed

    @Ronnie-Wong I have just setup a PowerShell script that will send the email alert with attachment.

    I have tested this in our enviroment and works fine. When trying the script in a different network, seem to get the below issue;

    SMTP Authentication "5.7.1 Client was not authenticated"

    Following is the script;

    $fromaddress = "perf_alert@domain.com"
    $toaddress = "user@domain.com"
    $subject = "Monitor Alert"
    $body = "please find attached - Alert"
    $attachment = "C:\PerfLogs\Admin\New Data Collector Set\USERDDT01_20190318-000002\Performance Counter.blg"
    $smtpserver = "IP Address"
    
    $message = new-object System.Net.Mail.MailMessage
    $message.From = $fromaddress
    $message.To.Add($toaddress)
    $message.IsBodyHtml = $True
    $message.Subject= $Subject
    $attach = new-object Net.Mail.Attachment($attachment)
    $message.Attachments.Add($attach)
    $message.body = $body
    $smtp = new-object Net.Mail.SmtpClient($smtpserver)
    $smtp.Send($message)

    posted in General Discussion read more
  • W
    Waqkas Ahmed

    @Ronnie-Wong Are there any tools built in Windows server 2016 we can use for monitoring and sending email alerts for CPU Usage, RAM Usage, HD Space etc..

    posted in General Discussion read more
  • W
    Waqkas Ahmed

    Hi All, I was wondering if there was any free tools out there for SNMP monitoring for e.g. something with dashboards we can keep track of CPU's, HD, RAM etc..

    Something similar to Solarwinds.

    Thanks

    posted in General Discussion read more
  • W
    Waqkas Ahmed

    @Mike-Rodrick I was wondering is there a way to only copy across changes made to files/folder instead of copying the whole folder when the schedule runs? For e.g. looking at the timestamp or something similar.

    Thanks

    posted in Microsoft read more