Tagged in

PowerShell

Rubrik -  - Bringing Flexibility and Choice to the Rubrik SDK for PowerShell

Uncategorized

Bringing Flexibility and Choice to the Rubrik SDK for PowerShell

Rubrik prides itself on delivering an API-first architecture in which anything that can be done within the user interface can also be accomplished through an API request. This design brings flexibility to our customers, extending Rubrik Cloud Data Management functionality directly into their automation workflows, offering them choice around how they would like to consume Rubrik. We’ve taken this approach one step further by providing the ability to customize exactly how our PowerShell module acts and performs. Customers can now take advantage of module options and default parameter values with the addition of a user-based options file utilized by the module. Let’s dive into each option available. Default Parameter Values Customers can now define default values to any of the parameters within SDK by using these new cmdlets: Get-RubrikModuleDefaultParameter Set-RubrikModuleDefaultParameter Remove-RubrikModuleDefaultParameter These default values are then applied globally across all the PowerShell module cmdlets. For example, the PrimaryClusterId  parameter is present on a wide range of cmdlets within the Rubrik SDK. Rather than constantly providing this value manually during cmdlet execution, a default value could be sent automatically by executing the following code: Set-RubrikModuleDefaultParameter -ParameterName PrimaryClusterId -ParameterValue “local” As shown below, once set, the local value will be sent to…
Rubrik -  - Rubrik SDK for PowerShell 5.0.1 Now Available

Product

Rubrik SDK for PowerShell 5.0.1 Now Available

We recently released the latest version (5.0.1) of Rubrik’s most popular SDK, the Rubrik SDK for PowerShell. The module allows you to interact with your Rubrik Clusters and automate tasks such as assigning SLAs, taking snapshots, and pausing backups to allow for patching or to generate customized reports retrieved from the Rubrik Cluster. About the Module The PowerShell module was originally created in 2015 and has been widely adopted with over 9,000 downloads. Last summer, we began formulating a strategy to make the module more maintainable and accessible, which we dubbed “Project Quokka.” This included migrating the module to Azure DevOps for CI, creating unit tests that allow for simplified validation if future changes in the code are breaking existing functionality, and providing updated and complete documentation for all private and public functions in the module. One of the project’s first initiatives was to update the module to be compatible with PowerShell Core, allowing it to be used on macOS and Linux, as well as Windows.  Release Highlights Over a thousand codebase changes were made in our latest release, with some great contributions made by community members such as Nick Shores who provided a number of functions to help with…
Rubrik -  - Advanced Protection for vCD with Rubrik and PowerShell

Product

Advanced Protection for vCD with Rubrik and PowerShell

Hot off the announcement of being VMware certified for vCloud Director (vCD), we have two more exciting capabilities for our vCD users. First, we have added extensive support for vCD to our PowerShell SDK. Second, our Andes 5.1 release includes the ability to protect vCD Templates in a manner similar to our existing vCD vApp protection. This post will explore both of these new features. PowerShell SDK Updates Since its release, the Rubrik SDK for PowerShell has been a powerful and popular tool for managing day-to-day data protection tasks. Adding the ability to manage vCD protection via our SDK allows users and administrators to script protection and recovery tasks by providing reliable, repeatable automation of otherwise tedious workflows. Here are the newest cmdlets: Export-RubrikVApp: Exports a snapshot from a protected vApp to a new or existing vApp. Export-RubrikVCDTemplate: Exports a snapshot from a protected vCD Template to a catalog. Get-RubrikVApp: Provides information about a vApp, including ID and assigned SLA Domain. Get-RubrikVCD: Provides information about vCD instances connected to Rubrik. Get-RubrikVAppExportOptions: Provides metadata needed to perform a vApp export. Get-RubrikVAppRecoverOptions: Provides metadata needed to perform a vApp recovery. Protect-RubrikVApp: Assigns or removes an SLA Domain from a vApp. Restore-RubrikVApp: Performs…
Rubrik -  - Building PowerShell ChatOps Integrations with PoshBot

General Tech

Building PowerShell ChatOps Integrations with PoshBot

Chat tools may have started out for simple communication, but many organizations are now leveraging chat to streamline their operations. This is known as ChatOps (or Chat Operations and Chat Automation), which aims to automate tasks, execute workflows, and retrieve the results directly in chat. In this post, we’ll look at the benefits of ChatOps and how to get started using Rubrik and PoshBot in combination with Slack. Advantages of ChatOps Before we dive into the technical specifics, let’s first answer the question: Why use ChatOps to automate anything? There are several reasons for using ChatOps, but one of the biggest reasons is that in most organizations, we are already using a form of chat interaction to communicate with teammates. Leveraging a familiar interface to automate tasks makes it much easier to expose scripts and workflows to non-technical users who would otherwise not have access. Another advantage is that the learning curve of using ChatOps is quite low. If a bot is added to an existing chat channel, everyone in the channel can see how a command is executed, which reduces both the learning curve and context switching. Instead of asking for help, a user with sufficient privileges is able…
Rubrik -  - Get-Started with the Rubrik PowerShell Module

General Tech

Get-Started with the Rubrik PowerShell Module

Rubrik APIs make it easy to interact, extract data, and build custom workflows. To empower our customers and make it even simpler to interact with our platform, SDKs for Go and Python have recently been made available. We’re excited to extend Rubrik’s focus on APIs with our updated PowerShell module. The PowerShell module contains a set of functions and cmdlets that can be used to connect to the Rubrik platform. Simplify your interactions with the Rubrik API by using the grouping, formatting, and pipelining features of the PowerShell language. Whether you want to get information about the backup status of your newly created workloads or build a fully automated workflow, the Rubrik PowerShell module is a powerful tool. PowerShell Core, the most recent release of PowerShell, makes PowerShell compatible with not only Windows PowerShell, but also platforms such as MacOS and Linux. The new update of the Rubrik PowerShell module gives you the ability to run scripts created on your platform of choice, allowing you to leverage the power of PowerShell and Rubrik from any device and on any supported operating system. To get started with this module, you will need to have PowerShell installed (available as a free download here).…
Rubrik -  - AI, APIs, and PowerShell: A Recap of Microsoft Ignite 2018

General Tech

AI, APIs, and PowerShell: A Recap of Microsoft Ignite 2018

This year, Microsoft Ignite stepped out of its norm by really focusing on what’s next in the industry and the importance of community while launching some exciting new products. When chatting with my team, it was clear that we all walked away with new insights into where the landscape is headed and what’s top of mind for IT organizations. For those who couldn’t attend or are interested in hearing our perspective, I asked some folks from the Technical Marketing team to share their biggest learnings and favorite moments. Enjoy! Mike Nelson – @nelmedia “There were quite a few announcements around the Windows Server and Azure platform that I’m excited about–the biggest being the GA of Server 2019. The newly created Ultra-SSD disks option in Azure will allow for the incredibly fast movement of data within the cloud. The new Data Box line provides several ways to transport both physically and virtually large amounts of data into Azure and now integrates IoT into the Edge. From a learning and training perspective, I am intrigued to know more about the new Microsoft Learn platform and how it will shape education and certification as we know them today. Microsoft also proved that it’s…
Rubrik -  - Advancing Your Data Protection Strategy with APIs

Product

Advancing Your Data Protection Strategy with APIs

In today’s interconnected world, having a stand-alone product that only works within an ecosystem is not a reliable business proposition. The ability to change how data is stored, managed, and recovered is no longer a nice-to-have, but imperative to drive business and processes forward. The Current situation Traditionally, managing data was possible through GUI interfaces and, in some cases, by using not-very-well documented command line tools. Because these tools are platform dependent and require specific documentation, they can slow down adoption and limit the usability of these products. Furthermore, introducing additional tools often produces a perpetual cycle of deployment and patch management to keep the tools up-to-date. There is also the, even if ever so slight, risk of introducing an unintended security vulnerability by having additional tooling installed on your systems. There have been recent examples in which third-party management tools were explicitly targeted and used for privilege escalation or data exfiltration. The Solution Because of API-driven development, we allow all our customers to interact with Rubrik directly. The advantage of this is that we can communicate with the API from any platform and use any scripting or programming language. As a result, our API-first solution delivers a more dynamic…
Rubrik -  - Pump up the Excitement – VMworld Approaches!

Company

Pump up the Excitement – VMworld Approaches!

Has it really been a year already? Apparently so, because another gauntlet of VMworld conferences approach and is bristling with energy and excitement. The Rubrik team and I will once again be embarking on an adventure to tour the Las Vegas and Barcelona events, spreading some serious amounts of knowledge, heavy-hitting swag, and a plethora of other surprises. This year, with thanks to our swelling customer base and buzz around making data protection “not suck,” we’ve set the bar to ludicrous speed with a Platinum presence and all the trimmings that goes along with that. I’m stoked! Earlier, I blogged on Wahl Network with an outline of sessions in which I’m excited to present with the likes of Duncan Epping, Kyle Ruddy, Chris Gurley, and Eric Shanks. If you’re interested in learning more about Rubrik CDM, data center automation, PowerShell and PowerCLI scripting, vRealize Automation blueprints, or vRealize Orchestrator workflows – and you’ll be at either of the VMworld events – you’re in for a treat! Stay tuned for even more epic details as we get closer to the VMware event of the year! 🙂
Rubrik -  - PowerShell and RESTful APIs – Making Backup Awesome Again

Business

PowerShell and RESTful APIs – Making Backup Awesome Again

The virtualization world has long been singing the praises of the “abstract, pool, and automate” goal. Put simply, it meant separating the application from hardware, forming a fabric of resources, and automating the consumption of those resources for applications. The key focus is the application and how it can be made a first class citizen in the data center. However, the automation of tasks has traditionally been slower to enter the world of enterprise infrastructure. I attribute this to vendors using proprietary or closed protocols while also lacking a solid, simple to use, and consumable API that enables a rich ecosystem of task automation. On top of this, administrators and engineers are burdened with keeping the data center operational and don’t have the luxury of codifying a plethora of workflows using handfuls of different programming languages. What’s needed is a easy way to control infrastructure, such as data protection, that actually reduces overhead and grants IT professionals more time to focus on value-add efforts (that are usually more fun, too). Enter PowerShell! It’s a framework that is incredibly simple to learn and consume that can also send and receive data from an API endpoint. Plus, when paired with the Rubrik…