Guy recommends :
Free Solarwinds
VM Console

Solarwinds VM Console Free Download

Find out which of your VMs are a waste of space and which VMs need more resources.



Windows PowerShell Methods

Windows PowerShell Methods

This section concentrates on pure PowerShell techniques.  I will explain how to take those first few tentative steps on your journey to master PowerShell.  If you review my techniques below, then you will get an idea of the range of PowerShell methods available.  My aim is to help you develop an approach to writing PowerShell cmdlets (scripts), which suits your learning style.

Topics for PowerShell Methods

I have sequenced these PowerShell techniques.  Thus if you are new to PowerShell I suggest that you start by downloading PowerShell from Microsoft's site, then go to item: 2. How to execute basic commands.

  1. Download the correct version of PowerShell
  2. How to Execute Basic Commands
  3. Master PowerShell's Key Commands
    Command and Expression Mode
  4. Get-Member Command
  5. Out-file
  6. Create PowerShell cmdlets
    Use PowerShell's built-in cmdlets
  7. Aliases - Types
  8. Where Statement: $_.name
  9. Loops
  10. WMI Techniques
  11. Functions - How to Create
    Function - Example Plist
  12. Enable Your 'Profile'
  13. Set-ExecutionPolicy
  14. Remote PowerShell v 2.0
  15. Stop-Computer (Shutdown)
  16. Registry Edit
  17. -ErrorAction SilentlyContinue
  18. WinRm and WSMan
  19. [System.Math] Functions
  20. Hashtables

 ♣

Contents of My PowerShell Method Pages

Each topic has its own 'how to' instructions and also 'Learning points'.  As a result you will be able to modify my examples to suit your situation.  The only pre-requisite is that you must download the correct version of PowerShell and .Net Framework for your operating system.  Microsoft's site has separate versions of PowerShell for XP, Windows Server 2003 and Vista.  In the case of Windows Server 2008, PowerShell is built-in but you need to 'Add Feature'.

Guy Recommends:  Solarwinds' Free Bulk Import ToolFree Download of Solarwinds  Bulk Import Tool

Import users from a spreadsheet.  Just provide a list of the users with their fields in the top row, and save as .csv file.  Then launch this FREE utility and match your fields with AD's attributes, click to import the users.  Optionally, you can provide the name of the OU where the new accounts will be born.

There are also two bonus tools in this free download, and all 3 have been approved by Microsoft:

  1. Bulk-import new users into Active Directory.
  2. Seek and zap unwanted user accounts.
  3. Find inactive computers.

Download your FREE bulk import tool.

Other Windows PowerShell Topics

If you like this page then please share it with your friends

 


See more Microsoft PowerShell tutorials

PowerShell Tutorials  • Methods  • Cmdlets  • PS Snapin  • Profile.ps1  • Exchange 2007

Command & Expression Mode  • PowerShell pipeline (|)  • PowerShell 'where'  • PowerShell 'Sort'

If you see an error of any kind, do let me know.  Please report any factual mistakes, grammatical errors or broken links, I will be happy to not only to correct the fault, but also to give you credit.

 

 *


Custom Search

Guy Recommends: WMI Monitor and It's Free!Solarwinds WMI Monitor

Windows Management Instrumentation (WMI) is one of the hidden treasures of Microsoft operating systems.

Fortunately, Solarwinds have created the Free WMI Monitor so that you can actually see and understand these gems of performance information.  Take the guess work out of which WMI counters to use for applications like Microsoft Active Directory, SQL or Exchange Server.

Download your free copy of WMI Monitor

 

Home Copyright © 1999-2012 Computer Performance LTD All rights reserved

Please report a broken link, or an error.