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
Presented by Bill Stewart | The venerable Cmd.exe command shell has been with us for many years, but it suffers from numerous syntax and behavioral quirks. This class will teach you why you should write new scripts using PowerShell rather than Cmd.exe shell scripts (batch files)....More
Now that you’ve started using PowerShell as an interactive command line, you’ll need to understand that there are some fundamental differences between how Cmd.exe and PowerShell process input and output....More