A hard working admin is constantly opening and closing multiple programs to get work done. When you’re working in PowerShell, we can use aliases to make switching to a new program as fast as possible.
We’ll first need to find the folder location of the program executable. We’re using Notepad in our example, which is located in “C:WindowsSystem32notepad.exe”
Next we’ll open PowerShell and enter:
new-item alias:np -value C:WindowsSystem32notepad.exe
This states that we are assigning the Alias Name “np” to the program Notepad.exe. Once the command is run, it outputs the verification of our assigning the alias to the program.
Now we can type our new shortcut “np” in the PowerShell prompt, hit enter,
and our program opens right up!
If we need to remove the alias shortcut in the future, we’ll just type:
remove-item alias:np
If you need your alias to resist deletion, then you can add one of two available options to the end of the alias creation command:
This option will allow you to change the association of the alias or delete it during the session, but you will have to add -force to the end of the command.
new-item alias:np -value C:WindowsSystem32notepad.exe –options “ReadOnly”
This option will make the alias unable to be altered or deleted while the session is open.
new-item alias:np -value C:WindowsSystem32notepad.exe –options “Constant”
To view all the current aliases, type:
Set-Location alias:
Get-ChildItem *
Creating shortcuts using aliases is pretty easy, and can be very useful. However, the alias definition will be removed the next time you open a PowerShell session, so if you want to make an alias permanent, you’ll have to modify your PowerShell Profile.
Once again, Adobe has confirmed a gigantic security hole in their buggy, bloated, and completely insecure Adobe PDF Reader application. This isn’t the first time, either—it’s like a non-stop barrage of security holes from Adobe products.
Sometimes you might have a shared computer where you don’t want the users to be able to do a Shutdown or Restart. Today we take a look at using Local Group Policy Editor to remove those buttons from the Start Menu in Windows 7.
Having issues with your PDF previews working with Microsoft Outlook or Windows Explorer on a 64-bit version of Windows? Turns out the problem is that Adobe sucks, but a quick registry hack can save the day.
If you don’t use the Hibernate option in Windows 7, you can save some disk space by disabling it. Here we will look at a few different ways to manage hibernate options in Windows 7.
Frustrated with never feeling quite certain where a shortened URL is pointing? Now you can see just where those links are directing you with the Verify Redirect extension for Firefox.
Do you want an easy way to see where shortened URLs really lead to in your favorite browser? Then you will want to take a look at the Long URL Please Bookmarklet.
Do you want an easy way to preview links or images without having to open a new tab or window? Now you can with the CoolPreviews extension for Firefox.
If you have a few different computers and drives, it can be annoying making sure the same data is each one you need. Today we take a look at making folder and data synchronization easier with the Microsoft SyncToy 2.1 utility.
With the multitude of social networks and IM services out there, it can be frustrating trying to keep track of them all. Today we take a look at the Yoono desktop application which lets you keep track of your social networks and instant messages from one central place.
Another great feature of Server 2008, is how the Delegation of Control Wizard simplifies adding rights for common tasks to groups or administrators.