{"id":13594481,"url":"https://github.com/Pscx/Pscx","last_synced_at":"2025-04-09T07:32:42.137Z","repository":{"id":44390607,"uuid":"42824992","full_name":"Pscx/Pscx","owner":"Pscx","description":"PowerShell Community Extensions module repository","archived":false,"fork":false,"pushed_at":"2024-08-01T10:02:12.000Z","size":5934,"stargazers_count":713,"open_issues_count":35,"forks_count":49,"subscribers_count":33,"default_branch":"master","last_synced_at":"2024-08-02T16:52:30.234Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/Pscx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-20T18:49:54.000Z","updated_at":"2024-08-01T00:56:36.000Z","dependencies_parsed_at":"2023-02-15T12:16:01.067Z","dependency_job_id":null,"html_url":"https://github.com/Pscx/Pscx","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pscx%2FPscx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pscx%2FPscx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pscx%2FPscx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pscx%2FPscx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pscx","download_url":"https://codeload.github.com/Pscx/Pscx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223375351,"owners_count":17135355,"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":[],"created_at":"2024-08-01T16:01:34.295Z","updated_at":"2024-11-06T16:31:28.571Z","avatar_url":"https://github.com/Pscx.png","language":"C#","funding_links":[],"categories":["C\\#","C# #","C#","🧰 Frameworks","Frameworks"],"sub_categories":[],"readme":"# Pscx - PowerShell Community Extensions\n\nThis PowerShell module is aimed at providing a widely useful set of additional cmdlets, providers, aliases, filters,\nfunctions and scripts for PowerShell that members of the community have expressed interest in.\n\n## Release notes\n\nSee [ReleaseNotes.txt](ReleaseNotes.txt).\n\n## Install Pscx\n\nPscx is hosted on the PowerShell Gallery.  You can install Pscx with the following command:\n\n```powershell\nInstall-Module Pscx -Scope CurrentUser\n```\n\nYou may be prompted to trust the PSGallery.  Respond with a 'y' (for yes) to proceed with the install.\n\nIf you already have installed Pscx from the PowerShell Gallery, you can update Pscx with the command:\n\n```powershell\nUpdate-Module Pscx\n```\n\n## Maintainers\n\n- [Keith Hill](https://github.com/rkeithhill) - [@r_keith_hill](http://twitter.com/r_keith_hill)\n- [Oisin Grehan](https://github.com/oising) - [@oising](http://twitter.com/oising)\n\n## Included cmdlets and functions\n\nCmdlets and functions below are sorted by noun. As always, you can get full Powershell help including examples using `get-help [command]`\n\n### ADObject\n\n#### `Get-ADObject`\n\nSearch for objects in the Active Directory/Global Catalog.\n\n### AdoCommand\n\n#### `Invoke-AdoCommand`\n\nExecute a SQL query against an ADO.NET datasource.\n\n### AdoConnection\n\n#### `Get-AdoConnection`\n\nCreate an ADO connection to any database supported by .NET on the current machine. You can enumerate available ADO.NET Data Providers with the Get-AdoDataProvider Cmdlet.\n\n### AdoDataProvider\n\n#### `Get-AdoDataProvider`\n\nList all registered ADO.NET Data Providers on the current machine.\n\n### AlternateDataStream\n\n#### `Test-AlternateDataStream`\n\nTests for the existence of the specified alternate data stream from an NTFS file.\n\n### Apartment\n\n#### `Invoke-Apartment`\n\nPSCX Cmdlet:\n\n### PscxArchive\n\n#### `Expand-PscxArchive`\n\nExpands a compressed archive file, or ArchiveEntry object, to its constituent file(s).\n\n#### `Read-PscxArchive`\n\nEnumerates compressed archives such as 7z or rar, emitting ArchiveEntry objects representing records in the archive.\n\n### Assembly\n\n#### `Test-Assembly`\n\nTests whether or not the specified file is a .NET assembly.\n\n### Base64\n\n#### `ConvertFrom-Base64`\n\nConverts base64 encoded string to byte array.\n\n#### `ConvertTo-Base64`\n\nConverts byte array or specified file contents to base64 string.\n\n### BatchFile\n\n#### `Invoke-BatchFile`\n\nInvokes the specified batch file and retains any environment variable changes it makes.\n\n### Bitmap\n\n#### `Export-Bitmap`\n\nExports bitmap objects to various formats.\n\n#### `Import-Bitmap`\n\nLoads bitmap files.\n\n### BitmapSize\n\n#### `Set-BitmapSize`\n\nSets the size of the specified bitmap.\n\n### Byte\n\n#### `Format-Byte`\n\nDisplays numbers in multiples of byte units.\n\n### BZip2\n\n#### `Write-BZip2`\n\nCreate BZIP2 format archive files from pipeline or parameter input.\n\n### PscxClipboard\n\n#### `Get-PscxClipboard`\n\nGets data from the clipboard.\n\n#### `Out-PscxClipboard`\n\nFormats text via Out-String before placing in clipboard. Can also place string in clipboard as a file.\n\n#### `Set-PscxClipboard`\n\nPuts the specified object into the system clipboard.\n\n#### `Write-PscxClipboard`\n\nWrites objects to the clipboard using their string representation, bypassing the default PowerShell formatting.\n\n### DhcpServer\n\n#### `Get-DhcpServer`\n\nGets a list of authorized DHCP servers.\n\n### DirectoryLength\n\n#### `Add-DirectoryLength`\n\nCalculates the sizes of the specified directory and adds that size\nas a \"Length\" NoteProperty to the input DirectoryInfo object.\n\n### DomainController\n\n#### `Get-DomainController`\n\nGets domain controllers.\n\n### DriveInfo\n\n#### `Get-DriveInfo`\n\nGets disk usage information on the system's disk drives.\n\n### Elevated\n\n#### `Invoke-Elevated`\n\nRuns the specified command in an elevated context.\n\n### EnvironmentBlock\n\n#### `Get-EnvironmentBlock`\n\nLists the environment blocks stored on the environment block stack.\n\n#### `Pop-EnvironmentBlock`\n\nPops the topmost environment block.\n\n#### `Push-EnvironmentBlock`\n\nPushes the current environment onto the environment block stack.\n\n### ErrorRecord\n\n#### `Resolve-ErrorRecord`\n\nResolves the PowerShell error code to a textual description of the error.\n\n### ExecutionTime\n\n#### `Get-ExecutionTime`\n\nGets the execution time for the specified Id of a command in the current\nsession history.\n\n### File\n\n#### `Edit-File`\n\nEdits a file using a regex pattern to find text to be replaced by a specified replacement string.\n\n### FileTail\n\n#### `Get-FileTail`\n\nTails the contents of a file - optionally waiting on new content.\n\n### FileTime\n\n#### `Set-FileTime`\n\nSets a file or folder's created and last accessed/write times.\n\n### FileVersionInfo\n\n#### `Get-FileVersionInfo`\n\nGets a FileVersionInfo object for the specified path.\n\n### ForegroundWindow\n\n#### `Get-ForegroundWindow`\n\nReturns the hWnd or handle of the window in the foreground on the current desktop. See also Set-ForegroundWindow.\n\n#### `Set-ForegroundWindow`\n\nGiven an hWnd or window handle, brings that window to the foreground. Useful for restoring a window to uppermost after an application which seizes the foreground is invoked. See also Get-ForegroundWindow\n\n### GC\n\n#### `Invoke-GC`\n\nInvokes the .NET garbage collector to clean up garbage objects.\n\n### GZip\n\n#### `Write-GZip`\n\nCreate GNU ZIP (GZIP) format files from pipeline or parameter input.\n\n### Hardlink\n\n#### `New-Hardlink`\n\nCreates filesystem hard links. The hardlink and the target must reside on the same NTFS volume.\n\n### Hash\n\n#### `Get-Hash`\n\nGets the hash value for the specified file or byte array via the pipeline.\n\n### HashObject\n\n#### `New-HashObject`\n\nCreate a PSObject from a dictionary such as a hashtable.\n\n### PscxHex\n\n#### `Format-PsxHex`\n\nSystem.Object[]\n\n### Host\n\n#### `Ping-Host`\n\nSends ICMP echo requests to network hosts.\n\n#### `Resolve-Host`\n\nResolves host names to IP addresses.\n\n### HostProfile\n\n#### `Edit-HostProfile`\n\nOpens the current user's profile for the current host in a text editor.\n\n### HResult\n\n#### `Resolve-HResult`\n\nResolves the hresult error code to a textual description of the error.\n\n### HttpResource\n\n#### `Get-HttpResource`\n\nGets an HTTP resource or optionally the headers associated with the resource.\n\n### Junction\n\n#### `New-Junction`\n\nCreates NTFS directory junctions.\n\n### PscxLocation\n\n#### `Set-PscxLocation`\n\nCD function that tracks location history allowing easy navigation to previous locations.\n\n### LoremIpsum\n\n#### `Get-LoremIpsum`\n\nPSCX Cmdlet:\n\n### MacOs9LineEnding\n\n#### `ConvertTo-MacOs9LineEnding`\n\nConverts the line endings in the specified file to Mac OS9 and earlier style line endings \"\\r\".\n\n### Method\n\n#### `Invoke-Method`\n\nFunction to call a single method on an incoming stream of piped objects.\n\n### Metric\n\n#### `ConvertTo-Metric`\n\nPSCX Cmdlet:\n\n### MountPoint\n\n#### `Get-MountPoint`\n\nReturns all mount points defined for a specific root path.\n\n#### `Remove-MountPoint`\n\nRemoves a mount point, dismounting the current media if any. If used against the root of a fixed drive, removes the drive letter assignment.\n\n### MSMQueue\n\n#### `Clear-MSMQueue`\n\nPurges all messages from a queue\n\n#### `Get-MSMQueue`\n\nReturns a list of all queues matching the filter parameters\n\n#### `New-MSMQueue`\n\nCreates a new queue object with the defined properties\n\n#### `Receive-MSMQueue`\n\nReceives the first message available in the queue. This call is synchronous, and blocks the current thread of execution until a message is available.\n\n#### `Send-MSMQueue`\n\nWraps an object in a Message, and places it onto the defined queue.\n\n#### `Test-MSMQueue`\n\nPSCX Cmdlet:\n\n### NullCoalescing\n\n#### `Invoke-NullCoalescing`\n\nSimilar to the C# ?? operator e.g. name = value ?? String.Empty\n\n### Object\n\n#### `Skip-Object`\n\nSkips the specified objects in the pipeline.\n\n### OpenPowerShellHere\n\n#### `Enable-OpenPowerShellHere`\n\nCreates the registry entries required to create Windows Explorer context\nmenu \"Open PowerShell Here\" for both Directories and Drives\n\n### OpticalDriveInfo\n\n#### `Get-OpticalDriveInfo`\n\nGet information on optical drive capabilities on the local machine.\n\n### Parameter\n\n#### `Get-Parameter`\n\nEnumerates the parameters of one or more commands.\n\n### PathVariable\n\n#### `Add-PathVariable`\n\nAdds the specified paths to the end of the named, path-oriented environment variable.\n\n#### `Get-PathVariable`\n\nGets the specified path-oriented environment variable.\n\n#### `Set-PathVariable`\n\nSets the specified path-oriented environment variable.\n\n### PEHeader\n\n#### `Get-PEHeader`\n\nGets the Portable Header information from an executable file.\n\n### PowerShell\n\n#### `Start-PowerShell`\n\nStarts a new Windows PowerShell process.\n\n### Privilege\n\n#### `Get-Privilege`\n\nLists privileges held by the session and their current status.\n\n#### `Set-Privilege`\n\nAdjusts privileges associated with a user (identity).\n\n### Profile\n\n#### `Edit-Profile`\n\nOpens the current user's \"all hosts\" profile in a text editor.\n\n### PSSnapinHelp\n\n#### `Get-PSSnapinHelp`\n\nGenerates a XML file containing all documentation data.\n\n### ReadOnly\n\n#### `Set-ReadOnly`\n\nSets a file's read only status to true making it read only.\n\n### RemoteProcess\n\n#### `Stop-RemoteProcess`\n\nStops a process on a remote machine.\n\n### ReparsePoint\n\n#### `Get-ReparsePoint`\n\nGets NTFS reparse point data.\n\n#### `Remove-ReparsePoint`\n\nRemoves NTFS reparse junctions and symbolic links.\n\n### RunningObject\n\n#### `Get-RunningObject`\n\nPSCX Cmdlet:\n\n### ScreenCss\n\n#### `Get-ScreenCss`\n\nGenerate CSS header for HTML \"screen shot\" of the host buffer.\n\n### ScreenHtml\n\n#### `Get-ScreenHtml`\n\nFunctions to generate HTML \"screen shot\" of the host buffer.\n\n### Script\n\n#### `Test-Script`\n\nDetermines whether a PowerShell script has any syntax errors.\n\n### Shortcut\n\n#### `New-Shortcut`\n\nCreates shell shortcuts.\n\n### ShortPath\n\n#### `Add-ShortPath`\n\nAdds the file or directory's short path as a \"ShortPath\" NoteProperty to each input object.\n\n#### `Get-ShortPath`\n\nGets the short, 8.3 name for the given path.\n\n### SmtpMail\n\n#### `Send-SmtpMail`\n\nSends email via specified SMTP server to specified recipients.\n\n### Speech\n\n#### `Out-Speech`\n\nOutputs text as spoken words.\n\n### String\n\n#### `Join-PscxString`\n\nJoins an array of strings into a single string.\n\n#### `Split-String`\n\nSplits a single string into an array of strings.\n\n### Symlink\n\n#### `New-Symlink`\n\nCreates filesystem symbolic links. Requires Microsoft Windows Vista or later.\n\n### Tar\n\n#### `Write-Tar`\n\nCreate Tape Archive (TAR) format files from pipeline or parameter input.\n\n### TerminalSession\n\n#### `Disconnect-TerminalSession`\n\nDisconnects a specific remote desktop session on a system running Terminal Services/Remote Desktop\n\n#### `Get-TerminalSession`\n\nGets information on terminal services sessions.\n\n#### `Stop-TerminalSession`\n\nLogs off a specific remote desktop session on a system running Terminal Services/Remote Desktop\n\n### Ternary\n\n#### `Invoke-Ternary`\n\nSimilar to the C# ? : operator e.g. name = (value != null) ? String.Empty : value\n\n### Tree\n\n#### `Show-Tree`\n\nShows the specified path as a tree.\n\n### TypeName\n\n#### `Get-TypeName`\n\nGet-TypeName displays the typename of the input object.\n\n### UnixLineEnding\n\n#### `ConvertTo-UnixLineEnding`\n\nConverts the line endings in the specified file to Unix line endings \"\\n\".\n\n### PscxUptime\n\n#### `Get-PscxUptime`\n\nGets the operating system's uptime and last bootup time.\n\n### UserGroupMembership\n\n#### `Test-UserGroupMembership`\n\nTests whether or not a user (current user by default) is a member of the specified group name.\n\n### VHD\n\n#### `Dismount-VHD`\n\nDismounts a Virtual Hard Drive (VHD) file.\n\n#### `Mount-VHD`\n\nMounts a Virtual Hard Drive (VHD) file.\n\n### ViewDefinition\n\n#### `Get-ViewDefinition`\n\nGets the possible alternate views for the specified object.\n\n### VisualStudioVars\n\n#### `Import-VisualStudioVars`\n\nImports environment variables for the specified version of Visual Studio.\n\n### VolumeLabel\n\n#### `Set-VolumeLabel`\n\nModifies the label shown in Windows Explorer for a particular disk volume.\n\n### WindowsError\n\n#### `Resolve-WindowsError`\n\nResolves a Windows error number a textual description of the error.\n\n### WindowsLineEnding\n\n#### `ConvertTo-WindowsLineEnding`\n\nConverts the line endings in the specified file to Windows line endings \"\\r\\n\".\n\n### Writable\n\n#### `Set-Writable`\n\nSets a file's read only status to false making it writable.\n\n### Xml\n\n#### `Convert-Xml`\n\nPerforms XSLT transforms on the specified XML file or XmlDocument.\n\n#### `Format-Xml`\n\nPretty print for XML files and XmlDocument objects.\n\n#### `Test-Xml`\n\nTests for well formedness and optionally validates against XML Schema.\n\n### Zip\n\n#### `Write-Zip`\n\nCreate ZIP format archive files from pipeline or parameter input.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPscx%2FPscx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPscx%2FPscx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPscx%2FPscx/lists"}