Skip to content
Windows Rockstar
  • Home
  • Azure
  • Virtualization
    • Hyper-V
    • System Center Virtual Machine Manager
  • Active Directory
  • Powershell
  • Windows Server
  • Security
  • About
  • Contact

Powershell

PowershellWindows Server

Schedule server reboot via Task Scheduler

Sometimes we need to schedule the reboot of a server after hours. We can do this very easy with Task scheduler and PowerShell. Open Task Scheduler and create a new basic task. Give it a meaningful name: And press Next. Set it to One time and press Next: Set the date and time for...

Read More
Powershell

PowerShell – Finding AV definitions update for McAfee

I had a customer where we had to find which is the last update time of the AV definitions files for the McAfee but did not had access to the orchestrator console. The script will read the the AVDatVersion and AVDatDate from the registry and write it which then can be passed to a...

Read More
Powershell

PowerShell – getting system uptime in human readable format

In order to get the system uptime in the format No Days No Hours No Minutes we use the below script: The result is like this: 21 Days 21 Hours 56 Minutes. Enjoy!

Read More
Powershell

PowerShell – Send reboot notification email via a scheduled task

I needed to be able to send an email 24 hours before a server is rebooted via a scheduled task. In order to achieve this I have a task that will reboot the server called „Computer reboot for updates”. The below script gathers the Next Run time of the scheduled task for the server...

Read More

Recent Posts

  • How long can I use my Active Directory Backup
  • Schedule server reboot via Task Scheduler
  • Azure Site to Site VPN without dedicated VPN hardware device
  • System Center Virtual Machine Manager 2019 Update Rollup 1 available
  • System Center Virtual Machine Manager ports and protocols.

Recent Comments

  • Alin Stanciu on Configure network interface order in Windows Server 2016/2019 and Windows 10
  • Jimmy Carr on Configure network interface order in Windows Server 2016/2019 and Windows 10

Archives

  • January 2021
  • April 2020
  • March 2020
  • February 2020
  • December 2019
  • October 2019

Categories

  • Active Directory
  • Azure
  • Hyper-V
  • IT
  • Powershell
  • Security
  • System Center Virtual Machine Manager
  • Uncategorized
  • Virtualization
  • Windows Server

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Categories

  • Active Directory
  • Azure
  • Hyper-V
  • IT
  • Powershell
  • Security
  • System Center Virtual Machine Manager
  • Uncategorized
  • Virtualization
  • Windows Server

Recent Posts

  • How long can I use my Active Directory Backup
  • Schedule server reboot via Task Scheduler
  • Azure Site to Site VPN without dedicated VPN hardware device
  • System Center Virtual Machine Manager 2019 Update Rollup 1 available
  • System Center Virtual Machine Manager ports and protocols.

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright © 2021 Windows Rockstar. All rights reserved. | Designed by Precise Themes
  • Home
  • Azure
  • Virtualization
  • Active Directory
  • Powershell
  • Windows Server
  • Security
  • About
  • Contact