Windows PowerShell PSSnapin
PowerShell Add-PSSnapin A PowerShell snapin contains extra cmdlets, usually for a specialist purpose such as Quest’s Active directory family of cmdlets. The trick is to append, inject, register, or wire up PowerShell to accept additional Verb-Noun pairs from other providers. PowerShell Topics for Add-PSSnapin Example 1 – Add-PSSnapin Example 2 …
Examine Your Logs with the Get-WinEvent Cmdlet Get-WinEvent in PowerShell v2.0 is a successor to Get-Eventlog in version 1.0. Take the opportunity to learn more about PowerShell while you undertake the worthwhile task of examining the various event logs, for example, system, Windows or DNS. PowerShell Get-WinEvent Topics Example 1: …
Introduction to PowerShell in Exchange Server 2007 The long-term reason for learning PowerShell is to configure Exchange 2007 and Windows Server 2008. However, you can get started with PowerShell right now. I suggest that you begin by using PowerShell instead of cmd. My point is that all the commands such …
Introduction to Windows PowerShell Verbs for Scripting In Windows PowerShell, verbs always come first in the Verb-Noun command pair. Get-Noun, set-value, remove-Item. Only 50 verbs perform 80% of PowerShell tasks. So far I have only used about 25 verbs. Experiment With Get-Verb Experiment with these commands, just substitute the noun …
Windows PowerShell Read-Host (Input Box) When you need user input, then employ Read-Host with associated variables. This is PowerShell’s equivalent of MsgBox() in VBScript. Windows PowerShell Read-Host Topics PowerShell Script To Generate an Input Box Further Research on Read-Host Creating a Pop-up Message ♣ PowerShell Script To Generate an Input …