Use PowerShell commands to find sources that are represented in the event log
Use PowerShell to get a list of the most recent entries in the event log and manipulate the list according to your specific needs. For instance, the below PowerShell command helps you find all of the sources that are represented in the 1000 most recent entries in the System event log.
Categories: Scripting Tags: Get-eventlog, Group-object, PowerShell, Windows PowerShell
Comparing Security Groups
Every environment has to deal with software upgrades. Sometimes, these upgrades can get messy. For example, we recently centralized on Adobe Photoshop Elements 11. We previously used a mixture of version 2, 4, and 6. Every site (22 in total) had software deployment security groups for each version. We needed a way to compare members between the new security groups (including nested groups) and the old groups.
Categories: Scripting, Security Tags: Adobe, Adobe Photoshop Elements 11, compare-object, PowerShell, User Group, Windows PowerShell
Windows PowerShell
The scripting language PowerShell introduced in Windows 7 and Windows Server 2008 provides rich access to the above mentioned systems and later platforms, including access to security settings. Experienced Systems Administrators use PowerShell to develop management tools that are specific to their environment, hence, allowing them to tackle specific issues that may be unique to their organizations.
Categories: Management, Utilities Tags: cmdlet, Get-Process, Object, PowerShell, process, Windows PowerShell
Windows 7 PowerShell Remote Management
Windows 7 includes Windows PowerShell V2 which supports remote management of computers. Before using Windows PowerShell to manage a remote computer you need to configure the WinRM (Windows Remote Management) service on the remote computer. To manage a remote Windows 7 computer from Windows Vista or earlier versions of Windows you need to update Windows PowerShell to V2 or later. The syntax of remote Windows PowerShell is as follows:
icm hostname {powershell-command}
In this exercise we will see how to configure two Windows 7 computers, where one will be managed remotely using Windows PowerShell and WinRS. Make sure that you have network connectivity between the two computers:
Categories: Management Tags: icm, PowerShell, Remote, remote computer, trustred hosts, Windows PowerShell, WinRM, WinRS, winrs -r




