by Victor Ashiedu | Sep 10, 2015 | Windows Server Administration
What is a PowerShell ForEach loop? A PowerShell ForEach loop or statement is a PowerShell contruct used in iterating through values in a collection of items. The PowerShell ForEach loop allows you to loop through a collection of items and perform a defined task...
by Victor Ashiedu | Sep 1, 2015 | PowerShell Operators
What is a PowerShell Array? A PowerShell array is a data structure that stores a collection of items. The items stored may be the same or different types. How to create a PowerShell array Creating a PowerShell array is as simple as creating a variable and adding items...
by Victor Ashiedu | Aug 24, 2015 | PowerShell Parameters
Powershell -NoTypeInformation: why such a big interest? I chose to write on ‘Powershell -NoTypeInformation’ because so many people ask questions about it. In preparing to write on this topic, I was wondering why there is such a huge interest in...
by Victor Ashiedu | Aug 22, 2015 | PowerShell
What is a PowerShell Command (cmdlets)? A PowerShell command (cmdlet) is a lightweight command that is used in the Windows PowerShell environment. When you execute a PowerShell command, the Windows PowerShell invokes (calls) the command (cmdlets). Cmdlets are normally...
by Victor Ashiedu | Dec 16, 2014 | PowerShell Scripting, Sample Scripts
Backup-EventLogsĀ advanced PowerShell Function backs up Event logs for a single server, list of servers or servers in a text file. The function supports event logs backup for Windows Server 2003 (.evt); Windows Server 2008 and Windows Server 2012 (.evtx). Requirements...