Quantcast
Channel: All Data Protection posts
Viewing all articles
Browse latest Browse all 3468

Re: SnapCenter cmdlet reference

$
0
0

As a follow up to this, even some of the cmdlets that do have some help, the examples are pretty terrible.

 

Take Get-SmResourceGroup for example, it doesn't seem like the parameter -ResourceGroupName even does anything as it always returns "Resource Group name must be alpha numeric, Please enter a valid Resource Group name" regardless of what I enter. In the Get-Help examples there is only 1 example for this cmdlet which is:

 

Get-SmResourceGroup

This example syntax retrieves information about all resource groups.

 

How are we supposed to automate these products successfully when basic cmdlets don't work.

 

Even things like Install-SmHostPackage, you have to pass it an array with a single item in for the -HostName param, why can't it just take a string like most other cmdlets would?

 

 

Edit: Looks like "Get-SmResourceGroup -ResourceGroupName" cannot take values with spaces in, which seems bizar as you can create them with space in the GUI. "VMNAME Full Backup" is a valid Resource Group Name but the cmdlet won't accept it, if it was called "VMNAMEFullBackup" instead, that would work with the cmdlet.....


Viewing all articles
Browse latest Browse all 3468

Trending Articles