Create Shortcuts .lnk or .url Files With PowerShell

Have you ever needed to create shortcuts while scripting. Shortcuts are simply .lnk files with a few details highlighting a few details of the file that you would like to launch. Many people simply copy an already created shortcut. With PowerShell you can actually create a shortcut from scratch by …

Delivering Version Controlled Tools With PowerShell

The most popular PowerShell user interface IDE is Sapien’s PowerShell Studio which allows for an easy way to create WinForms applications. When packaging PowerShell code into an .exe file you can specify the version number, increasing it with each new release. If you create PowerShell based executable files with this …

Join Computer to Domain with Desired Computer Name and OU

Someone submitted a PowerShell request for scripting the adding of a workstation to the domain. The solution was to be used in an imaging process with the ability to change the workstation name and import the workstation into a user specified Organizational Unit with no reboot between steps. I will …

Export Subnets from Active Directory Sites and Services

I was asked if I could produce all the subnets from our environment. I was quick to turn to PowerShell for this request. As long as you have all of your subnets properly associated to sites in Active Directory, PowerShell can be utilized to get you the subnets. The commands …

Outlook Auto Archive v1.0 Released

Outlook Auto Archive is an Outlook Add-In that automates the setting of all folders in your mailbox to Default Archive Settings. This solution is for client side auto archiving where the local archive.pst is utilized. Auto Archiving in Microsoft Outlook requires user interaction to mark their folder(s) to Auto Archive. …