#PSTip Tabify your Script
Note: This tip requires PowerShell 2.0 or above. There are several things you can do to make more readable scripts. You can do good documentation and use variables that are meaningful.
Read MoreNote: This tip requires PowerShell 2.0 or above. There are several things you can do to make more readable scripts. You can do good documentation and use variables that are meaningful.
Read MoreNote: This tip requires PowerShell 2.0 or above. I have scripts that work with multiple versions of the same third-party .
Read MoreWe use a lot of certificates for website authentication, and they expire each year. Some people end up with a collection of expired certificates.
Read MoreExcel can be used to view HTML. If you add some CSS styles to the result of ConvertTo-HTML you can add much more rich output to Excel then you would get with a simple Export-Csv
Read MoreThe -Encoding parameter in many native I/O cmdlets uses the [Microsoft.PowerShell.Commands.FileSystemCmdletProviderEncoding] enum. PS> [System.Enum]::GetNames([Microsoft.PowerShell.Commands.FileSystemCmdletProviderEncoding]) Unknown String Unicode Byte BigEndianUnicode UTF8 UTF7 UTF32 Ascii Default Oem Files that come from an IBM mainframe such as the AS/400 are often exported to ASCII or Unicode when a PC is the intended consumer.
Read More