search
top
Currently Browsing: Powershell

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

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

How To Display Windows Shares Using PowerShell and WMI

Introduction By using PowerShell to call WMI we can gather information on the share on a system or on  a remote system. In this post we will cover how retrieve basic nd some detailed information using PowerShell and WMI. With Windows 8.1 ans Server 2012 R2 there have been added cmdlets called Get-SmbShare which will be covered in future posts. The Commands So let’s get started on getting some... read more

Installing WMF 5 and PowerShell 5 on Windows 2012 R2

Introduction PowerShell continues to improve, many features are being added and now we have PowerShell 5 that is available for installation on Windows Server 2012 and Windows 8.1. The installation is simple and only requires a reboot. Windows Management Framework 5.0 (WMF 5) includes updates to Windows PowerShell, Windows PowerShell Desired State Configuration (DSC), Windows Remote Management (WinRM),... read more

Installing WMF 5 and PowerShell 5 on Windows 2008 R2 and Windows 7

Introduction Exciting news! Microsoft has released a preview for Windows Management Framework 5 (WMF) and PowerShell 5 for Windows Server 2008 R2 and Windows 7. In this post we will cover how to install both on your Windows Server 2008 R2 and Windows 7 systems. This is a preview version as of April 2015 so make sure this is not being installed on your production systems. System Requirements Supported... read more

« Previous Entries Next Entries »

top