Windows

Fix Gilab runner error: listen_address not defined, metrics & debug endpoints disabled builds=0

The error is: Configuration loaded builds=0listen_address not defined, metrics & debug endpoints disabled builds=0[session_server].listen_address not defined, session endpoints disabled builds=0In gitlab runners allor “Run untagged jobs: Indicates whether this runner can pick jobs without tags”, set the checkbox correspondingly. Read more»

Windows

Get all child folders with PowerShell

The commandlet ‘Get-ChildItem’ will give you all the default information about the folders inside. By default they are: Mode, LastWriteTime, Length (for files) and Name. Get-ChildItem c:\Path Read more»

Windows

Set Windows Defender exclusions with PowerShell

To exclude folders, files or file extensions in scanning by Windows Defender, you can use PowerShell. It’s recommended to use by administrators. With this PowerShell script (command) you can easily set exclusion for the Windows Defender. It is useful sometime and help to improve the performance. Read more»

Windows

Move user profile folders to another drive in Windows 10

Windows

I prefer not to store operation system Windows 10 and my files on the same drive. When I have to reinstall Windows and loose data on system drive, I will not remove my files if they are on another drive. That is why I recommend to store your files on the second drive. Read more»

Windows

Truncate log files with PowerShell

It is a very common task to truncate log files. You don’t notice them and they reach the limit size always not in the appropriate time. And when this moment occurs, it’s much better to have a quick solution to decrease the size of log files. But even much better to clean logs automatically on […] Read more»

Windows

Select and move files by mask with Windows command line

Figure 2. The result of command Get-SPLogEvent

During previous 5 years I have downloaded files from FTP server. Those were texts and images, that had been downloaded from FTP resources. During these 5 years its quantity became enormous – over 150 000 items in each folder. It worked automatically, that’s why I hadn’t paid attention to disc size and quantity of files. […] Read more»

Windows

Get PID of application pool (w3wp process) using AppCmd

Figure 5. IIS window

Application pool allows you to isolate your applications from one another in case if they are running on the same server. According to this, if there are errors in one application, they will not influence other web applications executing on the same server or the IIS server itself. But if your w3wp process has 100% […] Read more»

Windows

Popular Posts