{"id":13596570,"url":"https://github.com/RamblingCookieMonster/PowerShell","last_synced_at":"2025-04-09T16:33:05.388Z","repository":{"id":14830082,"uuid":"17552865","full_name":"RamblingCookieMonster/PowerShell","owner":"RamblingCookieMonster","description":"Various PowerShell functions and scripts","archived":false,"fork":false,"pushed_at":"2020-06-05T13:46:05.000Z","size":1224,"stargazers_count":960,"open_issues_count":19,"forks_count":266,"subscribers_count":95,"default_branch":"master","last_synced_at":"2025-04-03T17:13:14.267Z","etag":null,"topics":["powershell"],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RamblingCookieMonster.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["ramblingcookiemonster"]}},"created_at":"2014-03-08T22:50:48.000Z","updated_at":"2025-03-23T18:04:42.000Z","dependencies_parsed_at":"2022-07-16T03:16:11.501Z","dependency_job_id":null,"html_url":"https://github.com/RamblingCookieMonster/PowerShell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamblingCookieMonster%2FPowerShell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamblingCookieMonster%2FPowerShell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamblingCookieMonster%2FPowerShell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamblingCookieMonster%2FPowerShell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamblingCookieMonster","download_url":"https://codeload.github.com/RamblingCookieMonster/PowerShell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248067979,"owners_count":21042394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["powershell"],"created_at":"2024-08-01T16:02:34.641Z","updated_at":"2025-04-09T16:33:00.379Z","avatar_url":"https://github.com/RamblingCookieMonster.png","language":"PowerShell","readme":"# PowerShell\n\nVarious PowerShell functions and scripts.  These are published as [WFTools](https://www.powershellgallery.com/packages/WFTools/0.1.39) on the PowerShell Gallery (thanks to @psrdrgz for the idea!)\n\nTwo functions have been migrated to their own repositories to simplify and enable improved collaboration.  Copies remain here for historical purposes and may be updated:\n\n* [Invoke-Parallel](https://github.com/RamblingCookieMonster/Invoke-Parallel)\n* [Invoke-SqlCmd2](https://github.com/sqlcollaborative/Invoke-SqlCmd2)\n\n## Instructions\n\nThese files contain functions.  For example, Invoke-Sqlcmd2.ps1 contains the Invoke-Sqlcmd2 function.\n\n```powershell\n    # PowerShell 5, or PackageManagement available?\n    Install-Module WFTools -Force\n    Import-Module WFTools\n    Get-Command -Module WFTools\n    Get-Help ConvertTo-FlatObject -Full\n\n    # Alternatively:\n    # Download and unblock the file(s).\n    # Dot source the file(s) as appropriate.\n    . \"\\\\Path\\To\\Invoke-Sqlcmd2\"\n\n    # Use the functions\n    Get-Help Invoke-Sqlcmd2 -Full\n    Invoke-Sqlcmd2 -ServerInstance MyServer\\MyInstance -Query \"SELECT ServerName, VCNumCPU FROM tblServerInfo\" -As PSObject -Credential $cred | ?{$_.VCNumCPU -gt 8}\n```\n\nNote: Using Import-Module to load these functions will break certain scenarios for Invoke-Parallel's variable import ([details](https://github.com/RamblingCookieMonster/Invoke-Parallel/issues/16#issuecomment-77167598)) - dot source the function if you need this.\n\n## TechNet Galleries Contributions\n\nMany of these functions started out in the Technet Gallery.  You might find more context at these links.\n\n* [ConvertFrom-SID](http://gallery.technet.microsoft.com/ConvertFrom-SID-Map-SID-to-dcb354d9)\n* [Get-ADGroupMembers](http://gallery.technet.microsoft.com/Get-ADGroupMembers-Get-AD-0ee3ae48)\n* [Get-FolderEntry](http://gallery.technet.microsoft.com/Get-FolderEntry-List-all-bce0ff43)\n* [Get-GPPFile](http://gallery.technet.microsoft.com/Get-GPPFile-Get-Group-26b11d0b)\n* [Get-GPPShortcut](http://gallery.technet.microsoft.com/Get-GPPShortcut-Get-Group-5f321329)\n* [Get-InstalledSoftware](http://gallery.technet.microsoft.com/Get-InstalledSoftware-Get-5607a465)\n* [Get-MSSQLColumn](http://gallery.technet.microsoft.com/Get-MSSQLColumn-Get-f7cd7904)\n* [Get-NetworkStatistics](http://gallery.technet.microsoft.com/Get-NetworkStatistics-66057d71)\n* [Get-PropertyType](http://gallery.technet.microsoft.com/Get-PropertyType-546b9eeb)\n* [Get-ScheduledTasks](http://gallery.technet.microsoft.com/Get-ScheduledTasks-Get-d2207def)\n* [Get-UACSetting](http://gallery.technet.microsoft.com/Get-UACSetting-Query-UAC-7afae0de)\n* [Get-UserSession](http://gallery.technet.microsoft.com/Get-UserSessions-Parse-b4c97837)\n* [Invoke-Parallel](http://gallery.technet.microsoft.com/Run-Parallel-Parallel-377fd430)\n* [Open-ISEFunction](http://gallery.technet.microsoft.com/Open-defined-functions-in-22788d0f)\n* [Test-ForAdmin](http://gallery.technet.microsoft.com/Test-ForAdmin-Verify-75d84aba)\n\n## Help!\n\nWould love contributors, suggestions, feedback, and other help!\n","funding_links":["https://github.com/sponsors/ramblingcookiemonster"],"categories":["PowerShell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRamblingCookieMonster%2FPowerShell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRamblingCookieMonster%2FPowerShell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRamblingCookieMonster%2FPowerShell/lists"}