asked 181k views
5 votes
To add a proxy address in active directory using powershell, utilize the set-aduser cmdlet by specifying the user identity and the proxy address to be added.

A. True
B. False

asked
User Bimawa
by
7.7k points

2 Answers

1 vote

Final answer:

To add a proxy address in active directory using PowerShell, you can utilize the Set-ADUser cmdlet. for hence, option (a) is the correct answer.

Step-by-step explanation:

To add a proxy address in active directory using PowerShell, you can utilize the Set-ADUser cmdlet. By specifying the user identity and the proxy address to be added, you can easily update the user's proxy addresses. The syntax for the command would be Set-ADUser -Identity 'username' -Add {proxyAddresses='proxyaddress'}, where 'username' is the user's identity and 'proxyaddress' is the address you want to add. For example, if you want to add the proxy address 'smtp:proxyexample.com' to the user 'JohnDoe', you would use the command Set-ADUser -Identity 'JohnDoe' -Add {proxyAddresses='smtp:proxyexample.com'}.

The statement is true. The Set-ADUser cmdlet in PowerShell is used to add a proxy address to a user in Active Directory by specifying the user's identity and the new proxy address.

The statement is true. To add a proxy address in Active Directory using PowerShell, you would indeed use the Set-ADUser cmdlet. The proxy address can be added by specifying the user identity (with the -Identity parameter) and adding the proxy address to the existing set of proxy addresses. An example of this command would look like Set-ADUser -Identity "username" -Add {proxyAddresses="smtp:newaddressexample.com"}. It's important to remember that the proxy address needs to be specified in a correct format, for instance, SMTP for the primary address and smtp for secondary addresses.

answered
User Thomas Chemineau
by
8.4k points
2 votes

The given statement is false because to add a proxy address in Active Directory using PowerShell, you should use the `Set-ADUser` cmdlet, but the specific parameter for proxy addresses is `-Add` instead of specifying the user identity and the proxy address directly.

To add a proxy address in Active Directory using PowerShell, the correct approach involves utilizing the `Set-ADUser` cmdlet with the `-Add` parameter. The `-Add` parameter allows the addition of values to multi-valued attributes, such as proxyAddresses.

This command appends the specified SMTP proxy address to the existing values for the user with the identity "UserName" in Active Directory. It's crucial to use the correct syntax to ensure the modification is accurate. This PowerShell script efficiently manages proxy addresses, a common requirement for email-related configurations within Active Directory.

Hence, the statement is false.

answered
User Ithcy
by
7.9k points