Getting Started
Import the module from a local checkout:
Create a credential and connect to an HA pair:
$credential = [pscredential]::new(
'nsroot',
(ConvertTo-SecureString 'Sup3rS3cretP@ssw0rd' -AsPlainText -Force)
)
$connectParams = @{
ManagementURL = 'https://ns-01.domain.local'
Credential = $credential
HA = $true
PassThru = $true
SkipCertificateCheck = $true
}
$session = Connect-NSNode @connectParams
Use -SkipCertificateCheck only when the appliance management certificate is self-signed, expired, or issued by a private CA that is not trusted by the current machine.
Check the active session:
For certificate automation, start with Staging And Production, then choose a validation scenario from the scenario matrix.