< Back
Set-CredentialsLocallyStored
Post
NAME Set-CredentialsLocallyStored
SYNOPSIS
Sets credential objects on a server that has never had them before
SYNTAX
Set-CredentialsLocallyStored [-Automate] [-Save] [-CredentialDirectory <String>] [<CommonParameters>]
Set-CredentialsLocallyStored [-All] [-Save] [<CommonParameters>]
Set-CredentialsLocallyStored [-Control] [-Save] [-CredentialDirectory <String>] [<CommonParameters>]
Set-CredentialsLocallyStored -Custom -CredentialDisplayName <String> -CredentialDirectory <String>
[<CommonParameters>]
DESCRIPTION
This function takes a Powershell script and sets credentials on the local disk encrypted with the local system
PARAMETERS
-Automate [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-All [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Control [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Custom [<SwitchParameter>]
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-CredentialDisplayName <String>
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Save [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-CredentialDirectory <String>
Required? false
Position? named
Default value "$($env:USERPROFILE)\\AutomateAPI\\"
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Set-CredentialsLocallyStored -Automate
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Set-CredentialsLocallyStored -Custom -CredentialDisplayName 'Office365' -CredentialDirectory
"C:\\Credentials"
RELATED LINKS
SYNOPSIS
Sets credential objects on a server that has never had them before
SYNTAX
Set-CredentialsLocallyStored [-Automate] [-Save] [-CredentialDirectory <String>] [<CommonParameters>]
Set-CredentialsLocallyStored [-All] [-Save] [<CommonParameters>]
Set-CredentialsLocallyStored [-Control] [-Save] [-CredentialDirectory <String>] [<CommonParameters>]
Set-CredentialsLocallyStored -Custom -CredentialDisplayName <String> -CredentialDirectory <String>
[<CommonParameters>]
DESCRIPTION
This function takes a Powershell script and sets credentials on the local disk encrypted with the local system
PARAMETERS
-Automate [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-All [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Control [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Custom [<SwitchParameter>]
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-CredentialDisplayName <String>
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Save [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-CredentialDirectory <String>
Required? false
Position? named
Default value "$($env:USERPROFILE)\\AutomateAPI\\"
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Set-CredentialsLocallyStored -Automate
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Set-CredentialsLocallyStored -Custom -CredentialDisplayName 'Office365' -CredentialDirectory
"C:\\Credentials"
RELATED LINKS