Get memory information using PowerShell