Tips for Writing Cross-Platform PowerShell Code