Skip to content

Commit bf2e740

Browse files
authored
Merge pull request MicrosoftDocs#3287 from MicrosoftDocs/chrisda
Update Get-TextMessagingAccount.md
2 parents 194b619 + f91ec19 commit bf2e740

File tree

81 files changed

+182
-222
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+182
-222
lines changed

exchange/exchange-ps/exchange/active-directory/Get-DomainController.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
4545
$UserCredentials = Get-Credential; Get-DomainController -DomainName corp.contoso.com -Credential $UserCredentials | Format-Table -AutoSize Name, ADSite
4646
```
4747

48-
This example retrieves a list of global catalog servers in the corp.contoso.com domain. Because a different set of credentials are required to access this domain, the Get-Credential cmdlet is used to obtain the user name and password from the user.
48+
This example retrieves a list of global catalog servers in the corp.contoso.com domain. Because a different set of credentials are required to access this domain, the Get-Credential cmdlet is used to obtain the username and password from the user.
4949

50-
The first command displays a prompt to the user that accepts the user name and password. The credentials are then stored in the $UserCredentials variable. The second command uses the $UserCredentials variable for the Credential parameter value. To make the list more readable, the output is piped to the Format-Table cmdlet and only the Name and ADSite properties are displayed.
50+
The first command displays a prompt to the user that accepts the username and password. The credentials are then stored in the $UserCredentials variable. The second command uses the $UserCredentials variable for the Credential parameter value. To make the list more readable, the output is piped to the Format-Table cmdlet and only the Name and ADSite properties are displayed.
5151

5252
For more information about pipelining and the Format-Table cmdlet, see Pipelining (https://technet.microsoft.com/library/aa998260.aspx) and Working with command output (https://technet.microsoft.com/library/bb123533.aspx).
5353

@@ -69,7 +69,7 @@ Accept wildcard characters: False
6969
```
7070
7171
### -Credential
72-
The Credential parameter specifies the user name and password that's used to run this command. Typically, you use this parameter in scripts or when you need to provide different credentials that have the required permissions.
72+
The Credential parameter specifies the username and password that's used to run this command. Typically, you use this parameter in scripts or when you need to provide different credentials that have the required permissions.
7373
7474
This parameter requires the creation and passing of a credential object. This credential object is created by using the Get-Credential cmdlet. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
7575

exchange/exchange-ps/exchange/antispam-antimalware/Get-MailboxJunkEmailConfiguration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ Accept wildcard characters: True
9494
```
9595
9696
### -Credential
97-
The Credential parameter specifies the user name and password that's used to run this command. Typically, you use this parameter in scripts or when you need to provide different credentials that have the required permissions.
97+
The Credential parameter specifies the username and password that's used to run this command. Typically, you use this parameter in scripts or when you need to provide different credentials that have the required permissions.
9898
99-
This parameter requires the creation and passing of a credential object. This credential object is created by using the Get-Credential cmdlet. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
99+
A value for this parameter requires the Get-Credential cmdlet. To pause this command and receive a prompt for credentials, use the value `(Get-Credential)`. Or, before you run this command, store the credentials in a variable (for example, `$cred = Get-Credential`) and then use the variable name (`$cred`) for this parameter. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
100100

101101
```yaml
102102
Type: PSCredential

exchange/exchange-ps/exchange/client-access-servers/Set-ClientAccessServer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Accept wildcard characters: False
9696
### -AlternateServiceAccountCredential
9797
The AlternateServiceAccountCredential parameter specifies a credential an alternative service account that's typically used for Kerberos authentication in Exchange Server 2010 coexistence environments.
9898
99-
This parameter requires you to create a credentials object by using the Get-Credential cmdlet. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
99+
A value for this parameter requires the Get-Credential cmdlet. To pause this command and receive a prompt for credentials, use the value `(Get-Credential)`. Or, before you run this command, store the credentials in a variable (for example, `$cred = Get-Credential`) and then use the variable name (`$cred`) for this parameter. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
100100

101101
```yaml
102102
Type: PSCredential[]

exchange/exchange-ps/exchange/client-access-servers/Set-ClientAccessService.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Accept wildcard characters: False
7676
### -AlternateServiceAccountCredential
7777
The AlternateServiceAccountCredential parameter specifies an alternative service account that's typically used for Kerberos authentication in Exchange Server 2010 coexistence environments.
7878
79-
This parameter requires you to create a credentials object by using the Get-Credential cmdlet. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
79+
A value for this parameter requires the Get-Credential cmdlet. To pause this command and receive a prompt for credentials, use the value `(Get-Credential)`. Or, before you run this command, store the credentials in a variable (for example, `$cred = Get-Credential`) and then use the variable name (`$cred`) for this parameter. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
8080

8181
```yaml
8282
Type: PSCredential[]

exchange/exchange-ps/exchange/client-access/Export-AutoDiscoverConfig.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ Accept wildcard characters: False
147147
### -SourceForestCredential
148148
The SourceForestCredential parameter specifies the credentials to use when connecting to the source forest.
149149
150+
A value for this parameter requires the Get-Credential cmdlet. To pause this command and receive a prompt for credentials, use the value `(Get-Credential)`. Or, before you run this command, store the credentials in a variable (for example, `$cred = Get-Credential`) and then use the variable name (`$cred`) for this parameter. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
151+
150152
```yaml
151153
Type: PSCredential
152154
Parameter Sets: (All)
@@ -162,6 +164,8 @@ Accept wildcard characters: False
162164
### -TargetForestCredential
163165
The TargetForestCredential parameter specifies the credentials to use to connect to the target forest.
164166

167+
A value for this parameter requires the Get-Credential cmdlet. To pause this command and receive a prompt for credentials, use the value `(Get-Credential)`. Or, before you run this command, store the credentials in a variable (for example, `$cred = Get-Credential`) and then use the variable name (`$cred`) for this parameter. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
168+
165169
```yaml
166170
Type: PSCredential
167171
Parameter Sets: (All)

exchange/exchange-ps/exchange/client-access/Get-CASMailbox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Accept wildcard characters: False
156156
```
157157
158158
### -Credential
159-
The Credential parameter specifies the user name and password that's used to run this command. Typically, you use this parameter in scripts or when you need to provide different credentials that have the required permissions.
159+
The Credential parameter specifies the username and password that's used to run this command. Typically, you use this parameter in scripts or when you need to provide different credentials that have the required permissions.
160160
161161
This parameter requires the creation and passing of a credential object. This credential object is created by using the Get-Credential cmdlet. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
162162

exchange/exchange-ps/exchange/client-access/Get-CASMailboxPlan.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ Accept wildcard characters: False
7676
```
7777
7878
### -Credential
79-
The Credential parameter specifies the user name and password that's used to run this command. Typically, you use this parameter in scripts or when you need to provide different credentials that have the required permissions.
79+
The Credential parameter specifies the username and password that's used to run this command. Typically, you use this parameter in scripts or when you need to provide different credentials that have the required permissions.
8080
81-
This parameter requires the creation and passing of a credential object. This credential object is created by using the Get-Credential cmdlet. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
81+
A value for this parameter requires the Get-Credential cmdlet. To pause this command and receive a prompt for credentials, use the value `(Get-Credential)`. Or, before you run this command, store the credentials in a variable (for example, `$cred = Get-Credential`) and then use the variable name (`$cred`) for this parameter. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
8282

8383
```yaml
8484
Type: PSCredential

exchange/exchange-ps/exchange/client-access/Get-MailboxMessageConfiguration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ Accept wildcard characters: False
8484
```
8585
8686
### -Credential
87-
The Credential parameter specifies the user name and password to use to access the mailbox.
87+
The Credential parameter specifies the username and password to use to access the mailbox.
8888
89-
This parameter requires you to create a credentials object by using the Get-Credential cmdlet. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
89+
A value for this parameter requires the Get-Credential cmdlet. To pause this command and receive a prompt for credentials, use the value `(Get-Credential)`. Or, before you run this command, store the credentials in a variable (for example, `$cred = Get-Credential`) and then use the variable name (`$cred`) for this parameter. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
9090

9191
```yaml
9292
Type: PSCredential

exchange/exchange-ps/exchange/client-access/Get-TextMessagingAccount.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ Get-TextMessagingAccount -Identity [email protected]
4343

4444
This example returns the text messaging settings for Tony's mailbox.
4545

46+
### -------------------------- Example 2 --------------------------
47+
```
48+
$mbx = Get-Mailbox -RecipientTypeDetails UserMailbox -ResultSize Unlimited
49+
$mbx | foreach {Get-TextMessagingAccount -Identity $_ | where {($_.NotificationPhoneNumberVerified -eq $true)} | Format-Table Identity,NotificationPhoneNumber}
50+
```
51+
52+
This example finds all user mailboxes where text messaging notifications are enabled.
53+
4654
## PARAMETERS
4755

4856
### -Identity
@@ -81,7 +89,9 @@ Accept wildcard characters: False
8189
```
8290
8391
### -Credential
84-
This parameter requires you to create a credentials object by using the Get-Credential cmdlet. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
92+
The Credential parameter specifies the username and password that's used to run this command. Typically, you use this parameter in scripts or when you need to provide different credentials that have the required permissions.
93+
94+
A value for this parameter requires the Get-Credential cmdlet. To pause this command and receive a prompt for credentials, use the value `(Get-Credential)`. Or, before you run this command, store the credentials in a variable (for example, `$cred = Get-Credential`) and then use the variable name (`$cred`) for this parameter. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
8595

8696
```yaml
8797
Type: PSCredential

exchange/exchange-ps/exchange/client-access/Test-ImapConnectivity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Accept wildcard characters: False
181181
### -MailboxCredential
182182
The MailboxCredential parameter specifies the mailbox credential to use for a single mailbox test.
183183
184-
This parameter requires you to create a credentials object by using the Get-Credential cmdlet. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
184+
A value for this parameter requires the Get-Credential cmdlet. To pause this command and receive a prompt for credentials, use the value `(Get-Credential)`. Or, before you run this command, store the credentials in a variable (for example, `$cred = Get-Credential`) and then use the variable name (`$cred`) for this parameter. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
185185

186186
```yaml
187187
Type: PSCredential

exchange/exchange-ps/exchange/client-access/Test-OutlookConnectivity.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ Accept wildcard characters: False
306306
### -Credential
307307
The Credential parameter specifies the credential used by the probe. The system's test credentials are used by default
308308
309-
This parameter requires you to create a credentials object by using the Get-Credential cmdlet. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
309+
A value for this parameter requires the Get-Credential cmdlet. To pause this command and receive a prompt for credentials, use the value `(Get-Credential)`. Or, before you run this command, store the credentials in a variable (for example, `$cred = Get-Credential`) and then use the variable name (`$cred`) for this parameter. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
310310

311311
```yaml
312312
Type: PSCredential
@@ -340,7 +340,7 @@ This parameter is available or functional only in Exchange Server 2010.
340340

341341
The MailboxCredential parameter specifies certain credentials to allow logon access to a user's mailbox. Use the parameter along with the Identity parameter to access a user's mailbox when you don't have access permissions.
342342

343-
This parameter requires you to create a credentials object by using the Get-Credential cmdlet. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
343+
A value for this parameter requires the Get-Credential cmdlet. To pause this command and receive a prompt for credentials, use the value `(Get-Credential)`. Or, before you run this command, store the credentials in a variable (for example, `$cred = Get-Credential`) and then use the variable name (`$cred`) for this parameter. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
344344

345345
```yaml
346346
Type: PSCredential

exchange/exchange-ps/exchange/client-access/Test-OutlookWebServices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Accept wildcard characters: False
104104
```
105105
106106
### -Identity
107-
The Identity parameter specifies any valid address in the forest. If you specify this parameter, incorrectly formed addresses and addresses that are outside the forest are rejected. This address is used to test the Outlook provider. This property accepts the domain and user name in the domain\\user name format or an Active Directory GUID and resolves them to the SMTP address that's needed to authenticate.
107+
The Identity parameter specifies any valid address in the forest. If you specify this parameter, incorrectly formed addresses and addresses that are outside the forest are rejected. This address is used to test the Outlook provider. This property accepts the domain and username in the domain\\username format or an Active Directory GUID and resolves them to the SMTP address that's needed to authenticate.
108108
109109
```yaml
110110
Type: RecipientIdParameter

exchange/exchange-ps/exchange/client-access/Test-OwaConnectivity.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ This example tests the connectivity of a specific Client Access server Contoso12
8484
### -MailboxCredential
8585
The MailboxCredential parameter specifies the mailbox credential for a single URL test.
8686

87+
A value for this parameter requires the Get-Credential cmdlet. To pause this command and receive a prompt for credentials, use the value `(Get-Credential)`. Or, before you run this command, store the credentials in a variable (for example, `$cred = Get-Credential`) and then use the variable name (`$cred`) for this parameter. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
88+
8789
The MailboxCredential parameter is required only when using the URL parameter.
8890

8991
```yaml

exchange/exchange-ps/exchange/client-access/Test-PopConnectivity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ Accept wildcard characters: False
175175
### -MailboxCredential
176176
The MailboxCredential parameter specifies the mailbox credential to use for a single mailbox test.
177177
178-
This parameter requires you to create a credentials object by using the Get-Credential cmdlet. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
178+
A value for this parameter requires the Get-Credential cmdlet. To pause this command and receive a prompt for credentials, use the value `(Get-Credential)`. Or, before you run this command, store the credentials in a variable (for example, `$cred = Get-Credential`) and then use the variable name (`$cred`) for this parameter. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
179179

180180
```yaml
181181
Type: PSCredential

exchange/exchange-ps/exchange/client-access/Test-PowerShellConnectivity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Accept wildcard characters: False
115115
### -TestCredential
116116
The TestCredential parameter specifies the credentials to use for the test.
117117
118-
This parameter requires you to create a credentials object by using the Get-Credential cmdlet. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
118+
A value for this parameter requires the Get-Credential cmdlet. To pause this command and receive a prompt for credentials, use the value `(Get-Credential)`. Or, before you run this command, store the credentials in a variable (for example, `$cred = Get-Credential`) and then use the variable name (`$cred`) for this parameter. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
119119

120120
You can only use this parameter with the ConnectionUri parameter.
121121

exchange/exchange-ps/exchange/client-access/Test-WebServicesConnectivity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ Accept wildcard characters: False
286286
### -MailboxCredential
287287
The MailboxCredential parameter specifies the mailbox credential to use for a single mailbox test.
288288
289-
This parameter requires you to create a credentials object by using the Get-Credential cmdlet. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
289+
A value for this parameter requires the Get-Credential cmdlet. To pause this command and receive a prompt for credentials, use the value `(Get-Credential)`. Or, before you run this command, store the credentials in a variable (for example, `$cred = Get-Credential`) and then use the variable name (`$cred`) for this parameter. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
290290

291291
This parameter is required when you use the Identity parameter.
292292

exchange/exchange-ps/exchange/connected-accounts/New-HotmailSubscription.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ Accept wildcard characters: False
7676
```
7777
7878
### -Password
79-
The Password parameter specifies the password used to sign in to the Hotmail mailbox. You must specify the value for this parameter in a secure format, for example, (ConvertTo-SecureString -String '\<password\>' -AsPlainText -Force).
79+
The Password parameter specifies the password used to sign in to the Hotmail mailbox.
80+
81+
This parameter uses the syntax `(ConvertTo-SecureString -String '<password>' -AsPlainText -Force)`. Or, before you run this command, store the password as a variable (for example, `$password = Read-Host "Enter password" -AsSecureString`), and then use the variable name (`$password`) for this parameter.
8082

8183
```yaml
8284
Type: SecureString

exchange/exchange-ps/exchange/connected-accounts/New-ImapSubscription.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ Accept wildcard characters: False
7171
```
7272
7373
### -IncomingPassword
74-
The IncomingPassword parameter specifies the password used to sign in to the IMAP mailbox. You must specify the value for this parameter in a secure format, for example, (ConvertTo-SecureString -String '\<password\>' -AsPlainText -Force).
74+
The IncomingPassword parameter specifies the password used to sign in to the IMAP mailbox.
75+
76+
This parameter uses the syntax `(ConvertTo-SecureString -String '<password>' -AsPlainText -Force)`. Or, before you run this command, store the password as a variable (for example, `$password = Read-Host "Enter password" -AsSecureString`), and then use the variable name (`$password`) for this parameter.
7577

7678
```yaml
7779
Type: SecureString
@@ -101,7 +103,7 @@ Accept wildcard characters: False
101103
```
102104

103105
### -IncomingUserName
104-
The IncomingUserName parameter specifies the user name used to sign in to the IMAP mailbox.
106+
The IncomingUserName parameter specifies the username used to sign in to the IMAP mailbox.
105107

106108
```yaml
107109
Type: String

0 commit comments

Comments
 (0)