Name : Héctor Andrade Sánchez
Role : PowerShell Aficionado
PowerShell Experience : 7 Years
Is a Scripting Language built on top of .Net framework and in later releases on top of .Net Core.
In a nutshell:
You define the order:
- Get
- Set
- Delete
- Filter
- Display - Always at the end
- etc.
All this could happen in one line of code
In my personal opinion PowerShell is the best at retrieving data, filtering it and displaying it in a simple and logical way.
Not only you can retrive data with PowerShel, but you can also create, delete, update objects. But for starters we will stick with just retrieving data, filtering it and displaying it.
Windows, Linux and Mac.
Because it is STANDARIZED it is easier to learn. (cd, dir, set-location, get-childitem)
Syntax is in English, you already have a big advantage. VERB-NOUN
It is going to make you VERY productive with very MINIMAL lines of code.
So first clone this repo and save it on your downloads folder. I have VS Code installed so thats what I'll be using as a text editor to view the PowerShell files. You can use your favorite text editor. Finally Open PowerShell. So with my setup I could execute the following lines of code in PowerShell to open 2 - Get.ps1 in VS Code.
cd '~\Downloads\For PowerShell Starters'
code '.\2 - Get.ps1'| Get Data | Filter | Display |
|---|---|---|
| Log file | Select | PowerShell (Raw) |
| Text file | Group | Out-GridView |
| Server | Where | CSV |
| PC | Sort | TSV |
| Data Base | Excel | |
| Web server | Diagram | |
| PLC | Graph | |
| Camera | Windows Forms | |
| Tesla | WPF | |
| Windows | Web Page | |
| Linux | Chat Bot | |
| Mac | Azure Functions | |
| Sensors | AWS Lambda | |
| Motors | PaaS | |
| o365 | SaaS | |
| Azure | FaaS | |
| AWS | etc. | |
| On demand Input | ||
| Firewall | ||
| Switches | ||
| Sharepoint | ||
| etc. |
