Prepare next release 0.2.1.X #18
@ -14,16 +14,8 @@ function Connect-To {
|
|||||||
same hostname.
|
same hostname.
|
||||||
|
|
||||||
.PARAMETER Type
|
.PARAMETER Type
|
||||||
Specify the host type of the target. Currently implemented targets are:
|
Specify the host type of the target. Currently implemented targets are: Possible connection values are:
|
||||||
|
CiscoUcs, FTP, NetAppFAS, VMware, CisServer, ExchangeHTTP, ExchangeHTTPS, SCP.
|
||||||
- CiscoUcs Establish a connection to a Cisco UCS fabric interconnect.
|
|
||||||
- FTP Establish a connection to a FTP host.
|
|
||||||
- NetAppFAS Establish a connection to a NetApp Clustered ONTAP filer.
|
|
||||||
- VMware Establish a connection to a VMware vCenter or ESXi host.
|
|
||||||
- CisServer Establish a connection to a Vmware CisServer.
|
|
||||||
- ExchangeHTTP Start a new remote session to the given Exchange server via insecure http.
|
|
||||||
- Exchange HTTPS Start a new remote session to the given exchange server with the secure https endpoint.
|
|
||||||
- SCP Establish a SCP connection.
|
|
||||||
|
|
||||||
.PARAMETER Credentials
|
.PARAMETER Credentials
|
||||||
Use this parameter to bypass the stored credentials. Without this parameter Connect-To tries to read the
|
Use this parameter to bypass the stored credentials. Without this parameter Connect-To tries to read the
|
||||||
@ -64,12 +56,6 @@ function Connect-To {
|
|||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
Connect-To -RemoteHost "exchange01.myside.local" -Type ExchangeHTTPS
|
Connect-To -RemoteHost "exchange01.myside.local" -Type ExchangeHTTPS
|
||||||
|
|
||||||
.EXAMPLE
|
|
||||||
$MyCreds = Get-Credential
|
|
||||||
Connect-To -RemoteHost "vcr01.myside.local" -Type VMware -Credentials $MyCreds
|
|
||||||
Get-VM -Name "*vlm*" | Select-Object -Property Name
|
|
||||||
Disconnect-From -RemoteHost "vcr01.myside.local" -Type VMware
|
|
||||||
|
|
||||||
.NOTES
|
.NOTES
|
||||||
File Name : Connect-To.ps1
|
File Name : Connect-To.ps1
|
||||||
Author : Marco Blessing - marco.blessing@googlemail.com
|
Author : Marco Blessing - marco.blessing@googlemail.com
|
||||||
|
@ -14,15 +14,8 @@ function Disconnect-From {
|
|||||||
same hostname.
|
same hostname.
|
||||||
|
|
||||||
.PARAMETER Type
|
.PARAMETER Type
|
||||||
Specify the host type of the target. Currently implemented targets are:
|
Specify the host type of the target. Currently implemented targets are: CiscoUcs, FTP, NetAppFAS, VMware,
|
||||||
- CiscoUcs Terminates the connection from a Cisco UCS Fabric Interconnect.
|
CisServer, ExchangeHTTP, ExchangeHTTPS, SCP.
|
||||||
- FTP Terminates the connection from a FTP host.
|
|
||||||
- NetAppFAS Terminates the connection from a NetApp Clustered ONTAP filer.
|
|
||||||
- VMware Terminates the connection from a VMware vCenter or ESXi host.
|
|
||||||
- CisServer Terminates the connection from a Vmware CisServer.
|
|
||||||
- ExchangeHTTP Remove the existing remote session to the given Exchange server
|
|
||||||
- ExchangeHTTPS Remove the existing remote session to the given Exchange server
|
|
||||||
- SCP Terminates the existing SCP session.
|
|
||||||
|
|
||||||
.PARAMETER Force
|
.PARAMETER Force
|
||||||
Force the disconnect, even if the disconnect would fail.
|
Force the disconnect, even if the disconnect would fail.
|
||||||
|
Loading…
Reference in New Issue
Block a user