Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

12 Commits

Repository files navigation

PowerShell Functions

A dynamic module of functions I have utilised/needed at somepoint or other.

List of functions

FunctionInfo
Convert-SecureStringToPlainTextWill Convert a [securestring] to PlainText
Convert-ToUncWill Convert any Full Path to a UNC Path given a -ComputerName
Get-ComputerInformationWill display a table of results
Get-MsBuildWill return the full path to given msbuild if not able will return default msbuild at %windir%\Microsoft.Net\
Get-SqlPackageReturn full path to sqlpackage.exe
Get-UserSetVariablesWill display a list of all the user defined variables within current session
Invoke-SqlWill execute using Integrated security if no user/password infomation is passed. Capable of executing non-query, and fully supports query parameters. Will return a list of custom objects to enable further PS querys
Show-ConfirmationPromptWill display message as question, returning $true/$false upon entry of (y/n) is case-insensitive
Test-UncPathWill return if if given path begins with '\\'
Write-LogAllows writing to screen and log, defaults to [INFO] but can be any.

About

Collection of functions found useful over time, as a dynamic module.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages