Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more PowerCLI completers #8

Closed
mtboren opened this issue Oct 21, 2021 · 5 comments · Fixed by #10
Closed

Add more PowerCLI completers #8

mtboren opened this issue Oct 21, 2021 · 5 comments · Fixed by #10
Labels
enhancement New feature or request

Comments

@mtboren
Copy link
Member

mtboren commented Oct 21, 2021

Add completers for other cmdlet params not already covered, like Get-VirtualNetwork -Name. Need to validate to which other cmdlets/params to expand

@mtboren
Copy link
Member Author

mtboren commented Oct 26, 2021

Some cmdlets for adding completers for -Name param:

  • Get-Tag
  • Get-TagCategory
  • Get-VIPrivilege
  • Get-VirtualNetwork

possibly for another day, if providing these completions has sufficient value to consumer:

  • Get-VirtualPortGroup
  • Get-VirtualSwitch

@mtboren mtboren added the enhancement New feature or request label Dec 16, 2021
@mtboren
Copy link
Member Author

mtboren commented Dec 22, 2021

  • Others to add for Get-VIPrivilege:
    • Group (the name of the privilege group)
    • ID (the ID of the VIPrivilege)

@mtboren
Copy link
Member Author

mtboren commented Dec 22, 2021

  • Also, add Category for:
Get-Command -Module VMware.* -ParameterName Category -Noun Tag*

CommandType     Name
-----------     ----
Cmdlet          Get-Tag
Cmdlet          Get-TagAssignment
Cmdlet          New-Tag
Cmdlet          Remove-TagCategory
Cmdlet          Set-TagCategory

@mtboren
Copy link
Member Author

mtboren commented Dec 23, 2021

  • Others to add for Parameter -Tag:
PS C:\> Get-Command -Module VMware.* -ParameterName Tag

CommandType     Name
-----------     ----
Cmdlet          Get-Cluster
Cmdlet          Get-Datacenter
Cmdlet          Get-Datastore
Cmdlet          Get-DatastoreCluster
Cmdlet          Get-Folder
Cmdlet          Get-ResourcePool
Cmdlet          Get-SpbmStoragePolicy
Cmdlet          Get-TagAssignment
Cmdlet          Get-VApp
Cmdlet          Get-VDPortgroup
Cmdlet          Get-VDSwitch
Cmdlet          Get-VirtualPortGroup
Cmdlet          Get-VM
Cmdlet          Get-VMHost
Cmdlet          New-SpbmRule
Cmdlet          New-TagAssignment
Cmdlet          Remove-Tag
Cmdlet          Set-Tag

@mtboren
Copy link
Member Author

mtboren commented Dec 23, 2021

Another add:

  • New-VIRole: -Privilege
  • Set-VIRole:
    • -AddPrivilege (only privileges not already a part of the role)
    • -RemovePrivilege (only privileges already a part of the role)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant