File tree Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Original file line number Diff line number Diff line change
1
+ $ContainerName = ' bccurrent'
2
+
3
+ Invoke-ScriptInBcContainer - containerName $ContainerName - scriptblock {
4
+
5
+ Set-NAVServerConfiguration `
6
+ - ServerInstance " BC" `
7
+ - KeyName ApplicationInsightsConnectionString `
8
+ - KeyValue " InstrumentationKey=a9c6ebe8-d13b-421f-903d-8d0aeca0a0c5;IngestionEndpoint=https://westeurope-5.in.applicationinsights.azure.com/;LiveEndpoint=https://westeurope.livediagnostics.monitor.azure.com/" `
9
+ - verbose
10
+
11
+ Set-NAVServerConfiguration `
12
+ - ServerInstance " BC" `
13
+ - KeyName EnableLockTimeoutMonitoring `
14
+ - KeyValue $true `
15
+ - verbose
16
+
17
+ Set-NAVServerConfiguration `
18
+ - ServerInstance " BC" `
19
+ - KeyName EnableDeadlockMonitoring `
20
+ - KeyValue $true `
21
+ - verbose
22
+
23
+ Set-NAVServerConfiguration `
24
+ - ServerInstance " BC" `
25
+ - KeyName SqlLongRunningThresholdForApplicationInsights `
26
+ - KeyValue 5 ` # way down? default: 750
27
+ - verbose
28
+
29
+ Set-NAVServerConfiguration `
30
+ - ServerInstance " BC" `
31
+ - KeyName ALLongRunningFunctionTracingThresholdForApplicationInsights `
32
+ - KeyValue 1000000 ` # way up? default: 10000
33
+ - verbose
34
+
35
+ Set-NAVServerInstance - ServerInstance bc - Restart
36
+ }
Original file line number Diff line number Diff line change 1
- Set-location " C:\_Source\Microsoft\MSDyn365BC.Code.History"
2
- Set-location " C:\_Source\MSDyn365BC.Code.History"
1
+ Set-location " C:\_Source\Microsoft\MSDyn365BC.Code.History" - errorAction SilentlyContinue
2
+ Set-location " C:\_Source\MSDyn365BC.Code.History" - errorAction SilentlyContinue
3
3
4
4
& git checkout - q " master"
5
5
& git reset -- hard " @{u}"
You can’t perform that action at this time.
0 commit comments