/images/avatar.png

Kamil Pro

PowerShell If statement - controlling the flow of your code

In this video we are exploring how to use If statement in various scenarios. If statement allows you to take tide control over the execution of your code, by dictating your script what to do in a given situation. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 # Link to the video: https://youtu.

Managing Software with Chocolatey - Automate installation and updates of your applications

Software management is not trivial task. Preparing for silent deployment is challenging, and even if you manage to install the application, how to keep it up to date? Chocolatey is package manager for Windows, that can fully automate lifecycle of your software. In this video, I’ll show you how to install Chocolatey, then how to find software, install it and finally keeping it up to date - all coming with free open-source license.

PowerShell for IT Professionals [#20] – Next Steps with PowerShell

Congratulations! This is 20th and last lesson in the course – and my aim here is to show you various paths you can take your PowerShell journey to. I’m going to show what else you can do within PowerShell itself, as well how to keep up-to-day plus – what other doors writing code has opened for you – I’d love to hear back about this! I hope you’ve enjoyed the course so far and it will be helped you in some way – either solve a problem, got promotion, or simply learnt something new.

PowerShell for IT Professionals [#19] – Websites and APIs

PowerShell is a great server automation tool, but what about Internet and any other web served services? As it turns out, PowerShell is great in scrapping websites and consuming APIs – and it’s been one of the main development areas of the tool in the last couple of years. In this lesson we are going to see how to use PowerShell to download files, scrap websites, discover links. We will then use an API of PasswordPusher (pwpush.

PowerShell for IT Professionals [#18] – Working with text strings

Although PowerShell treats everything as object – including text strings – working with text might be particularly difficult – at least when first approached. In this lesson we are going to have a closer look at what is possible with built in text methods and see how these can help us e.g. by extracting a substring of text. PowerShell can also be great at parsing log files – we will use Select-String to quickly filter out the lines of text with the phrase we are looking for e.

PowerShell for IT Professionals [#17] – Scripting part 4 – parameters, running remotely and formatting

In the last part of scripting series, we will make the script to be able to query remote machines, e.g. servers. We will also check how to add parameters to the script (and configure the default value of parameter) so that user will able to pass the parameter name like in a standard PowerShell cmdlet. Finally, we are going to format the script so that it looks more reliable and make some refactoring so that the logic is simpler.