You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b54de2f
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: azure-sql/database/xevent-code-event-file.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,15 +56,15 @@ The script starts with commands to clean up after a possible previous run, and i
56
56
2. Start PowerShell ISE as an Administrator.
57
57
3. At the prompt, type<br/>`Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser`<br/>and then press Enter.
58
58
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.
60
60
61
61
- If you rerun the script without disrupting your session, you have the convenient option of commenting out the **Add-AzureAccount** command.
62
62
63
63

64
64
65
65
### PowerShell code
66
66
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).
68
68
69
69
```powershell
70
70
## 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
241
241
242
242
1. Open SQL Server Management Studio (ssms.exe).
243
243
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.
245
245
4. Paste the following Transact-SQL script into the query pane.
246
246
5. Find every **TODO** in the script and make the appropriate edits.
247
247
6. Save, and then run the script.
@@ -442,7 +442,7 @@ GO
442
442
443
443
## Output
444
444
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.
446
446
447
447
Here is one **\<event>** element that was generated during testing:
448
448
@@ -501,7 +501,7 @@ Suppose you wanted to run the preceding Transact-SQL sample on Microsoft SQL Ser
501
501
- You would not need any kind of Transact-SQL statements for **CREATE MASTER KEY** and **CREATE CREDENTIAL**.
502
502
- 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`.
0 commit comments