$DateCutOff=(Get-Date).AddDays(-30)
When Created
Get-ADUser -Filter * -Property whenCreated | Where {$_.whenCreated -gt $datecutoff} | FT Name, whenCreated -Autosize
When Changed
Get-ADUser -Filter * -Property whenChanged | Where {$_.whenChanged -gt $datecutoff} | FT Name, whenChanged -Autosize...
hiberfil.sys file will take up space on your HDD/SSD depending on RAM and is allocated at 75 percent of your installed RAM
8GB Ram = 6GB file
16GB Ram = 12GB file
Open Command Prompt as Admin
To turn off
powercfg.exe /hibernate off
to turn on
powercfg.exe /hibernate on...
If the server is not on a domain
1. On the start menu type Administrative Tool
2. Select Local Security Policy.
3. Change the password Must Meet Complex Requirements option to Disabled.
In a domain enviroment
Group Policy Management
Expand Forrest >> Domains >> Your Domain Controller.
Right click on the Default Domain Policy and click on the Edit from the context menu.
Now Expand Computer Configuration -> Policies -> Windows Settings -> Security Settings -> Account Policies -> Password Policy
Double-click on the Passwords Must Meet Complexity Requirements option in the right pane.
Select Disabled under define this policy setting:
Click Apply then OK all the way out and close the GPO window.
In order to refresh the policy type the following command: “gpupdate /force” in the CMD window and click ENTER.
...
Open Powershell
Get-volume
Columns Drive letter, FriendlyName (what it is named), File System Type, Drive Type (fixed, removable,CD-Rom), Health Status, Operational Status, Size remaining, Size...
A Hyper-V host running Windows Server 2016 or Windows 10 Anniversary Update.
A Hyper-V VM running Windows Server 2016 or Windows 10 Anniversary Update.
A Hyper-V VM with configuration version 8.0 or greater.
An Intel processor with VT-x and EPT technology.
Shutdown VM
Open Powershell as admin and run this command on Hyper-V host "Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true
When using Nested Virtualization you can not use dynamic memory. Set to VM to Static memory if it isn't already
Start VM
Install Hyper V role
More info: https://docs.microsoft.com/en-gb/virtualization/hyper-v-on-windows/user-guide/nested-virtualization
Script that will prompt you to enter name of VM
$Server = Read-Host -Prompt 'Input your server name'
Set-VMProcessor -VMName $Server -ExposeVirtualizationExtensions $true...