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
- Host: GitHub
- URL: https://github.com/arnab-developer/powershellclassdemo
- Owner: Arnab-Developer
- License: mit
- Created: 2021-07-04T09:38:21.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-04T09:47:21.000Z (almost 4 years ago)
- Last Synced: 2025-01-17T02:24:15.923Z (5 months ago)
- Language: PowerShell
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```