# Set-RASProviderAdminCredentials

## NAME

Set-RASProviderAdminCredentials

## SYNOPSIS

Update Admin Credential property to the list.

## SYNTAX

**Set-RASProviderAdminCredentials** \[-[Id](#Id)] _\<uint>_ -[Username](#Username) _\<string>_ \[-[Enabled](#Enabled) _\<bool>_] \[-[NewUsername](#NewUsername) _\<string>_] \[-[Password](#Password) _\<string>_] \[_<_[_CommonParameters_](#CommonParameters)_>_]

**Set-RASProviderAdminCredentials** \[-[Name](#Name)] _\<string>_ \[\[-[SiteId](#SiteId)] _\<uint>_] -[Username](#Username) _\<string>_ \[-[Enabled](#Enabled) _\<bool>_] \[-[NewUsername](#NewUsername) _\<string>_] \[-[Password](#Password) _\<string>_] \[_<_[_CommonParameters_](#CommonParameters)_>_]

## DESCRIPTION

Update Admin Credential to the following list.

## PARAMETERS

-**Name \<string>**\
The name of the Provider.

```
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**SiteId \<uint>**\
Site ID in which to modify the specified Provider server.

If the parameter is omitted, the site ID of the Licensing Server will be used.

```
        Required?                    false

        Position?                    1

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**Id \<uint>**\
The ID of the Provider server to modify. To obtain the ID, use the Get-RASProvider cmdlet.

```
        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**Enabled \<bool>**\
Whether credentials are enabled or not

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**Username \<string>**\
Username

```
        Required?                    true

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**NewUsername \<string>**\
The New Username

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**Password \<string>**\
Password

```
        Required?                    false

        Position?                    named

        Default value                

        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 documentation. 
```

## INPUTS

-none-

## OUTPUTS

-none-

## EXAMPLES

**---------- EXAMPLE 1 ----------**

Set-RASImageOptimizationRegistry -Id 1 -Enabled $false

Update Admin Credential property to the list..

## RELATED LINKS

* [Get-RASProviderAdminCredentials](get-rasprovideradmincredentials)
* [Add-RASProviderAdminCredentials](add-rasprovideradmincredentials)
* [Remove-RASProviderAdminCredentials](remove-rasprovideradmincredentials)
