Commit Graph

455 Commits

Author SHA1 Message Date
Kyle Ruddy f8d285e9b5 Merge pull request #171 from Magneet/master
replaced return of vcenter vm id's
2018-03-06 20:43:05 -05:00
Kyle Ruddy 03041fea20 Update Module for Logical Network Functions
Updating module version to include Get/New/Remove-VMCLogicalNetwork
functions
2018-03-06 17:52:29 -05:00
Ed Symanzik aaed5597d6 Get-HVPoolStorageObject bug fix
Function prepares variable $datastoreList but uses $datastoreInfoList.
2018-03-06 09:26:22 -05:00
Wouter Kursten 9282c79c86 getnext placed on the wrong spot 2018-03-03 10:23:22 +01:00
Wouter Kursten cda9bd36e1 replaced return of vcenter vm id's
replaced some return of vcenter vm id's that gave back some hardly usefull information to the user. Now it gives a successfully add... message
2018-02-26 22:01:33 +01:00
Kyle Ruddy a6f8d7db15 Merge pull request #166 from Magneet/master
Multiple fixes, removal and new functions in vmware.hv.helper
2018-02-12 09:53:50 -05:00
Wouter Kursten f7da4a963f added reset-hvmachine 2018-02-10 15:44:12 +01:00
Wouter Kursten f0f5ec7967 Removed get-hvpodsession, added get-hvglobalsession
get-hvpodsession only got a count + naming was incorrect (it was global but name said pod) get-hvglobalsession actually enumerates all global sessions
2018-02-10 10:32:10 +01:00
Wouter Kursten 0109a2d0d2 Update VMware.HV.Helper.psm1 2018-02-05 16:31:46 +01:00
Wouter Kursten 5dfaf81e73 added if for groupfilter in get-hventitlement
https://github.com/vmware/PowerCLI-Example-Scripts/issues/167
2018-02-05 10:55:56 +01:00
Wouter Kursten e73ababdcc Added get-hvlocalsession
added this new cmdlet to make it easier to get a list of all sessions from the local pod. Method is based on the way find-hvmachine works to work around the maximum of 2000 results the queries normally have.
2018-02-04 14:03:23 +01:00
mtelvers 3e50b4ebde Update to Set-HVMachine to ease the assignment to users machines 2018-02-03 16:35:33 +00:00
mtelvers 9c2b190faa Update to Remove-HVEntitlement()
See Issue #163
2018-02-03 13:55:28 +00:00
Kyle Ruddy e887ac3152 Merge pull request #162 from alanrenouf/master
updated module with VMC Firewall functions
2018-02-01 10:22:19 -05:00
alanrenouf e0e4a56826 updated module with VMC Firewall functions 2018-01-31 20:40:39 -08:00
Ben Meadowcroft 61aead2685 Initial commit to Examples of SRM-Cmdlets 2018-01-30 21:03:35 -08:00
Kyle Ruddy 02286dbe53 Update VMToolsManagement.psm1
Update the quotes on line 1222 so that the module import no longer errors out.
2018-01-09 14:55:28 -05:00
Kyle Ruddy 23f215be35 Update VMToolsManagement.psm1
Added advanced function: Get-VMToolsUpgradePolicy
Updated the following advanced functions to add functionatlity:
- Set-VMToolsUpgradePolicy - Supports UpgradeAtPowerCycle and Manual
- Update-VMToolsConfInVM - Supports all log levels now
Misc other minor updates: 
- cmdlets changed to 'advanced function'
- 'vcetner' changed to 'vcenter'
2018-01-05 16:13:39 -05:00
Kyle Ruddy 7217cec777 Merge pull request #149 from lamw/master
PowerCLI Module using Cross vCenter Migration Utility Fling API
2017-12-20 12:44:16 -05:00
William Lam b5800f0eff PowerCLI Module using Cross vCenter Migration Utility Fling API 2017-12-20 08:37:38 -08:00
LucD 6c50bef798 rCisTag-Examples
Add examples to rCisTag module
2017-12-02 23:25:35 +01:00
lucdekens 2c2b16457c Add module rCisTag
Module rCisTag provides CRUD functions for Tags, Tag Categories and Tag Assignments.
The functions use the Cis REST API functions.
This is a beta release (0.9.0), feedback welcome.
2017-12-01 23:08:04 +01:00
Kyle Ruddy 240394e2ed Merge pull request #144 from isjwuk/patch-2
Minor Spelling corrections generted->generated
2017-11-29 09:16:44 -05:00
Kyle Ruddy 83463ba97e Merge pull request #145 from lamw/master
Export/Import functions for manual vCenter Server Migrations
2017-11-29 09:16:23 -05:00
alanrenouf d6861d38fb New VMware Cloud on AWS functions module 2017-11-28 22:48:08 -08:00
William Lam d104a29393 Might be useful if I actually added directory 2017-11-21 09:38:24 -08:00
William Lam cdfd510dd9 Whoops, missed folder for module 2017-11-21 09:37:27 -08:00
William Lam dc6b02a95a Export/Import functions for manual vCenter Server Migrations 2017-11-21 07:39:22 -08:00
Chris a47369a295 Minor Spelling corrections generted->generated
Minor Spelling corrections generted->generated in Get-Help examples
2017-11-20 15:22:21 +00:00
Kyle Ruddy 84503224b8 Merge pull request #143 from lamw/master
Updating Content Library Module
2017-11-16 00:34:26 -05:00
Kyle Ruddy 902899f067 Merge pull request #142 from daoyuan023/vmtools_management
Create VMToolsManagment for VMTools upgrade, guest info query .etc
2017-11-16 00:33:28 -05:00
Kyle Ruddy e4245533cd Merge pull request #139 from mtelvers/master
Fixes to Get-HVDatastore() when multiple datastores are specified
2017-11-16 00:32:11 -05:00
William Lam 2d429c6271 Forgot to un-comment the delete code 2017-11-14 06:45:58 -08:00
William Lam 9f2fc3ec06 Adding several new Content Library functions 2017-11-14 06:25:50 -08:00
daoyuanw 14256a32a8 Add VMToolsManagment for VMTools upgrade, guest info query .etc 2017-11-14 14:43:47 +08:00
mtelvers ea1178a308 Merge branch 'master' of https://github.com/mtelvers/PowerCLI-Example-Scripts 2017-11-06 11:15:35 +00:00
mtelvers 77d44734d4 Add Get-HVResourceStructure to display the Resouce Pool structure
Display the resource pools available to the Horizon View server
2017-11-06 11:15:26 +00:00
mtelvers 6b4bbf562d Delete .VMware.HV.Helper.psm1.swp 2017-11-03 17:18:55 +00:00
mtelvers 9e588e39c9 Added -ResourcePool to Set-HVPool
Update Set-HVPool to allow you to set a new resource pool within the same host/cluster
2017-11-03 17:13:44 +00:00
mtelvers d406e54b19 Fix to New-HVPool when persistent datastores are specified
Function Get_Datastore should read Get-HVDatastore
2017-11-03 11:17:27 +00:00
mtelvers 5879c10003 Fixes to Get-HVDatastore() when multiple datastores are specified
`$Datastores` needs to be initialized as an empty array `@()` rather than `$null`.  Furthermore, if `$DsStroageOvercommit` is empty it is only initialised with a single element where there should be one element per datastore.  I've moved the test into the loop instead.
2017-11-02 22:18:41 +00:00
Kyle Ruddy ebf92d8130 Merge pull request #131 from mtelvers/master
Improved searching for Host and Clusters, Resource Pools and Access G…
2017-10-30 22:58:07 -04:00
Kyle Ruddy 7947f2c95e Merge pull request #135 from lamw/master
Adding NSXT Module
2017-10-30 22:56:48 -04:00
William Lam 77adef309d Adding NSXT Module 2017-10-29 13:45:29 -07:00
mtelvers c2f137c812 Updates to Set-HVPool
Updated Set-HVPool to address issue #132.  The -Start and -Stop parameter tested the wrong variable in the loop.  $item is undefined.  Furthermore, in general if the key/value pair specified $false as the value then the parameter wasn't seen in simple logic test such as if ($key -and $value) {}.  I've updated to use $PSBoundParameters instead.
2017-10-27 08:52:44 +01:00
mtelvers dfd5a4e37e Fix for Find-HVMachine if no match is found in the first 1000 results
If no match was found in the first 1000 results then the QueryService_GetNext() was never called as it used the length of the result array to detect the second pass through the loop
2017-10-25 17:22:20 +01:00
mtelvers 1edf24432c Improved searching for Host and Clusters, Resource Pools and Access Groups
Add three new internal functions Get-HVHostOrClusterID, Get-HVResourcePoolID and Get-HVAccessGroupID to search the tree results of HostOrCluster_GetHostOrClusterTree(), ResourcePool_GetResourcePoolTree() and AccessGroup_List() respectively.  Previously only the top level of the result tree from these calls where considered which was raised as issue #88.  The solutions provided in the discussions were point fixes as they changed the level of the tree which was searched which missed matches at the other and the original levels.
2017-10-18 08:54:42 +01:00
Kyle Ruddy 78c91088f4 Merge pull request #130 from mtelvers/master
Updated Find-HVMachine
2017-10-16 16:06:31 -04:00
mtelvers ba61e6bb0f Updated Find-HVMachine
Updated Find-HVMachine to use the iterative query service, QueryService_Create() rather than the quick QueryService_Query()
2017-10-16 19:11:49 +01:00
Kyle Ruddy ca6c566257 Merge pull request #128 from mtelvers/master
Updates to New-HVPool
2017-10-16 12:13:32 -04:00