metadata/posh.xml

<Component>
    <FriendlyName>Windows PowerShell</FriendlyName>
    <Detection>
        <Method>FindInPath</Method>
        <FindBinary>powershell</FindBinary>
    </Detection>
    <InstallPath>
        <SpecialFolder>Personal</SpecialFolder>
        <Destination>WindowsPowerShell</Destination>
    </InstallPath>
</Component>