Giter Club home page Giter Club logo

drsrule's Introduction

DRSRule PowerShell module ReadMe

The DRSRule module allows you to work with all types of vSphere DRS rules. The module provides support for VM and VMHost groups. And, it works with affinity/anti-affinity VM rules and VM to VMHost rules.

Brief info on module

The module came from the need for DRS rule/group info gathering, exporting, and recreating. Initially there were some code blocks for exporting rule info and for importing again those rules, but things evolved into a module.

A couple of examples:

  • Export rule/group info: Export-DrsRule -Path c:\someFolder\myDrsRuleAndGroupInfo.json
  • Import rule/group info: Import-DrsRule -Path c:\someFolder\myDrsRuleAndGroupInfo.json

How to set up the DRSRule module for use

  • Download and extract the module .zip file
  • Unblock-File on the extracted contents
  • Import-Module <path\To\ModuleFolder>
  • Use Get-Help as per usual for cmdlet help and examples

Cmdlets in this module

  • Export/Import:
    • Export-DrsRule
    • Import-DrsRule
  • Get:
    • Get-DrsVMGroup
    • Get-DrsVMHostGroup
    • Get-DrsVMToVMHostRule
    • Get-DrsVMToVMRule
  • New:
    • New-DrsVMGroup
    • New-DrsVMHostGroup
    • New-DrsVMToVMHostRule
    • New-DrsVMToVMRule
  • Remove:
    • Remove-DrsVMGroup
    • Remove-DrsVMHostGroup
    • Remove-DrsVMToVMHostRule
    • Remove-DrsVMToVMRule
  • Set:
    • Set-DrsVMGroup
    • Set-DrsVMHostGroup
    • Set-DrsVMToVMHostRule
    • Set-DrsVMToVMRule

drsrule's People

Contributors

mtboren avatar lucdekens avatar gpduck avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.