All posts tagged PowerShell

Bulk Reset AD Passwords

Have you ever need to bulkĀ reset all user passwords, which were located in an OU?

The following PowerShell command does just that.

DSQUERY user “OU=GuestUsers,OU=Users,DC=PLEXUK,DC=CO,DC=UK” -limitĀ 0 | DSMOD user -pwd password123

Simply type the following command into PowerShell, and modify it to point to your OU.

And all users will have their password reset.

Windows PowerShell 3.0 and Server Manager Quick Reference Guides

The following files are contained in this download.

  • PowerShell_LangRef_v3.pdf – This four-page reference describes operators, arrays, useful commands, methods, and other tips for using Windows PowerShell 3.0. Also included is a Windows PowerShell reading and tutorial resource list. This quick reference is provided by PowerShell Magazine.
  • PowerShell_ISE_v3.pdf – This two-page reference describes keyboard shortcuts and hotkeys that you can use to navigate Windows PowerShell Integrated Scripting Environment (ISE) more quickly, and introduces the new ISE object model. Also included are tips for configuring $ps.ISE options, profiles, and properties. This quick reference is provided by PowerShell Magazine.
  • PowerShell_Examples_v3.pdf – This two-page reference describes how to perform popular IT management and scripting tasks by using Windows PowerShell 3.0, including how to fetch data by using Management OData IIS Services, how to schedule jobs, how to install Windows PowerShell Web Access by using Windows PowerShell cmdlets, and how to create new SMB file shares. This quick reference is provided by PowerShell Magazine.
  • Quick_Reference_SM_WS12.pdf – This two-page reference describes common tasks that you can perform in the new Server Manager console in Windows Server 2012 Release Candidate. Quickly learn how to manage remote servers that are running older versions of Windows Server by using the new Server Manager; how to run Server Manager deployment cmdlets for Windows PowerShell; how to save and export Server Manager settings, such as the servers you have added to the server pool, and custom server groups that you have created; where to find Server Manager log files; how to run popular WinRM commands such as creating a new listener; how to install roles and features on offline VHDs; and where to find documentation to help you manage multiple, remote servers by using Server Manager and Windows PowerShell.

Download – http://www.microsoft.com/en-us/download/details.aspx?id=30002&WT.mc_id=rss_alldownloads_all

Windows Management Framework is here!

Windows Management Framework, which includes Windows PowerShell 2.0, WinRM 2.0, and BITS 4.0, was officially released to the world this morning. By providing a consistent management interface across the various flavors of Windows, we are making our platform that much more attractive to deploy. IT Professionals can now easily manage their Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2 machines through PowerShell remoting

You can download the packages here: http://go.microsoft.com/fwlink/?LinkID=151321