
Currently Browsing: Windows
Jun 24, 2016
How To Manage WebSites using PowerShell on IIS 8
Introduction As PowerShell continues to evolve and more features are added with each OS release there is more places to use PowerShell to automate and make many tasks easy. In this post we will explore managing websites using PowerShell, so let’s get started. the examples used in this post are from Cognos modifications to the default IIS 8 install. The Code All of the commands we will be using are... read more
Jun 4, 2016
How To View Listening UDP Ports on Windows
Introduction From time to time we need to view “UDP” ports that are in a listening state on Windows. In this short post we will see how to do this with the netstat command. Process The process to view the UDP ports in listening state is simple. Open a command prompt and type, netstat -an | find “UDP” | more: C:\>netstat -an | find “UDP” | more UDP 0.0.0.0:982 *:* UDP... read more
May 29, 2016
How to create a StartMenu link on the Desktop with PowerShell
Introduction With the interface changes to Windows 8 and above we see the ease of adding shortcuts by dragging or right clicking on the StartMenu links and sending to the desktop diminished, but with PowerShell we can easily automate creating links to folders and applications. In this post we will see just how easy it is to create these links. Code The code is simple, we will need to create a... read more
May 21, 2016
How to Build Your First Windows Server 2012 R2 Domain Controller
Introduction So you want to take the plunge and build your first Windows Server 2012 R2 Domain Controller. Well don’t worry it is not as hard you may think! In this post we will cover creating a new Domain Controller and a new Forest. So lets get started. Process First we will need to have a Windows Server 2012 R2 ready to go to become a domain controller, once you have it ready and all updates... read more
May 14, 2016
How To Use PowerShell to Retrieve User Account MemberShip data and Export to CSV
Introduction Recently had a request to retrieve specific information out of Active Directory and save the results to a CSV file for our auditors. The data to retrieve for the user is Name,Enabled,Created and MemberOf. The catch was to remove the CN and OU from the memberof output from PowerShell. In this post we will cover just how to accomplish that. Process The goal was to use PowerShell to retrieve the... read more