Difference between revisions of "Script Extracts and Examples (PowerCLI)"

Jump to navigation Jump to search
→‎Certificates: Added -WarningAction
(→‎Getting Started: Added "Certificates")
(→‎Certificates: Added -WarningAction)
Line 116: Line 116:
# Use the wizard to add the certificate
# Use the wizard to add the certificate
# Once added, go to the certificate's '''Properties''' and put your VC's hostname in the '''Friendly Name''' field
# Once added, go to the certificate's '''Properties''' and put your VC's hostname in the '''Friendly Name''' field
Alternatively, and to suppress all warning messages during a connect, use the following syntax...
<source lang="powershell">
Connect-VIServer -Server hostname -WarningAction SilentlyContinue
</source>


== Useful CmdLets etc ==
== Useful CmdLets etc ==

Navigation menu