This repository has been archived by the owner on Jul 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## About ## Content (Micro Commits) * fixes #38 * fixes #44 * Implement precise lookup hierarchy (fixes #43) * align pester test with #43 logic * split cert functions * use new cert functions for save an lookup * fix pester tests * [wip] * fix var name ref * fix exports * fix cert store location for windows shared mode * fix mandatory params * fix accidentially removed code block * add basic cert pester pests * remove old docs * update cbh blocks * update cbh blocks * update docs * move .net wrapper forpfx files * do not export .net wrapper functions * update docs * rename tests * fix private functions location * - fixes #44: FTP connection * add link to reference * add format files * add preview version shield * update markdown help files (platyps) * add emoji images in captions * fix typos * fix typos * fix typo * prepare version numbers
- Loading branch information
Showing
55 changed files
with
1,584 additions
and
661 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
--- | ||
external help file: PSCredentialStore-help.xml | ||
Module Name: PSCredentialStore | ||
online version: https://github.com/OCram85/PSCredentialStore | ||
schema: 2.0.0 | ||
--- | ||
|
||
# Connect-To | ||
|
||
## SYNOPSIS | ||
|
@@ -14,52 +7,52 @@ Connects to the given host using the stored CredentialStoreItem. | |
|
||
### Private (Default) | ||
``` | ||
Connect-To -RemoteHost <String> [-Identifier <String>] -Type <String> [-Credentials <PSCredential>] | ||
Connect-To -RemoteHost <String> [-Identifier <String>] -Type <String> [-Credentials <PSCredential>] [-PassThru] | ||
[<CommonParameters>] | ||
``` | ||
|
||
### Shared | ||
``` | ||
Connect-To -RemoteHost <String> [-Identifier <String>] -Type <String> [-Credentials <PSCredential>] | ||
[-Path <String>] [-Shared] [<CommonParameters>] | ||
Connect-To -RemoteHost <String> [-Identifier <String>] -Type <String> [-Credentials <PSCredential>] [-Shared] | ||
[-Path <String>] [-PassThru] [<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
Establish a connection to the selected host using a stored CredentialStoreItem. | ||
|
||
## EXAMPLES | ||
|
||
### EXAMPLE 1 | ||
### BEISPIEL 1 | ||
``` | ||
Connect-To -RemoteHost "ucs.myside.local" -Type CiscoUcs | ||
``` | ||
|
||
### EXAMPLE 2 | ||
### BEISPIEL 2 | ||
``` | ||
Connect-To -RemoteHost "ftp.myside.local" -Type FTP | ||
``` | ||
|
||
### EXAMPLE 3 | ||
### BEISPIEL 3 | ||
``` | ||
Connect-To -RemoteHost "fas.myside.local" -Type NetAppFAS | ||
``` | ||
|
||
### EXAMPLE 4 | ||
### BEISPIEL 4 | ||
``` | ||
Connect-To -RemoteHost "esx01.myside.local" -Type VMware | ||
``` | ||
|
||
### EXAMPLE 5 | ||
### BEISPIEL 5 | ||
``` | ||
Connect-To -RemoteHost "vCenter.myside.local" -Type CisServer | ||
``` | ||
|
||
### EXAMPLE 6 | ||
### BEISPIEL 6 | ||
``` | ||
Connect-To -RemoteHost "exchange01.myside.local" -Type ExchangeHTTP | ||
``` | ||
|
||
### EXAMPLE 7 | ||
### BEISPIEL 7 | ||
``` | ||
Connect-To -RemoteHost "exchange01.myside.local" -Type ExchangeHTTPS | ||
``` | ||
|
@@ -102,6 +95,21 @@ Accept pipeline input: False | |
Accept wildcard characters: False | ||
``` | ||
### -PassThru | ||
Returns the value from the underlying connection type function. | ||
```yaml | ||
Type: SwitchParameter | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: False | ||
Position: Named | ||
Default value: False | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -Path | ||
Define a custom path to a shared CredentialStore. | ||
|
@@ -112,7 +120,7 @@ Aliases: | |
|
||
Required: False | ||
Position: Named | ||
Default value: "{0}\PSCredentialStore\CredentialStore.json" -f $env:ProgramData | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
|
@@ -142,7 +150,7 @@ Type: SwitchParameter | |
Parameter Sets: Shared | ||
Aliases: | ||
|
||
Required: False | ||
Required: True | ||
Position: Named | ||
Default value: False | ||
Accept pipeline input: False | ||
|
@@ -167,20 +175,18 @@ Accept wildcard characters: False | |
``` | ||
### CommonParameters | ||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216). | ||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). | ||
## INPUTS | ||
### [None] | ||
## OUTPUTS | ||
### [None] | ||
## NOTES | ||
File Name : Connect-To.ps1 | ||
Author : Marco Blessing - [email protected] | ||
Requires : | ||
- File Name : Connect-To.ps1 | ||
- Author : Marco Blessing - [email protected] | ||
- Requires : | ||
## RELATED LINKS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
--- | ||
external help file: PSCredentialStore-help.xml | ||
Module Name: PSCredentialStore | ||
online version: https://github.com/OCram85/PSCredentialStore | ||
schema: 2.0.0 | ||
--- | ||
|
||
# Disconnect-From | ||
|
||
## SYNOPSIS | ||
|
@@ -21,42 +14,42 @@ Terminates a session established with Connect-To using a CredentialStoreItem. | |
|
||
## EXAMPLES | ||
|
||
### EXAMPLE 1 | ||
### BEISPIEL 1 | ||
``` | ||
Disconnect-From -RemoteHost "ucs.myside.local" -Type CiscoUcs | ||
``` | ||
|
||
### EXAMPLE 2 | ||
### BEISPIEL 2 | ||
``` | ||
Disconnect-From -RemoteHost "ftp.myside.local" -Type FTP | ||
``` | ||
|
||
### EXAMPLE 3 | ||
### BEISPIEL 3 | ||
``` | ||
Disconnect-From -RemoteHost "fas.myside.local" -Type NetAppFAS | ||
``` | ||
|
||
### EXAMPLE 4 | ||
### BEISPIEL 4 | ||
``` | ||
Disconnect-From -RemoteHost "esx01.myside.local" -Type VMware | ||
``` | ||
|
||
### EXAMPLE 5 | ||
### BEISPIEL 5 | ||
``` | ||
Disconnect-From -RemoteHost "esx01.myside.local" -Type VMware -Force:$True | ||
``` | ||
|
||
### EXAMPLE 6 | ||
### BEISPIEL 6 | ||
``` | ||
Disconnect-From -RemoteHost "vcenter.myside.local" -Type CisServer | ||
``` | ||
|
||
### EXAMPLE 7 | ||
### BEISPIEL 7 | ||
``` | ||
Disconnect-From -RemoteHost "exchange01.myside.local" -Type ExchangeHTTP | ||
``` | ||
|
||
### EXAMPLE 8 | ||
### BEISPIEL 8 | ||
``` | ||
Disconnect-From -RemoteHost "exchange01.myside.local" -Type ExchangeHTTPS | ||
``` | ||
|
@@ -111,20 +104,18 @@ Accept wildcard characters: False | |
``` | ||
### CommonParameters | ||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216). | ||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). | ||
## INPUTS | ||
### [None] | ||
## OUTPUTS | ||
### [None] | ||
## NOTES | ||
File Name : Disconnect-From.ps1 | ||
Author : Marco Blessing - [email protected] | ||
Requires : | ||
- File Name : Disconnect-From.ps1 | ||
- Author : Marco Blessing - [email protected] | ||
- Requires : | ||
## RELATED LINKS | ||
|
Oops, something went wrong.