Skip to content

Commit b54de2f

Browse files
20220325 1617 SQL MI
1 parent 8975152 commit b54de2f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎azure-sql/database/xevent-code-event-file.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ The script starts with commands to clean up after a possible previous run, and i
5656
2. Start PowerShell ISE as an Administrator.
5757
3. At the prompt, type<br/>`Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser`<br/>and then press Enter.
5858
4. In PowerShell ISE, open your **.ps1** file. Run the script.
59-
5. The script first starts a new window in which you log in to Azure.
59+
5. The script first starts a new window in which you sign in to Azure.
6060

6161
- If you rerun the script without disrupting your session, you have the convenient option of commenting out the **Add-AzureAccount** command.
6262

6363
![PowerShell ISE, with Azure module installed, ready to run script.](./media/xevent-code-event-file/event-file-powershell-ise-b30.png)
6464

6565
### PowerShell code
6666

67-
This PowerShell script assumes you have already installed the Az module. For information, see [Install the Azure PowerShell module](/powershell/azure/install-Az-ps).
67+
This PowerShell script assumes you've already installed the `Az` module. For information, see [Install the Azure PowerShell module](/powershell/azure/install-Az-ps).
6868

6969
```powershell
7070
## TODO: Before running, find all 'TODO' and make each edit!!
@@ -241,7 +241,7 @@ The PowerShell script printed a few named values when it ended. You must edit th
241241

242242
1. Open SQL Server Management Studio (ssms.exe).
243243
2. Connect to your database in Azure SQL Database or SQL Managed Instance.
244-
3. Click to open a new query pane.
244+
3. Select to open a new query pane.
245245
4. Paste the following Transact-SQL script into the query pane.
246246
5. Find every **TODO** in the script and make the appropriate edits.
247247
6. Save, and then run the script.
@@ -442,7 +442,7 @@ GO
442442

443443
## Output
444444

445-
When the Transact-SQL script completes, click a cell under the **event_data_XML** column header. One **\<event>** element is displayed which shows one UPDATE statement.
445+
When the Transact-SQL script completes, select a cell under the **event_data_XML** column header. One **\<event>** element is displayed which shows one UPDATE statement.
446446

447447
Here is one **\<event>** element that was generated during testing:
448448

@@ -501,7 +501,7 @@ Suppose you wanted to run the preceding Transact-SQL sample on Microsoft SQL Ser
501501
- You would not need any kind of Transact-SQL statements for **CREATE MASTER KEY** and **CREATE CREDENTIAL**.
502502
- In the **CREATE EVENT SESSION** statement, in its **ADD TARGET** clause, you would replace the Http value assigned made to **filename=** with a full path string like `C:\myfile.xel`.
503503

504-
- No Azure Storage account need be involved.
504+
- An Azure Storage account is not needed.
505505

506506
## Next steps
507507

0 commit comments

Comments
 (0)