SMSMS

Posts Tagged ‘Windows PowerShell’

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.

Read more…

Share

Be the first to comment - What do you think?  Posted by George - April 25, 2013 at 10:44 am

Categories: Scripting   Tags: , , ,

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.

Read more…

Be the first to comment - What do you think?  Posted by Joseph - February 12, 2013 at 12:40 pm

Categories: Scripting, Security   Tags: , , , , ,

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.

Read more…

Be the first to comment - What do you think?  Posted by George - June 12, 2012 at 4:39 am

Categories: Management, Utilities   Tags: , , , , ,

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:

Read more…

Be the first to comment - What do you think?  Posted by George - June 1, 2011 at 3:23 am

Categories: Management   Tags: , , , , , , , ,