If you have the recycle bin in AD enabled you can restore deleted items. To get all the items in recycle bin: To get one item (change the username): To restore one item (change the username):
Read More →Tag: powershell
You can use the below script to set the pagefile on a disk with Powershell. Just change the drive letter and the min and max size. Make sure you restart the machine after you ran the script. Restart the machine with the following command.-r = restart-f = force-t 0 = don’t wait. You can check…
Read More →Do you like Powershell? Do you like Windows Server? Do you like SQL Server? Do you like Azure? Do you like Azure DevOps? I will dump my knowledge of this products here. Especially tips and tricks and things I used a lot over the years.
Read More →