An open API service indexing awesome lists of open source software.

https://github.com/arnab-developer/powershellclassdemo

PowerShell class demo
https://github.com/arnab-developer/powershellclassdemo

Last synced: 3 months ago
JSON representation

PowerShell class demo

Awesome Lists containing this project

README

        

# PowerShell class demo

This is a demo to show the usage of class in PowerShell.

[Blog](https://arnabroychowdhuryblog.wordpress.com/2021/07/04/powershell-for-net-developer/)

## How to run

- Download the store the PowerShell script in your local machine.
- Open a PowerShell Terminal.
- Navigate to the location of the script.
- Execute the below command.
```
.\ClassDemo.ps1
```

## Output

```
Name: Jon Doe Age:23
Name: Rahul Roy Age:58
```