Skip to main content

Automating Administration with Windows PowerShell



Click the link below to access the course for free of cost 

https://www.udemy.com/course/powershell/?couponCode=LUCKYPRICE


This course is designed to take the system administrators to an advanced level in PowerShell Scripting. You will find ways to automate your daily work using the advantages of PowerShell scripting. The professional who wants to start with PowerShell and have some basic idea of the command line will find it extremely easy to understand the underlying concepts of PowerShell and will be able to integrate PowerShell with non-Microsoft products as well.
 
Topics that may not be Windows PowerShell concepts but are important for developing PowerShell understanding are included which comes as a bonus.


PowerShell ToolMaking: Application & Server Validation 

We need application validation at the time of critical events like post monthly patching or application upgrades to ensure things are well and good or you need this several times while resolving critical issues leading to a business down situation.   During these events, time is an important factor.

In this project, we are going to develop a robust automation solution for 'Applicati9on & System Validation' which generates a consolidated HTML report, in the end, displaying all different test case results.


File Backup, Archival, and Purge Solution


Important Content:

PowerShell Logging

PowerShell Automation Solution for Daily Validation Reports

Database interaction using PowerShell

PowerShell Automation for Web/App Service status

Windows Task Scheduler and scheduling PowerShell scripts to run

Pulling reports from Windows event viewer using this PowerShell


PowerShell Advanced Functions and PowerShell Modules

Building Validation Reports using PowerShell

PowerShell with WMI

Advanced File handling Using PowerShell

PowerShell with Windows Event Viewer

PowerShell for Programming

Use PowerShell as an Automation Tool


Briefly, The knowledge of Windows PowerShell is a must for IT professionals and this course is a one-stop-shop for gaining this necessary and in-demand skill


Happy PowerShell scripting :) 


https://www.udemy.com/course/powershell/?couponCode=LUCKYPRICE

Comments

Popular posts from this blog

Practice Exercises for PowerShell Beginner

  Practice Exercise1: File Operations/Searching/Basic PowerShell Operators 1.) Create a folder  TestingPurpose  and 3 Subfolders inside it SubFolder1, SubFolder2 2.) Create some test files inside these folders: TypeATest1.txt, TypeATest2.txt  … TypeATest50.txt into SubFolder1 TypeBTest51.txt, Purpose52Test2.txt … TypeBTest100 into SubFolder2 Needless to say that you have to use logic for creating these files. Not one by one 3.) Move all files which have an odd number in its name to SubFolder2 4.) Move all files which have even number in its name to SubFolder1 5.) Rename folder SubFolder1 to EvenFilesContainer and SubFolder2 to OddFilesContainer 5.) Prepare a list of all files currently existing inside folder  TestingPurpose      Example:  MasterFile.txt: As of YYYYMMDD HH: MM files inside Testing Purpose are: C:\testingPurpose\EvenFilesContainer\TypeBTest2.txt . . C:\testingPurpose\OddFilesContainer\TypeATest99.txt 6.) Delete all files which start with TypeA  

Practice Exercises for PowerShell Intermediate

  Dear Friend, If you have already gone through     practice exercises for PowerShell beginner,    This is another opportunity to take your Scripting knowledge to next level. Please go through the problems, develop a clear understanding, make a rough sketch and apply your PowerShell knowledge to solve the problems.  Use PowerShell's help as much possible in case you need, but don't directly search on the internet. Trust me, solving these problems will definitely boost your confidence. Problem 1: Service restart on multiple computers and logging. Write a PowerShell script to read the computer names from a text file Then, Stop a given service (say Print Spooler service ) and wait for 30 seconds after logging the status into a dedicated log file. Ensure no child process is alive so that graceful stop of service can be confirmed If there is any child process, kill it forcefully and log the information into the log file After waiting for 30 seconds, start the service Check for the s

PSScriptAnalyzer to Analyze your Scripts

When you write a PowerShell script, you might constantly think about whether you are following best practices or no.  Do you know you have a tool that is very handy to use and can you in analyzing your PowerShell scripts? It is PSScriptAnalyze First of all you need to install the module.  Install-Module -Name PSScriptAnalyzer  If your Powershell version is less than 5.1( First run below command); Install-PackageProvider Nuget -MinimumVersion 2.8.5.201 –Force And make sure you are running PowerShell in admin mode and you are running PowerShell in admin mode. & That’s it.  Now your good friend PSScriptAnalyzer will help you in analyzing your scripts.   Import-Module PSScriptAnalyzer  Invoke-ScriptAnalyzer -Path .\test.ps1  How cool is that :)  Go ahead and analyze your script and let e know how many p For more information https://github.com/PowerShell/PSScriptAnalyzer