Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
99 lines (96 sloc) 12 KB

Build Status


The module exports 80 Cmdlets that can help you automate your every day tasks. The module is used in production from the eXpandFramework build scripts and Azure Tasks.

In this page you can see a list of all Cmdlets with a short description. For details and real world examples search the Wiki.


XpandPwsh is available in PSGallery. Open a PowerShell prompt and type:

Install-Module XpandPwsh

Exported Functions-Cmdlets

To list the module command issue the next line into a PowerShell prompt.

Get-Command -Module XpandPwsh
Cmdlet Synopsis
Checkpoint-GitHubIssue Adds unique comments to a GitHub issue containing templated info from related commits.
Clear-NugetCache Clears all local nuget caches.
Clear-ProjectDirectories Removes recursively common directories like bin, obj, .vs, packages
Close-GithubIssue Close a GitHub Issue based on its last update.
Compress-Project Compress all files for a VS Solution
ConvertTo-Object {{ Fill in the Synopsis }}
ConvertTo-PackageObject Converts nuget.exe commands output.
Disable-ExecutionPolicy {{ Fill in the Synopsis }}
Find-XpandNugetPackage Finds only eXpandFramework packages.
Find-XpandPackage Find eXpandFrameoWork only packages.
Get-AssemblyInfoVersion Returns the version of an AssemblyInfo.cs
Get-CallerPreference Fetches "Preference" variable values from the caller's scope.
Get-ChocoPackage {{ Fill in the Synopsis }}
Get-DevExpressVersion Returns the DevExpress version depending on the parameter set used.
Get-Distinct {{ Fill in the Synopsis }}
Get-DotNetCoreVersion Returns all installed sdks.
Get-DxNugets Lists all assemblies in a DevExpress Nuget package.
Get-GitHubCommitIssue Lists all GitHub issues that related to a commit.
Get-GitHubIssue List Github issues for a repository.
Get-GitHubIssueComment Returns the comments of a GitHub Issue.
Get-GitHubMilestone Returns github repository milestones.
Get-GitHubRelease Returns github repository releases.
Get-GitHubRepositoryTag Returns GitHub repository tags.
Get-GitLastSha Returns the Sha of the last git commit.
Get-MsBuildPath Returns the MSBuild path.
Get-NugetPackage Download and extract a NuGet package without installing it.
Get-NugetPackageDownloadsCount Get the downloads of a NuGet packages
Get-NugetPackageMetadataVersion {{ Fill in the Synopsis }}
Get-NugetPackageSearchMetadata Returns only the metadata of a NuGet package.
Get-NugetPath Download Nuget.exe if not exists and returns its path.
Get-PackageFeed Returns common package feeds like and Xpand.
Get-PackageSourceLocations Returns the locations of the registered in the system package feeds.
Get-RelativePath Returns the relative path needed to move from one location to another.
Get-SymbolSources List the sources of a symbol (*.pdb)
Get-XmlContent {{ Fill in the Synopsis }}
Get-XpandPackages {{ Fill in the Synopsis }}
Get-XpandPath {{ Fill in the Synopsis }}
Get-XpandReleaseChange Query all eXpandFramework releases.
Get-XpandVersion Returns eXpandFramework version for several scenarios.
Install-Chocolatey {{ Fill in the Synopsis }}
Install-DebugOptimizationHook Installs system wide hook for disabling debugging optimizations
Install-DevExpress Installs all DevExpress assemblies needed for all solutions under a directory.
Install-SubModule {{ Fill in the Synopsis }}
Install-Xpand This is the eXpandFramework main installer.
Invoke-AzureRestMethod Invokes Azure DevOps REST API
Invoke-Parallel Invokes tasks in parallel.
Invoke-Retry Retry on error.
New-Assembly {{ Fill in the Synopsis }}
New-AssemblyResolver {{ Fill in the Synopsis }}
New-Command {{ Fill in the Synopsis }}
New-GithubReleaseNotes Generates GitHub Release notes.
New-GithubReleaseNotesTemplate {{ Fill in the Synopsis }}
Publish-AssemblyToGac Publish assemblies to Gac.
Publish-GitHubRelease {{ Fill in the Synopsis }}
Publish-NugetPackage Publishes a NuGet package.
Remove-ProjectLicenseFile Removes licx files from a VS project.
Remove-ProjectNuget {{ Fill in the Synopsis }}
Resolve-AssemblyDependencies Resolve all referenced assemblies for a given assembly, reclusively.
Set-VsoVariable {{ Fill in the Synopsis }}
Test-Symbol Checks if the symbol is valid for a given assembly.
Uninstall-ProjectAllPackages Uninstall all NuGet and their dependencies from a project.
UnInstall-Xpand Uninstall eXpandFramework project.
UnPublish-NugetPackage Unpublish Nuget packages from a source.
Update-AssemblyInfo Updates the AssemblyInfo.cs version
Update-AssemblyInfoVersion Updates the AssemblyInfo.cs version
Update-GitHubIssue Update a GitHub issue.
Update-HintPath Update VS project HintPath.
Update-NugetPackage Update VS project NuGet packages to their latest version found from all registered in the system sources.
Update-NugetProjectVersion Update the version found in AssemblyInfo.cs looking in Git history for any midification since the last tag.
Update-OutputPath Updates VS project output path.
Update-ProjectAutoGenerateBindingRedirects Enables AutoGenerateBindingRedirects for a VS project.
Update-ProjectDebugSymbols Enable Debug Symbols for a VS Project.
Update-ProjectLanguageVersion Update Project language version to Latest
Update-ProjectPackage Calls the Update-NugetPackage cmdlet from inside VS Package Manager Console
Update-ProjectProperty Update a VS project property.
Update-ProjectSign Signs a VS project.
Update-ProjectTargetFramework Update the Target Framework in a MSBuild project.
Update-Symbols Index symbols to local or remote locations.
Use-MonoCecil {{ Fill in the Synopsis }}
Use-NugetAssembly {{ Fill in the Synopsis }}
You can’t perform that action at this time.