Commit Graph

470 Commits

Author SHA1 Message Date
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
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
c0a851cc0b Merge pull request #122 from jrob24/master
Add vCenter.Alarms module
2017-10-14 15:50:20 -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
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
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
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
mycloudrevolution
e63f4178ab Add New Edge Gateway
Abbility to add a Edge Gateway
2017-08-31 14:58:04 +02:00
simonfangyingzhang
11330a67ac New-VIProperty KMSserver per Mike Foley
New-VIProperty KMSserver per Mike Foley
2017-08-22 07:44:26 +01:00
yomurakami
d61cfc1b67 seat only backup is impossible. so change to common only backup
fix notes
2017-07-20 02:41:54 +09:00
yomurakami
23b36d60a3 load an assembly that is not loaed by default 2017-07-20 01:45:05 +09:00
Kyle Ruddy
0abddc0c86 Merge pull request #98 from rmbolger/bugfixes
Bugfixes for issues #96 and #97
2017-07-06 15:07:56 -04:00
Kyle Ruddy
ca1f5a04d2 Merge pull request #92 from freythman/master
Add Get-HVGlobalSettings and Set-HVGlobalSettings to Module VMware.Hv.Helper
2017-07-06 15:07:11 -04:00
Kyle Ruddy
1424fea870 Merge pull request #90 from NamedJason/patch-2
Improved performance and user feedback
2017-07-06 15:05:30 -04:00
Kyle Ruddy
443888108b Merge pull request #91 from mycloudrevolution/VMware-vCD-Module
VMware vCD Module
2017-07-06 15:03:21 -04:00
William Lam
0beda7c30d Adding Module for vSphere Content Library 2017-07-05 05:31:22 -07:00
Ryan Bolger
6ca366e8c4 bugfixes for issues #96 and #97 2017-06-24 23:55:58 -07:00
Matt Frey
704251045d Add Get-HVGlobalSettings and Set-HVGlobalSettings
2 new functions to Get and Set VMware.Hv.GlobalSettingsInfo
2017-06-13 23:13:15 -05:00
mycloudrevolution
e1bc6912fa VMware-vCD-Module
Create new Org, OrgUser, OrgVDC
2017-06-13 22:51:12 +02:00
NamedJason
dc0213773d Improved performance and user feedback
I changed the structure of the functions to improve performance when working with large numbers of datastores and hosts.  I also added more verbose progress bars so that the user would be more aware of what the scripts were doing at any given time.
2017-05-31 07:27:38 -07:00
Kyle Ruddy
390ce91bb4 Update folder structure
Update the folder structure to include moving the DatastoreFcuntions
module into its own folder.
2017-05-26 15:00:00 -04:00
Kyle Ruddy
88fc7740dc Merge pull request #79 from vScripter/hotfix/module-folder-fix-git-files
Place .psm1 Files in Folders & Added .git files to the root of the repository
2017-05-26 11:54:57 -04:00
Kyle Ruddy
99b8d1b32e Merge pull request #85 from NamedJason/patch-1
Create DatastoreFunctions.psm1
2017-05-17 10:55:31 -07:00
praveenmathamsetty
c15b76c8d1 Merge branch 'master' into master 2017-05-17 23:21:53 +05:30
NamedJason
acb0383f16 Create DatastoreFunctions.psm1 2017-05-16 08:19:00 -07:00
PARAMESHO
4936b79a5c Updating the description of the advanced functions for ApplicationIcon
Updating the description of the advanced functions for ApplicationIcon
2017-05-16 14:56:21 +05:30
PARAMESHO
8337b98633 Advanced functions for customizing Application icons in Horizon
This changes adds two advanced functions:
Set-HVApplicationIcon -> Used to create/update an icon association for a
given application.
Remove-HVApplicationIcon -> Used to remove a customized icon association
for a given application.
2017-05-16 14:48:36 +05:30
praveenmathamsetty
3d0c65b802 merge changes related to Get-HVPodSessions
pull request https://github.com/vmware/PowerCLI-Example-Scripts/pull/71
2017-05-15 17:25:20 +05:30
Wouter Kursten
ae429792ed removed brake for issue #74 2017-04-26 18:58:32 +02:00