Changing an account’s password is simple, but updating the password for all of the services that start using that account can be a time-consuming and error-prone process, depending on the number of servers and services involved....More
Q. In a PowerShell workflow how can I load assemblies for certain actions?
A. In regular PowerShell assemblies can be loaded using Add-Type or [Reflection.Assembly]::LoadWithPartialName(<assembley>) however this is not legal in a PowerShell workflow. Instead you need to use a section of InlineScript and contain the assembly load and usage within it. For example:...More
Q. What's a good way to create a secure, random password in PowerShell?
A. Previously, I explained how to create a password using random characters generated by the System.Random object, but this may not be secure enough....More
Modules can be built without manifests but there are a lot of benefits to creating one. I don’t ever recommend building a module and sharing it with others without first creating a an accompanying manifest....More
PowerShell is the definitive command line interface and scripting solution for Windows, Hyper-V, System Center, Microsoft solutions and beyond. In this Master Class, we will start from the ground up, walking you through the basics of PowerShell, how to create basic scripts and building towards creating custom modules to achieve amazing results in your environment, in non-Microsoft environments, and in Azure.