@@ -4,9 +4,8 @@ description: Learn how to configure Azure Stack telemetry settings using PowerSh
4
4
author : sethmanheim
5
5
6
6
ms.topic : article
7
- ms.date : 02/12/2019
7
+ ms.date : 09/05/2024
8
8
ms.author : sethm
9
- ms.reviewer : misainat
10
9
ms.lastreviewed : 10/15/2019
11
10
12
11
# Intent: As an ASDK user, I want to learn about Azure Stack telemetry, so I can learn how use it, leverage it, and manage it.
@@ -101,39 +100,15 @@ Turning off Windows and Azure Stack telemetry disables SQL telemetry. For additi
101
100
### Enable or disable telemetry after deployment
102
101
103
102
To enable or disable telemetry after deployment, you need to have access to the Privileged End Point (PEP) which is exposed on the ERCS VMs.
104
- 1. To Enable: ` Set-Telemetry -Enable `
105
- 2. To Disable: ` Set-Telemetry -Disable `
103
+
104
+ 1 . To Enable: ` Set-Telemetry -Enable `
105
+ 1 . To Disable: ` Set-Telemetry -Disable `
106
106
107
107
PARAMETER Detail:
108
108
> .PARAMETER Enable - Turn On telemetry data upload
109
- >
109
+ >
110
110
> .PARAMETER Disable - Turn Off telemetry data upload
111
111
112
- ** Script to enable telemetry:**
113
- ``` powershell
114
- $ip = "<IP ADDRESS OF THE PEP VM>" # You can also use the machine name instead of IP here.
115
- $pwd= ConvertTo-SecureString "<CLOUD ADMIN PASSWORD>" -AsPlainText -Force
116
- $cred = New-Object System.Management.Automation.PSCredential ("<DOMAIN NAME>\CloudAdmin", $pwd)
117
- $psSession = New-PSSession -ComputerName $ip -ConfigurationName PrivilegedEndpoint -Credential $cred -SessionOption (New-PSSessionOption -Culture en-US -UICulture en-US)
118
- Invoke-Command -Session $psSession {Set-Telemetry -Enable}
119
- if($psSession)
120
- {
121
- Remove-PSSession $psSession
122
- }
123
- ```
124
-
125
- ** Script to disable telemetry:**
126
- ``` powershell
127
- $ip = "<IP ADDRESS OF THE PEP VM>" # You can also use the machine name instead of IP here.
128
- $pwd= ConvertTo-SecureString "<CLOUD ADMIN PASSWORD>" -AsPlainText -Force
129
- $cred = New-Object System.Management.Automation.PSCredential ("<DOMAIN NAME>\CloudAdmin", $pwd)
130
- $psSession = New-PSSession -ComputerName $ip -ConfigurationName PrivilegedEndpoint -Credential $cred -SessionOption (New-PSSessionOption -Culture en-US -UICulture en-US)
131
- Invoke-Command -Session $psSession {Set-Telemetry -Disable}
132
- if($psSession)
133
- {
134
- Remove-PSSession $psSession
135
- }
136
- ```
137
-
138
112
## Next steps
139
- [ Start and stop the ASDK] ( asdk-start-stop.md )
113
+
114
+ [ Start and stop the ASDK] ( asdk-start-stop.md )
0 commit comments