Ben's Blog

Posts labelled 🏷️ microsoft-windows

  1. Creating shortcuts to PowerShell Scripts

    🏷️ powershell, microsoft-windows

    You've probably noticed that when you double-click on a PowerShell script, it is opened for editing rather than being run. This is useful from a security standpoint, and while administrators have no problem opening up the shell and running the script, you've probably made…

  2. Preventing computer password expiry

    🏷️ microsoft-windows

    If, like me, you work with non-persistent virtual machines on Windows domains, you will be familiar with your machines becoming periodically disconnected from the domain. This usually manifests itself in the following error message when you attempt to log on:-