For local development I often need Windows server and I use trial version. As six months came through, I need to buy or extend it. Of course, I prefer to extend 🙂
Open PowerShell as administrator and execute the command:
slmgr -rearm
In my PowerShell script, which updated the content at my Personal site, became errors. I really don’t know why it stopped working at one moment, but started to debug.
(read more...)Today I will write about a very important option in VS 2022, which is called 'Enable Just My Code'. I don't really know, why is set so. In my opinion, almost all the developers update this value after installation of Visual Studio.
(read more...)Recently I met a new kind of screen locker while browsing. I could see it with Chrome and Edge in Windows 11. It opens a window which looks like a Windows defender and tells you to call to a number of the support. Of course, you will just pay too much for this call and that’s all. But it’s not easy to close this window. I will write how to do it.
(read more...)You can add the service with PowerShell. New-Service and Get-service are available in PowerShell 5, for 'Remove-Service' PowerShell >= 6 required. Otherwise you can use 'sc.exe DELETE MyMegaServiceApplication'. You should execute it with as an administrator. Not any application you can start a service. As a .Net developer, I usually create .Net solutions, in this case you should create application based on 'worker service' template in VS 2022 or any other IDE.
(read more...)Create a self-signed public certificate to authenticate your application in PowerShell
(read more...)The error is:
Configuration loaded builds=0
listen_address not defined, metrics & debug endpoints disabled builds=0
[session_server].listen_address not defined, session endpoints disabled builds=0
In gitlab runners allor “Run untagged jobs: Indicates whether this runner can pick jobs without tags”, set the checkbox correspondingly.
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...)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...)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...)