PowerShell - Colorizing PowerShell ISE v3
The new PowerShell ISE script editor in PowerShell v3 lets you customize a lot of colors, so if a particular color does not show well on a projector, for example, simply change it.
Research and Development
The new PowerShell ISE script editor in PowerShell v3 lets you customize a lot of colors, so if a particular color does not show well on a projector, for example, simply change it.
Depending on which company you talk to, there are varying demands for IT technical skills. But there is one common need that most IT organizations have - soft skills.
Here's a quick and fast way of generating relative dates in any format.
Provided system restore points are enabled on your machine and your script has admin privileges, PowerShell can easily create restore points and restore the system if anything went bad.
If you're a heavy user of Google services, it can be a little confusing to set up your Gmail, Google Calendar, and Google Contacts to sync with iOS. You can get all your Google services syncing (complete with push sync—that is, messages push to your phone as soon as you receive them) with iOS by setting up just one account. The trick is to choose Microsoft Exchange at the prompt instead of Gmail. This will give you access not only to your Gmail, but your calendars and contacts, and they will all sync directly to your phone—when you add a contact in Gmail or edit an event on Google Calendar, you'll see it show up on your phone without having to sync anything.
Here's a useful function that will tell you the current location the script is executed from.
Here's an one-liner that copies all commands from your command history to the clipboard.
Using System User or group names like Administrators in scripts may not always be a good idea because they are localized and may not work on machines that use a different UI language.
Here's a simple filter that will show only those files and folders that a specific user is owner of.
The Stop-Service cmdlet cannot stop services remotely. One easy way of doing so is via Set-Service.