Automate it. Now, where’s that script…
Warning: PowerShell is addictive
Windows PowerShell is an object-oriented automation engine and scripting language with an interactive command-line shell designed to help IT professionals configure systems and automate administrative tasks. You can find it in every modern Windows OS starting with Windows 2008R2.
Learning Windows PowerShell is like learning to use a universal multi-tool. In this eBook, we’ll walk you through PowerShell scripting basics, show you PowerShell commands and scripts for performing the most common administrative tasks, and explain how you can schedule your PowerShell scripts and commands.
So, let’s start learning PowerShell!
Table of Contents
PowerShell Scripting Basics
- Launching the PowerShell
- Preparing to Run PowerShell Scripts
- PowerShell Cmdlets
- PowerShell Comments and Documentation
- PowerShell Pipes and Pipeline
Active Directory Management Tasks with PowerShell
- Getting Started with Active Directory PowerShell
- Creating New User and Computer Accounts
- Joining a Computer to a Domain and Removing a Computer from a Domain
- Renaming a Computer
- Resetting a Computer Account
- Disabling User and Computer Accounts
- Deleting a Computer from Active Directory
- Creating and Deleting an Active Directory Group
- Adding Users and Computers to a Group
- Removing Users and Computers from a Group
- Moving Users and Computers to a New Organizational Unit
File System Management Tasks Using PowerShell
- Viewing Objects in a Directory
- Creating Files and Folders
- Deleting Files and Folders
- Copying Files and Folders
- Moving Files and Directories
- Renaming Files
- Setting File and Folder Permissions
- Removing User Permissions
- Enabling and Disabling Permissions Inheritance
- Changing File and Folder Ownership