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 →Category: 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 →