Commit Graph

996 Commits

Author SHA1 Message Date
Kyle Ruddy
45ac4a47fb Revert "Add SDDC Cluster Functions"
This reverts commit fe603f60d6.
2019-03-27 00:00:01 -04:00
Kyle Ruddy
fe603f60d6 Add SDDC Cluster Functions
Added the following functions:
Get-VMCSDDCCluster
New-VMCSDDCCluster
Remove-VMCSDDCCluster
2019-03-26 23:55:29 -04:00
Matt Frey
1c54a37fbd Shortened ImageType to Type 2019-03-19 15:06:54 -07:00
William Lam
d95806ea2f Fix CGW/MGW scope 2019-03-19 10:31:20 -07:00
William Lam
bda5a5a276 Fixing the default Scope label for CGW FW Rules 2019-03-18 13:39:52 -07:00
William Lam
72a5555860 Fixing logic for SRC/DST Infra Group 2019-03-15 10:46:43 -07:00
William Lam
29fbb5bc59 Fixing optional for Source/Destination Groups + typo 2019-03-15 05:13:37 -07:00
Matt Frey
360e190300 New HV Functions for vCenter and BaseImage 2019-03-14 19:08:01 -05:00
William Lam
b8b48e40f8 Add support for both Infra Group/Scopes related to CGW Edge Fireweall 2019-03-14 12:00:27 -07:00
Matt Frey
ecc12a1884 Address Issue #269
Both flash parameters for `New-HVPool` were limited to the validate set of `LINKED_CLONE`. This updates them to be valid for all desktop types, since it is applicable to all desktop types. See https://vdc-download.vmware.com/vmwb-repository/dcr-public/3721109b-48a5-4ffb-a0ad-6d6a44f2f288/ff45dfca-1050-4265-93ef-4e7d702322e4/vdi.resources.Desktop.AdobeFlashSettings.html for details.
2019-03-13 14:43:33 -05:00
Conor Tolan
bbc6d0f775 Started tests for VMCFirewall.
Fixed incorrect function call in sddc version test.
2019-02-27 22:23:05 +00:00
Conor Tolan
3e09f0a601 Wrote tests covering get VMC SDDC Version
Fixed up get VMC Hosts a bit.
2019-02-25 22:28:23 +00:00
Conor Tolan
f926508d1f Added test for Get-VMCVMHost, complicated object mocking. 2019-02-25 21:09:18 +00:00
Conor Tolan
c01427f6f4 Added new tests. 2019-02-24 16:06:47 +00:00
Conor Tolan
2bb82249ca Added new tests for get default creds
Added test for not connected route in functions to increase coverage.
2019-02-24 14:41:16 +00:00
Conor Tolan
b5111e1fab Adding a VMC code coverage script to invoke the coverage report. 2019-02-23 19:33:24 +00:00
Conor Tolan
5c833d4ce5 Wraped all the tests inModuleScope for invoke-pester invocation.
Moved function name into module scope.
2019-02-23 18:56:44 +00:00
Conor Tolan
b90c83ac56 Created tests for get VMC Task
Trimed out excess fom get SDDC parameters in the object.
2019-02-23 18:06:09 +00:00
Conor Tolan
f642290b2d Tidied up the object creation in tests. 2019-02-23 17:41:23 +00:00
Conor Tolan
a95e01066d Renamed VMC Org test file.
Added VMC Sddc test file.
2019-02-23 16:40:31 +00:00
Conor Tolan
6c578f7b78 Added mock write-host to clean up output.
Added the general creation of the $object needed to mock the function.
2019-02-23 16:37:03 +00:00
Conor Tolan
3a61850b41 Randomly wrote over import. undone. 2019-02-20 22:26:26 +00:00
Conor Tolan
783319a624 Finished org tests 2019-02-20 22:17:59 +00:00
Conor Tolan
f9ca007ae5 Added two pester tests for Get-VMCCommand and Connect-VMCVIServer. 2019-02-18 21:57:52 +00:00
Kyle Ruddy
71915cde79 Merge pull request #264 from kmruddy/master
Create Move-DatastoreCluster.ps1
2019-02-13 18:59:13 -05:00
Kyle Ruddy
0e318d3e07 Create Move-DatastoreCluster.ps1
Moves a datastore cluster to a new location
2019-02-13 15:57:51 -08:00
Kyle Ruddy
780e830205 Merge pull request #263 from lamw/master
Added NSX-T Overview Info
2019-02-08 08:59:36 -05:00
William Lam
2212477dff Added NSX-T Overview Info 2019-02-08 05:28:10 -08:00
Kyle Ruddy
481845717c Merge pull request #260 from lamw/master
Added Set-VMCSDDC function to rename SDDC
2019-02-04 12:36:48 -05:00
William Lam
407be173e4 Adding NSX-T Routing Table 2019-02-02 07:34:16 -08:00
Kyle Ruddy
6cc6634628 Create Set-NetworkAdapterOpaqueNetwork.ps1
Code sample provided as part of KB 65149: https://kb.vmware.com/s/article/65149
2019-02-01 14:19:32 -05:00
William Lam
9ff4c4f48c Merge branch 'master' into master 2019-01-23 05:48:32 -08:00
William Lam
216ee7386f Module for managing vCenter CEIP Settings 2019-01-23 05:25:14 -08:00
William Lam
ff3d297e69 Fixing typo for creating NSX-T GW Firewall 2019-01-17 08:07:15 -08:00
William Lam
59ab2785e3 Added Set-VMCSDDC function to rename SDDC 2019-01-12 15:56:50 -08:00
Kyle Ruddy
5efdf01810 Merge pull request #259 from lamw/master
Fixed CSP Auth due to API change + Refresh Token expiry info
2019-01-10 18:59:55 -05:00
William Lam
24556bbe19 Fixed CSP Auth due to API change + Refresh Token expiry info 2019-01-10 15:48:43 -08:00
Kyle Ruddy
83899d2b7b Merge pull request #258 from kmruddy/master
Create Script: Save-PowerCLI.ps1
2019-01-10 14:50:51 -05:00
Kyle Ruddy
e35e17a04d Update Save-PowerCLI.ps1
Updating function with v2 additions:
- Dynamic RequiredVersion parameter
- Simple parameter to handle the nested version folders
- Address the potential of downloading multiple module folders twice
2019-01-10 09:44:58 -05:00
Kyle Ruddy
9073d8f3b2 Create Save-PowerCLI.ps1
Adding function to download specific versions of PowerCLI from an online repository
2019-01-10 09:42:14 -05:00
Kyle Ruddy
a2fef29a71 Merge pull request #257 from kmruddy/master
Update VMware.Community.CISTag.psm1
2019-01-10 09:23:56 -05:00
Kyle Ruddy
d758b5ba4c Merge pull request #256 from lamw/master
Updating Metdata file + Minor Typo/Fixes
2019-01-04 12:54:13 -05:00
William Lam
0d75606d99 Updating psd1 2019-01-04 06:54:17 -08:00
William Lam
a2c896b81b Fixing typo + Remove-NSXTDistFirewall function 2019-01-04 06:52:09 -08:00
Kyle Ruddy
16528c92b8 Merge pull request #254 from PARAMESHO/master
Set-HVApplicationIcon not behaving correctly with .ico and .bmp files
2019-01-03 16:16:10 -05:00
Kyle Ruddy
9845e9d16b Merge pull request #255 from lamw/master
Adding "Get" functions for Distribugted FW rules
2019-01-03 16:15:34 -05:00
William Lam
5571a8900a Added {New,Remove}-NSXTDisFirewall functions 2019-01-03 12:21:50 -08:00
William Lam
25cfffa14f Adding "Get" functions for Distribugted FW rules 2019-01-02 10:07:40 -08:00
PARAMESHO
06d018c7a6 Set-HVApplicationIcon not behaving correctly with .ico and .bmp files
When bmp/ico image files are used as customized application icons, short
cuts feature on Horizon Client is facing the issues in rendering. Bug
2168320 has been reported for this issue. We have decided to block all
the non-png image files for the customization of application icons.

Testing:
Tested with the changes. Working as expected. Refer review
https://reviewboard.eng.vmware.com/r/1446121 for more details.
2019-01-02 21:55:26 +05:30
Kyle Ruddy
e6a4c09e6d Merge pull request #253 from lamw/master
Fixing Get/New-NSXTSegment due to NSX-T Policy API change
2018-12-21 13:01:04 -05:00