The typical situation is you've connected to a network share with a User ID and a password. Then for one reason or another, the password was changed. As soon as you get asked to enter the User ID and password again, even after entering the latest password, you're still getting an error message: Open Folder \\server_name\c$ is not accessible. You might not have permission to use this … [Read more...]
How to Change the Time Stamp of a File Using PowerShell
From time to time, you may need to modify the time stamp of a file for archiving or any other reasons. This PowerShell script comes in handy when you need to do it. This is for a one-off tweak of a file. If you're doing this in bulk, it's probably better to use Robocopy with a /copy:T option (see an example here) to copy all the attributes including the time stamp. Or Two … [Read more...]
How to Check Installed .NET Framework Version
This is a quick way to check an installed version of .NET Framework (as opposed to .NET Core). This works for any .NET Framework 4.5 or later. We're doing this by using a PowerShell script to get the value from the registry and a Python script to quickly match the release number to the associated .NET Framework version. This has been used so many times to get the value quickly on production … [Read more...]
How to Check Installed .NET Core Version
This is one way to determine what version of .NET Core is installed on your machine (or if it's not installed): Launch Windows PowerShell. Runtime SDK In the following example, you can see that .NET Core 2.1.2 Runtime is installed, but the SDK is not installed with the following error message: Otherwise, it will look more like the next screenshot: … [Read more...]