About PowerShell is educational series of videos that teach you about different aspects of PowerShell usage.
All the code is available on GitHub.
About PowerShell is educational series of videos that teach you about different aspects of PowerShell usage.
All the code is available on GitHub.
Code fails - whether because of reasons out of our control, or because we didn’t consider the situation it might fail. Expired credentials, timeout connections, lack of permissions go genuine software bug - each of these are potential problem which might fall our code over. And if we don’t handle the error, our script will simply throw and terminate. It’s certainly not desired state. In this video I’ll show you different ways PowerShell can error, how to debug such errors and how to handle them - so that we are in control....
Web Applications are popular, and often require to either knowing some front-end development or using some other products which allow to build some applications. What about PowerShell, can you actually build a web app using only PowerShell language? Yes, you can write a web app in PowerShell, and I’m going to show you how in this video. It comes down to two PowerShell modules - Pode and Pode.Web - all you need to do is to run Install-Module Pode,Pode....
The World talks constantly about DevOps, CI/CI pipelines, automation - which great, but where to actually start? Especially when you’ve been writing PowerShell which is often used as automation language, but not actually as programming language? In this video I’ll show you how to create a build pipeline for PowerShell module, from scratch. We will start from creating a project, creating new Git repository, pushing code to repository to finally create a pipeline which takes care of building the module, versioning it and finally publishing....
Organising all files, scripts and functions required to build a module might give one a headache. PowerShell doesn’t come with native way of building the module, which doesn’t make our job easier. Hence, we’re going to use ModuleBuilder from PowerShell community so that the way we organise the code is predictable and used widely across other PowerShell projects. In this video I’ll walk you through the process of preparing, organising and finally building the module....
The more PowerShell code you write results in more and more scripts. Often you have multiple scripts managing one domain or application. What in situation when scripts start to use other scripts to work, creating so called dependency? PowerShell module is the answer - it’s the native way of bundling in multiple functions together as a single file. And the best comes with Module’s Manifest, a file that describes things like version of your module, requirements for it to run, author’s details etc....