How to manage a PostgreSQL Server with PowerShell
Rodrigo Crespi
postgres=> \echo ‘SQLCrespi’
Especialista em Banco de Dados
Especialista em História e Filosofia
Microsoft Most Valuable Professional - [MVP ]
Professor Universi tár io
CTO - CrespiDB
@SQLCrespi
rodr igocrespi
SQLCrespi
sqlcrespi.com
SQLCrespi
Pq Powershell?
◇ Utiliza o .NET Core;
◇ Mulit-Plataforma;
◇ POO;
“PowerShell for Every System!” – Instalação do Ubuntu 18.4 LTS
Basics for PowerShell
◇ cmdlets;
◇ .net framework;
◇ modular;
Command-Lets(CMDLET)
GET - Childitem
Verb
Noun
-Path C:\
Paramete
r
Arg
PipeLine
GET-Childitem –Path C:\
| Format-Table name, length
Pipeline
signal
CmdLet
Args
Provider and Drive
Get-Demo Módulo, PostgreSQL -full
PostgreSQL
BásicoExport / Import
GridView
Vaccun
Get-Demo Módulo, PostgreSQL -full
How to work with PowerShell
Obrigado!