In Windows Server 2008 and above you can set task to repeat on whatever you want. The corresponding drop down menu just present 5,10,15,30 minutes and 1 hour, but you can type in any number of hours or minutes you want to use.
There are some limitations you should know.
You can enter 2 hours, but not 2.5 hours. If you want to run a task every 2.5 hours, you have to enter the amount of minutes. Therefore, this would be 2.5 x 60 = 150 minutes.
Thursday, June 28, 2018
Wednesday, June 20, 2018
PowerShell Get and copy LAPS generated Admin password to clipboard V2
My new script just get the Administrator password generated by LAPS and save it to clipboard.
You just have to enter the computer name.
The password will be shown in your PS Console and copied to your clipboard.
Labels:
Active Directory,
Computer Accounts,
Powershell
Monday, June 18, 2018
Get all Site-Linked GPOs using PowerShell
You can download my new script to get all Site-Linked GPOs on Technet.
https://gallery.technet.microsoft.com/Get-all-Linked-GPOs-using-4086b1f3?redir=0
It´s based on Ashley MCGlone´s Get-GPO-Report. Link -> https://tinyurl.com/jpbzmuu
https://gallery.technet.microsoft.com/Get-all-Linked-GPOs-using-4086b1f3?redir=0
It´s based on Ashley MCGlone´s Get-GPO-Report. Link -> https://tinyurl.com/jpbzmuu
Labels:
Active Directory,
Powershell
Subscribe to:
Posts (Atom)