Logins may be showing incorrect profile information. Please email psgadmin at microsoft.com for support.
Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
PSMCP
0.1.2
Public/Get-MCPTemplate.ps1
function
Get-MCPTemplate
{
Get-ChildItem
$PSScriptRoot\..\template\
|
ForEach-Object
{
[PSCustomObject]
@{
Name
=
$_
.
Name
Content
=
Get-Content
$_
.
FullName
-Raw
}
}
}