Commit Graph

336 Commits

Author SHA1 Message Date
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
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
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
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
mtelvers
754e9300eb Updates to New-HVPool
Removed parameter -Deleting which isn't used and is a read-only property anyway
Corrected automatic Logoff Minutes validation range which is 1.. rather than 1..120
Updated the validation set for delete or refresh machines after log off.  From the API, valid options are Never, Delete, Refresh not Never, Delete, After
Allowed selecting the AD Container when creating Linked Clones
2017-10-16 10:03:30 +01:00
mtelvers
04aabda1ba Updated Set-HVPool and add function Set-HVGlobalEntitlement
Add -globalEntitlement parameter to Set-HVPool to allow pool to be associated with a globalentitlement. Previously this was only possible through the New-HVPool cmdlet. Added cmdlet Set-HVGlobalEntitlement to allow global entitlements to be updated
2017-10-09 12:10:33 +01:00
Kyle Ruddy
7019556842 Merge pull request #123 from isjwuk/patch-1
Update VMware.VMEncryption.psm1
2017-10-05 11:05:22 -04:00
Kyle Ruddy
eeef520611 Merge pull request #125 from lamw/master
Adding VMware Fusion Module
2017-10-05 11:04:22 -04:00
Kyle Ruddy
45192ff5ae Merge pull request #121 from lukaswinn/patch-1
Create vCenterSnapshot.ps1
2017-10-05 10:55:19 -04:00
William Lam
677d0c211d Adding VMware Fusion Module 2017-10-04 14:26:05 -07:00
Chris
038742d872 Update VMware.VMEncryption.psm1
Example for Get-Help was using $SetVMEncryptionKey rather than SetVMDiskEncryptionKey ($ sign and other command used)
2017-09-26 14:53:08 +01:00
Lukas Winn
3b3197b04a Create vCenterSnapshot.ps1
Script to retrieve snapshot information for all VM's in a given vCenter
2017-09-21 16:46:41 +01:00
Kyle Ruddy
4f07508e42 Merge pull request #120 from isjwuk/master
Submitting Get-TotalMemoryAllocation.ps1 and Get-TotalDiskUsage.ps1
2017-09-20 15:36:29 -04:00
Chris
78d606ab44 Rename Get-TotalDiskUsage to Get-TotalDiskUsage.ps1 2017-09-20 19:38:14 +01:00
Chris
da2cf62c1b Create Get-TotalMemoryAllocation.ps1 2017-09-20 19:37:36 +01:00
Chris
434d8c2b9b Created Get-TotalDiskUsage 2017-09-20 19:34:38 +01:00
Kyle Ruddy
2a3eb898de Merge pull request #119 from Mr-Uptime/patch-2
SetClusterMultiPathToRoundRobin
2017-09-20 11:20:17 -04:00
Kyle Ruddy
a929b1a50c Merge pull request #118 from Mr-Uptime/patch-1
SetHostMultiPathToRoundRobin
2017-09-20 11:11:20 -04:00
Kyle Ruddy
bcb2d21d64 Merge pull request #117 from soggychipsnz/patch-1
get-peakvms
2017-09-20 11:10:09 -04:00
Kyle Ruddy
9fe3a3ca85 Merge pull request #116 from sammcgeown/ha-vcenter-deploy
Added HA vCenter deploy script
2017-09-20 11:09:17 -04:00
Kyle Ruddy
40b34e3b21 Merge pull request #115 from mycloudrevolution/VMware-vCD-TenantReport
New Module VMware-vCD-TenantReport
2017-09-20 10:59:59 -04:00
Kyle Ruddy
24799047a2 Merge pull request #111 from haberstrohr/master
Get-VMHostWWPN
2017-09-20 10:35:17 -04:00
Kyle Ruddy
5e9396c24f Merge pull request #110 from mycloudrevolution/VMware-vCD-Module-Update
Add New Edge Gateway
2017-09-20 10:34:33 -04:00
Kyle Ruddy
6c370b7f96 Merge pull request #109 from kdmhorn/master
Create vmCreationNotes.ps1
2017-09-20 10:33:04 -04:00
Kyle Ruddy
7375f0a53a Merge pull request #107 from VTsnowboarder42/patch-1
Create Get-BasicVMCapacityReport
2017-09-20 10:23:07 -04:00
Kyle Ruddy
22a611e538 Merge pull request #106 from Derek-Charlekston/patch-1
Create get-ping.ps1
2017-09-20 10:22:27 -04:00
Kyle Ruddy
0de5cbe2e0 Merge pull request #105 from pezhore/feature/get-civmdata
Added CIVM Data gathering function for vCD export/Migration
2017-09-20 10:21:29 -04:00
Alan Comstock
fee53a0565 Create SetClusterMultiPathToRoundRobin.ps1 2017-09-14 10:42:04 -05:00
Alan Comstock
b10e560615 Update SetMultiPathToRoundRobin 2017-09-13 12:37:15 -05:00
Alan Comstock
0d461ab72b Create SetMultiPathToRoundRobin 2017-09-13 10:29:57 -05:00
soggychipsnz
2b9aa80b36 get-peakvms
This script will interrogate vcenter to find the peak users of network or storage usage. 
This was quite handy for me to quickly identify the source of issues such as an inbound DDOS, outbound DOS or a server pummiling storage due to swapping/etc.
2017-09-13 11:23:36 +01:00
Sam McGeown
b8055b7ed8 Added script description
removed extra .md file
2017-09-08 17:44:16 +01:00
Sam McGeown
b89bd7ab5a Added HA vCenter Deploy script
Added HA vCenter Deploy script, configuration JSON file and note with link to my blog post detailing how to use it
2017-09-08 17:40:08 +01:00
mycloudrevolution
1ed68eeab2 New Module VMware-vCD-TenantReport
This Module Creates a nice HTML Report for vCD Customers. Report
Contains Objects like Users, Catalogs, VDCs, vApps, VMs, Edge Gateways
2017-09-01 15:45:18 +02:00
haberstrohr
fc90f81d88 Get-VMHostWWPN
Returns WWPN in Base16 format, similar to what is displayed in the GUI.
2017-08-31 10:02:54 -05:00
mycloudrevolution
e63f4178ab Add New Edge Gateway
Abbility to add a Edge Gateway
2017-08-31 14:58:04 +02:00
kdmhorn
b21d2079ca Create vmCreationNotes.ps1 2017-08-30 18:57:55 -04:00
VTsnowboarder42
cd98f8672d Create Get-BasicVMCapacityReport
Create a basic VM capacity report
2017-08-30 18:43:43 -04:00
=
98997718b8 updated code for clarity 2017-08-30 15:29:02 -07:00
Derek-Charlekston
070de5d0bd Create get-ping.ps1 2017-08-30 17:26:53 -05:00
=
b8d0d10716 Added CIVM Data gathering function for vCD export/Migration 2017-08-30 14:48:03 -07:00
Kyle Ruddy
5772d994f0 Merge pull request #103 from k00laidIT/patch-1
Create Get-VMToolsParts.ps1
2017-08-30 16:44:37 -04:00
Jim Jones
e70e50600f Create Get-VMToolsParts.ps1
Outputs the VMware Tool component installation state for all running Windows VMs in your environment.
2017-08-30 12:34:03 -07:00
Kyle Ruddy
2960a00618 Merge pull request #102 from simonfangyingzhang/master
New-VIProperty KMSserver per Mike Foley
2017-08-22 23:12:52 -04:00
simonfangyingzhang
803a53991f Merge pull request #1 from simonfangyingzhang/simonfangyingzhang-patch-1
New-VIProperty KMSserver per Mike Foley
2017-08-23 03:24:21 +01:00
simonfangyingzhang
11330a67ac New-VIProperty KMSserver per Mike Foley
New-VIProperty KMSserver per Mike Foley
2017-08-22 07:44:26 +01:00