Simplifying before move to powershell