Commit Graph

1012 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
Kyle Ruddy
02364c5687 Merge pull request #136 from spartyzik/fix-Get-VMNetworkPortId
Use the item in foreach rather than collection
2017-11-05 20:29:32 -05: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
Unknown
df32c59148 Use the item in foreach rather than collection
Error message should use $v rather than $vm
2017-10-31 11:17:36 -04:00
Kyle Ruddy
0b6d1dd793 Merge pull request #133 from Mr-Uptime/patch-5
Multipath to Round Robin on all FC disks in cluster
2017-10-30 22:58:39 -04: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
e785ef98a4 Merge pull request #134 from Mr-Uptime/patch-6
Adds VLANs to an existing standard switch
2017-10-30 22:57:14 -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
Alan Comstock
dc523953ca Adds VLANs to an existing standard switch
This script will add VLANs to an existing standard switch on a host.
Information needed:
$esxhost - Name of host
$vswitch - Name of existing standard switch
$vlanlist - List of all the VLANs you want to add to the switch
2017-10-27 09:25:47 -05:00
Alan Comstock
76820423a4 Multipath to Round Robin on all FC disks in cluster
This will configure multipath to round robin and IOPS to 1 on all disks in a cluster based upon the vendor type.
This script is configured for 3par LUNs.  Change $vendor for other storage types/vendors.
2017-10-27 09:16:39 -05: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
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
Kyle Ruddy
b39e6394db Merge remote-tracking branch 'vmware/master' 2017-10-14 15:53:39 -04:00
Kyle Ruddy
bfefc8d321 Merge pull request #127 from kmruddy/master
Resource Clean up and New Script
2017-10-14 15:51:04 -04:00
Kyle Ruddy
c0a851cc0b Merge pull request #122 from jrob24/master
Add vCenter.Alarms module
2017-10-14 15:50:20 -04:00
Kyle Ruddy
795bcccad8 Get-VMNetworkPortId
This script can be used to find the network Port-ID on the lost host.
2017-10-14 15:36:58 -04:00
Kyle Ruddy
accbd83eff Clean Up
Moving script resources to the scripting folder.
2017-10-14 15:36:06 -04:00
Kyle Ruddy
e444ed58ef Merge remote-tracking branch 'vmware/master' 2017-10-14 15:33:26 -04:00
Kyle Ruddy
89de49c58f Merge pull request #126 from mtelvers/master
Updated Set-HVPool and add function Set-HVGlobalEntitlement
2017-10-11 20:57:14 -04: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
jrob24
76556f26c2 Initial commit 2017-09-21 23:33:30 -05:00
jrob24
6365ed0bd1 Delete New-vCenterAlarms.ps1 2017-09-21 23:32:58 -05:00
jrob24
16530f256d Delete vCenter.Alarms.psm1 2017-09-21 23:31:44 -05:00
jrob24
e8896d388f Add files via upload 2017-09-21 23:30:31 -05: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