Skip to content

mikeTWC1984/PowerShell

This branch is 9 commits behind RamblingCookieMonster/PowerShell:master.

Folders and files

NameName
Last commit message
Last commit date
Sep 3, 2016
Mar 20, 2014
Mar 16, 2015
Aug 1, 2015
Mar 9, 2014
Jan 27, 2017
Nov 27, 2014
Mar 9, 2014
Jul 30, 2015
Oct 12, 2014
Jul 20, 2016
Mar 9, 2014
Mar 9, 2014
Mar 9, 2014
Mar 9, 2014
Mar 9, 2014
Aug 8, 2015
May 31, 2015
Jan 10, 2015
Mar 9, 2014
Mar 9, 2014
Mar 9, 2014
Jan 8, 2017
Nov 27, 2014
Jul 20, 2016
Oct 6, 2014
Mar 16, 2015
Mar 24, 2015
Mar 16, 2015
Sep 14, 2016
Oct 6, 2015
Aug 1, 2015
Apr 27, 2016
May 19, 2015
Oct 13, 2014
Apr 6, 2016
Mar 9, 2014
Mar 16, 2015
Sep 24, 2016
Oct 6, 2015
Mar 9, 2014
Feb 24, 2015
Sep 3, 2016

Repository files navigation

PowerShell

Various PowerShell functions and scripts. These are published as WFTools on the PowerShell Gallery (thanks to @psrdrgz for the idea!)

Two functions have been migrated to their own repositories to simplify and enable improved collaboration. Copies remain here for historical purposes and may be updated:

Instructions

These files contain functions. For example, Invoke-Sqlcmd2.ps1 contains the Invoke-Sqlcmd2 function.

    # PowerShell 5, or PackageManagement available?
    Install-Module WFTools -Force
    Import-Module WFTools
    Get-Command -Module WFTools
    Get-Help ConvertTo-FlatObject -Full

    # Alternatively:
    # Download and unblock the file(s).
    # Dot source the file(s) as appropriate.
    . "\\Path\To\Invoke-Sqlcmd2"

    # Use the functions
    Get-Help Invoke-Sqlcmd2 -Full
    Invoke-Sqlcmd2 -ServerInstance MyServer\MyInstance -Query "SELECT ServerName, VCNumCPU FROM tblServerInfo" -As PSObject -Credential $cred | ?{$_.VCNumCPU -gt 8}

Note: Using Import-Module to load these functions will break certain scenarios for Invoke-Parallel's variable import (details) - dot source the function if you need this.

TechNet Galleries Contributions

Many of these functions started out in the Technet Gallery. You might find more context at these links.

Help!

Would love contributors, suggestions, feedback, and other help!

About

Various PowerShell functions and scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%