Skip to content

Commit e9b2a05

Browse files
committed
small updates
1 parent 9a6f7cf commit e9b2a05

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
}

PSScripts/NAV Extensions v2/UpdateMSDyn365bc.Code.History.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
33

44
& git checkout -q "master"
55
& git reset --hard "@{u}"

0 commit comments

Comments
 (0)