tlcsupport

Disk Cleanup

Disk Cleanup – Windows Open powershell as administrator paste the code in the powershell terminal Dism.exe /online /Cleanup-Image /StartComponentCleanupDism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase The above code will clean up disk space in the server.

Disk Cleanup Read More »

Logged in User in BC NAV

List how many users are logged into BC NAV Open powershell as administrator paste the code in the powershell terminal Get-NAVServerSession -ServerInstance BC220 | Select-Object UserId, SessionId, ClientType, LoginDateTime | ForEach-Object {“$($_.UserId) | $($_.SessionId) | $($_.ClientType) | $($_.LoginDateTime)”} | Out-File -FilePath “LoggedInUsers.txt” The above code will create a text file “loggedinusers.txt” and will output user

Logged in User in BC NAV Read More »