This project consists of a PowerShell script divided into modular components, each handling a specific part of the process. The goal is to calculate wages and taxes based on user input.
- Main.ps1: Orchestrates the workflow.
- InputHandler.ps1: Manages user input and validation.
- Calculator.ps1: Handles wage and tax calculations.
- OutputHandler.ps1: Formats and displays the results.
Run Main.ps1
in a PowerShell environment. Follow the prompts to enter either an hourly wage or an annual salary. The script will calculate and display the results.
This project is a PowerShell-based Salary Calculator that allows users to calculate their annual and after-tax salaries based on either an hourly wage or an annual salary. The application offers a console interface and a graphical user interface (GUI) using Windows Presentation Foundation (WPF).
- Windows operating system
- PowerShell 5.1 or later
- Clone or download the repository from GitHub.
- Extract the files to a directory of your choice if downloaded as a ZIP.
- Open PowerShell.
- Navigate to the directory where you extracted the files.
cd path\to\extracted\files .\Main.ps1
- Error handling and logging.
- Configurable parameters.
- Add a selectable US State to determine State Tax numbers.
- Add in other input fields to set budget amounts to make a realistic paycheck experience.
- Add color to the app.
- Add an output function to save the data as an html file.
- Replace GUI with a Web application.
- Live webapp.
Developed as a learning project with a focus on modularity and script interaction.
This project is licensed under the MIT License - see the LICENSE file for details.