PowerShell Core Skills
Learn how to
- Administer servers and workstations using Windows PowerShell in a Windows Server 2016 environment
- Harness .NET functionality through PowerShell cmdlets (‘Command Lets’)
- Manage the execution of scripts
- Leverage Windows Management Instrumentation (WMI) for computer inventories and configuration
- Manipulate local and active directory objects using the Active Directory Services Interface (ADSI) interface
Content
Introduction to PowerShell
Identifying tasks for automation
Analysing existing automation solutions
Combining the shell and scripting language
Using the .NET framework to expanding the scope of managed objects
PowerShell Fundamentals
Accessing the PowerShell Console
Contrasting expression and command modes
Accessing the PowerShell help menu
Navigating PowerShell drives
Configuring the PowerShell Interface
Using the enhanced security policy
Preventing malicious code execution
Using Profiles to optimise the users’ environ-ment
Invoking ‘cmdlets’ – Command Lets
Streamlining scripts with simplified syntax
Improving productivity and maintainability through consistent command structure
Managing Input and Output
Securing interactive input using AsSecureString
Obtaining input from multiple file formats
Formatting output for clarity
Redirecting output to alternate locations
Manipulating PowerShell Object Instances
Reading and writing object properties
Driving object behaviour with method operators
Controlling Script Execution
Constructing object pipelines
Pipelining objects to automate administrative tasks
Isolating objects through filtering
Using WMI Object Instances to Automate Computer Management
Assigning properties to control computer configuration
Invoking methods to perform system administration
Harnessing powerful WMI Query Language (WQL) queries
Implementing Flow Control
Enumerating objects via for each-object loops
Using Comparison operators
Using the Switch statement
Creating code using functions
Using Wildcard Operators to increase the power of expressions
Unleashing the Power of .NET Objects
Working with static classes and methods
Retrieving object information through reflection
Parsing remote computer event logs
Configuring Systems with Windows Management Instrumentation (WMI)
Using the ADSI Editor
Accessing the Active Directory (AD) with the LDAP provider
Creating users, computer and groups Manipulating and deleting existing Active Directory objects
Manipulating group memberships
Using the WinNT Provider to Administer Workstations
Accessing local SAM databases
Fine-tuning local users and groups
Accessing and Manipulating Forest-Wide Data
Enumerating sites and subnets
What are Operations Masters (FSMOs)?
Managing FSMO roles
Optimising Scripts
Troubleshooting scripts
Handling runtime errors
Debugging code