Hi All,
We are pointing the ESXi logs to remote Syslog Server. We have around 85+ Servers.
Is there any alternate way to execute below commands in PowerCLI without using plink.
ESXi Version : 6.7
vim-cmd proxysvc/remove_service "/ui" "httpsWithRedirect"
vim-cmd proxysvc/remove_service "/mob" "httpsWithRedirect"
vim-cmd proxysvc/remove_service "/" "httpsWithRedirect"
esxcli system syslog config set --loghost='tcp://FQDN:1514'
esxcli network firewall ruleset set --ruleset-id=syslog --enabled=true
esxcli system syslog reload
Yes, you can use the Posh-SSH module.
See my Use Posh-SSH instead of PuTTY post.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Yes, you can use the Posh-SSH module.
See my Use Posh-SSH instead of PuTTY post.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference