A little more PowerShell experimentation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15642 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
64b30e639c
commit
b28f6f307f
Binary file not shown.
@ -48,6 +48,10 @@ Function Select-xCATClientCert ($sender, $targetHost, $localCertificates, $remot
|
||||
Function Connect-xCAT {
|
||||
Param(
|
||||
$mgtServer,
|
||||
$mgtServerPort=3001,
|
||||
$mgtServerAltName=$mgtServer
|
||||
)
|
||||
$script:xcatconnection = New-Object Net.Sockets.TcpClient($mgtServer,$mgtServerPort)
|
||||
$script:verifycallback = Get-Content Function:\Appve-xCATCert
|
||||
$script:xcatstream = $script:xcatconnection
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user