< Back
Get-ClearTextStoredCredentials
Post
NAME Get-ClearTextStoredCredentials
SYNOPSIS
Gets the specified credentails stored in Credential Manager
SYNTAX
Get-ClearTextStoredCredentials [-Target] <String> [[-Type] <String>] [<CommonParameters>]
DESCRIPTION
Gets the specified credentails stored in the users Credential Manager and stores them as clear text in a varbale
so they can be used by other commands that do not accept a PSCredential object
PARAMETERS
-Target <String>
Target of the credentials to get, if no target was specified in the create command the target will be the
username
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Type <String>
The type of credential to be removed, Defualts to GENERIC
Valid values are: "GENERIC", "DOMAIN_PASSWORD", "DOMAIN_CERTIFICATE",
"DOMAIN_VISIBLE_PASSWORD", "GENERIC_CERTIFICATE", "DOMAIN_EXTENDED",
"MAXIMUM", "MAXIMUM_EX"
more information on credentail types can be found at this link
https://docs.microsoft.com/en-us/window ... redentiala
Required? false
Position? 2
Default value GENERIC
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Copyright (C) MosaicMK Software LLC - All Rights Reserved
Unauthorized copying of this application via any medium is strictly prohibited Proprietary and confidential
Written by MosaicMK Software LLC (contact@mosaicmk.com)
By using this software you agree to the following:
Agreement Permission is hereby granted, free of charge, to any person or organization obtaining a copy of this
software and associated documentation files (the 'Software'),
to deal in the Software and the rights to use and distribute the software so long a no licensing and or
documentation files are remove, revised or modified
the Software is furnished to do so, subject to the following conditions:
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
Contact: Contact@MosaicMK.com
Version 1.0.0
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$Creds = Get-ClearTextStoredCredentials -Target https://my.account.com
Gets the credentials for https://my.account.com and stores them in the $Creds variable
The credentials can then be used in commands the do not accept PSCredential object like
Register-ScheduledTask -User $creds.UserName -Password $Creds.Password
RELATED LINKS
https://www.mosaicmk.com/2019/07/creden ... odule.html
SYNOPSIS
Gets the specified credentails stored in Credential Manager
SYNTAX
Get-ClearTextStoredCredentials [-Target] <String> [[-Type] <String>] [<CommonParameters>]
DESCRIPTION
Gets the specified credentails stored in the users Credential Manager and stores them as clear text in a varbale
so they can be used by other commands that do not accept a PSCredential object
PARAMETERS
-Target <String>
Target of the credentials to get, if no target was specified in the create command the target will be the
username
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Type <String>
The type of credential to be removed, Defualts to GENERIC
Valid values are: "GENERIC", "DOMAIN_PASSWORD", "DOMAIN_CERTIFICATE",
"DOMAIN_VISIBLE_PASSWORD", "GENERIC_CERTIFICATE", "DOMAIN_EXTENDED",
"MAXIMUM", "MAXIMUM_EX"
more information on credentail types can be found at this link
https://docs.microsoft.com/en-us/window ... redentiala
Required? false
Position? 2
Default value GENERIC
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Copyright (C) MosaicMK Software LLC - All Rights Reserved
Unauthorized copying of this application via any medium is strictly prohibited Proprietary and confidential
Written by MosaicMK Software LLC (contact@mosaicmk.com)
By using this software you agree to the following:
Agreement Permission is hereby granted, free of charge, to any person or organization obtaining a copy of this
software and associated documentation files (the 'Software'),
to deal in the Software and the rights to use and distribute the software so long a no licensing and or
documentation files are remove, revised or modified
the Software is furnished to do so, subject to the following conditions:
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
Contact: Contact@MosaicMK.com
Version 1.0.0
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$Creds = Get-ClearTextStoredCredentials -Target https://my.account.com
Gets the credentials for https://my.account.com and stores them in the $Creds variable
The credentials can then be used in commands the do not accept PSCredential object like
Register-ScheduledTask -User $creds.UserName -Password $Creds.Password
RELATED LINKS
https://www.mosaicmk.com/2019/07/creden ... odule.html