Sample Exchange

 View Only

Powercli script for disabling SLP Service on 6.7 and 6.5 vCenter Servers as per VMware KB76372 

Mar 22, 2022 09:36 PM

This script works at VC level, where it will iterate through all the Datacenters and clusters in the VC and disable SLP service on all the available hosts. Script will ensure Firewall Exception RuleSet for CIM SLP is disabled and SLP Service Policy is updated to make sure changed are persistent across reboots. You just need to enter the vCenter IP address.
#MIT
#ESXi
#CIM
#PowerShell
#powercli
#SLP
#VMwarePowerCLI
#vCenter
#esxi6.5
#esxi6.7

Statistics
0 Favorited
1 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
ps1 file
snippet.ps1   5 KB   1 version
Uploaded - Apr 09, 2024

Tags and Keywords

Related Entries and Links

No Related Resource entered.