150 Commits

Author SHA1 Message Date
lyuboasenov
062749868d Add PAIF-N automation example (#629)
* Adding PAIF-N demo scripts

* Removing Confidential from headers

* Addressing review comments

---------

Co-authored-by: Lyuboslav Asenov <lasenov@vmware.com>
2024-03-28 15:50:45 +02:00
dmilov
294071df19 Remove VC IP 2021-09-16 14:53:21 +03:00
dmilov
a7cd4db523 PowerCLI 12.4 vSphere APIs through PowerCLI demo script (#486)
Signed-off-by: Dimitar Milov <dmilov@vmware.com>
2021-09-16 14:48:11 +03:00
Jimit G
246a887e84 Added VMsStatusReport file (#465)
* Added VMsStatusReport file

* fixed typo and added space before and after |

* Modified script to fuction with VIServerFilePath and OutPath parameters

* Refined help section

* Changed name from VMsStatusReport.ps1 to Get-VMSnapshotReport.ps1

* help documentation refined

* commit

* fomating corrections using prettier extension

* cmdletbinding correction

* added example and fixed parameter issue
2021-06-28 07:35:24 +03:00
dmilov
fb641c8a1c License PowerCLI-Examples-Scripts repository under BSD-2 Clause (#462)
As part of the VMware open source program, we have to update this repository with the correct license and copyright information.
We add the BSD-2 Clause License for this repository.
We mark all source code provided by VMware with the Copyright notice under BSD-2 Clause license.

* Update repository license to BSD 2-Clause License

* Update Copyright
2021-06-07 09:58:47 +03:00
Jatin purohit
32749fbd16 adding vLCM cmdlets 2021-06-04 08:44:12 -07:00
Joanna singh
21f4e8734c function to move ipsets from nsx v to Nsx t 2021-06-01 21:50:07 +05:30
ashishsharma-git
066dbb25f7 Update vRealize Operations Maintenance Mode.ps1
Since Get-Inventory does not return Datastore Objects, added switch "IsDatastore" to specify Datastore Objects being passed to the function.
2021-01-25 21:37:23 +05:30
Markus Kraus
9532ea9fac pply-OMRightsizing 2020-07-30 20:45:13 +02:00
Markus Kraus
b0dcb843aa Fix tab alignments 2020-05-30 21:02:25 +02:00
Markus Kraus
d2544c9418 Other loop for "Remove all existing NTP Servers" 2020-05-30 20:59:57 +02:00
Markus Kraus
8de5885437 Change NTP input to type ipaddress 2020-05-30 20:51:00 +02:00
Markus Kraus
7ecfd1309d ReOrg the inline function 2020-05-30 20:48:19 +02:00
Markus Kraus
91053171e7 Add Parameter Position 2020-05-29 19:17:01 +02:00
Markus Kraus
dd4bb2f415 fix Typos 2020-05-28 21:06:40 +02:00
Markus Kraus
4d1436b857 Fix Var Naming 2020-05-28 21:01:09 +02:00
Markus Kraus
4af6de8e1d Add MetaData 2020-05-28 20:58:53 +02:00
Markus Kraus
3a91b48f15 Add Secure Operation 2020-05-28 20:45:46 +02:00
Markus Kraus
91cac83589 Fix for existing configurations 2020-05-28 20:38:09 +02:00
Markus Kraus
222f75a6ca Workaround for duplicate IP 2020-05-27 18:59:32 +02:00
Markus Kraus
9a7dc6dd59 Added Error Handling and Pre-Checks 2020-05-26 22:37:26 +02:00
Markus Kraus
bd70bfb5dc processing for SetSecure 2020-05-25 21:45:13 +02:00
Markus Kraus
5c3e80bbf6 SetSecure inlline function 2020-05-25 21:41:22 +02:00
Markus Kraus
ca6f6abeb7 remove reporting array and sort 2020-05-07 20:42:54 +02:00
Markus Kraus
f53c09ae03 Replace % with Foreach-Object. 2020-05-07 20:35:44 +02:00
Markus Kraus
0c3ff917d0 Replace where with Where-Object 2020-05-07 20:34:28 +02:00
Markus Kraus
228de51f25 Fix code formatting 2020-05-07 20:33:25 +02:00
Markus Kraus
e24187a954 rename VMHost Parameter 2020-05-07 20:32:06 +02:00
Markus Kraus
be7f982767 Update Parameter 2020-05-07 20:25:40 +02:00
Markus Kraus
3a4dada48d Rename Function 2020-05-07 20:20:13 +02:00
Markus Kraus
a918eacdad Rename Get-UplinkDetail.ps1 to Get-UplinkDetails.ps1 2020-04-29 23:04:44 +02:00
Markus Kraus
76d01e7eb8 Create Get-UplinkDetail.ps1 2020-04-29 23:04:18 +02:00
Kyle Ruddy
a7ff78fee0 Create Get-TriggeredAlarm.ps1
Adding a new function to view triggered alarms for vSphere objects
2019-11-18 19:09:41 -05:00
LucD
c1e181ea11 On the off chance someone does not have PowerCLI installed
Handle ToString() error when PCLI is not present

Signed-off-by: Luc Dekens <dekens.luc@gmail.com>
2019-11-18 13:34:53 +01:00
Kyle Ruddy
4d399cc5ef Merge pull request #318 from doogleit/feature/set-clusterdpm
Sample script for DPM configuration
2019-11-01 10:01:08 +01:00
Doug Taliaferro
1b7ea80342 Create Set-ClusterDpm.ps1
Configures Distributed Power Managment (DPM)
2019-10-11 09:30:38 -04:00
Sander
c506bf400a Rearranged notes section
Tabs and spaces cleaned up
2019-09-30 21:12:56 +02:00
Kyle Ruddy
e33fdc3453 Merge pull request #305 from thebillness/patch-1
Add Tag Assigments option
2019-09-15 06:34:02 -04:00
Alex Lopez
35095fbea7 Update NewProfile.ps1
Removed redundant display of (Core) in the console as it's displayed in the Title; minor cleanup.
2019-09-10 21:46:44 -04:00
Alex Lopez
46db5d0f50 Revert "Update NewProfile.ps1"
This reverts commit 323b9e88f7.
2019-09-10 21:42:15 -04:00
Alex Lopez
323b9e88f7 Update NewProfile.ps1
Removed redundant display (Core) in the console as it's displayed in the Title
2019-09-10 21:35:12 -04:00
Alex Lopez
44fbae8d08 PS Profile - Update
Added PowerShell-Core compatibility for multi-OS support
2019-09-09 17:49:16 -04:00
LucD
c49cf2f721 PS Profile
As documented in http://www.lucd.info/2019/09/05/at-your-fingertips/

Signed-off-by: Luc Dekens <dekens.luc@gmail.com>
2019-09-05 13:25:31 +02:00
Bill Wall
9de3195b32 Add Tag Assigments option
Added the optional ability to export/import tag assignments.
2019-08-08 09:30:43 -05:00
Kyle Ruddy
9c8a928cd7 Merge pull request #252 from isjwuk/patch-2
Create Get-Migrations.ps1
2019-06-09 10:04:51 +02:00
LucD
6f22da7f67 Save-PowerCLI v2.1
- fixed incorrect module version download
- added a working cleanup in End

Signed-off-by: Luc Dekens <dekens.luc@gmail.com>
2019-05-08 10:10:32 +02: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
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
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