Kolejny tydzień i kolejne podsumowanie tego, co dzieje się w świecie PowerShell (tym razem zasoby z dwóch tygodni).
📰 Wpisy i artykuły
PowerShell to C# and Back – Introduction to Classes – [Prateek Singh]
Introduction to C# and C# Classes The purpose of this blog post is to bridge the learning and concept gap between PowerShell and C# classses, to jump start you from…
PowerShell to C# & back: Hello World Explained – [Prateek Singh]
Introduction It’s like an old tradition to introduce new programming language to the readers using a ‘Hello World!’ program, so keeping that in mind here are the steps to create…
Understanding Attributes – [Dr. Tobias Weltner]
Support for attributes was added in PowerShell 2 so attributes are available pretty much in every PowerShell version that is around today. Surprisingly enough, the majority of PowerShell users isn’t very familiar with attributes, and a lot of highly useful functionality is wasted.
So let’s change that, it won’t take long. I’ll first introduce the concept of attributes and then provide you with the code snippets necessary to uncover secret PowerShell attributes and their supported values.
Do you know that we can convert a predominant parameter value into a true command? Yes, to test the connectivity of a server we usually use Test-Connection -ComputerName ServerName, but how about using the ServerName -Ping? I know what you are thinking, what if there are hundreds or thousands of servers, do we need to create those many functions? No, just only one function with the help of $MyInvocation automatic variable.
Windows Terminal: The Ultimate Guide – [Chris Blackden]
In this step-by-step walkthrough, learn all of the exciting features and how to use them for Windows Terminal!
Spora ilość gotowych motywów do Windows Terminal. Sprawdź jak się prezentuj i zastosuj u siebie.
Setup FTP Server with PowerShell – [Madhav Bhandari]
Introduction In this article, we are going to discuss step by step installation and configuration of the FTP server using PowerShell and IIS from installing the required Windows features, setting…
Default to Device Authentication when Connecting to Azure with Windows PowerShell – [Mike F Robbins]
Windows 10 Enterprise edition version 2004 is used for the scenarios demonstrated in this blog article. If you’d like to follow along, you’ll also need to install PowerShell version 7 and the Az PowerShell module. As stated in the help for Connect-AzAccount, the UseDeviceAuthentication parameter is the default authentication type for PowerShell version 6 and higher. What this means is that you’re provided with a URL and a code. They’re used to authenticate with Azure when signing in interactively from PowerShell.
In this video I show you how you can leverage Selenium based Pester tests in Azure DevOps Hosted Build Agents and tie them into a pipeline.