21. Console
The command line interface
Microsoft.PowerShell_profile.ps1
ISE
Integrated Scripting Environment
Microsoft.PowerShellISE_profile.ps1
Console + ISE
profile.ps1
Profiles make life easier and happier
Set up your profile
29. Cmdlets for Calling a RESTful API
• Invoke-WebRequest
– Returns the entire response
– Status, headers, body content, etc.
• Invoke-RestMethod
– Returns only the content from the response
29
30. Endpoints (and Resources)
• Endpoints are expressed as URIs
– Uniform Resource Identifier
– Example endpoint: https://the.device.url/system/version
– Used to access a resource
• Should be published somewhere
– If not, harass the vendor
30
33. Methods
• Actions taken upon a resource
– GET data from a resource
– PUT to create resources
– POST to update a resource
– DELETE to remove a resource
– PATCH to update parts of a resource
33
35. Authentication
• Did you know?
– Basic auth uses Base64 encoding + SSL
– Encoding = reversible
– Thus, name and password are plain text
• Encryption is provided by SSL
– SSL is “optional” but … it really isn’t
– Don’t call endpoints with HTTP!
35
53. Associate Policy to vSphere Objects
53
vCenter Server
VM VM VM VM
VM VM VM VM
Silver SLA
Gold SLA
Bronze SLA
54. 54
End-to-End Data Management
Primary Data Center
DR Site/Offsite
VM VM
VM VM
VM
VM
Hypervisor
Production Servers
SAN
VM VM
VM VM
VM
VM
Hypervisor
DR Servers
Rubrik
Backup Software + Dedupe Storage
Rubrik
Replication & DR
Offsite + Long Term Archive
57. vRealize Orchestrator (vRO) Package
GitHub vRO-Workflow Repository
– https://github.com/rubrikinc/vRO-Workflow
– Visit the Wiki for a full walkthrough!
57