Location of custom powershell cmdlets in ansible

Hi,

Where are the custom powershell cmdlets present in ps1 script of windows modules defined in anisble?

For example: Get-AnsibleParam is powershell cmdlet used in windows module windows_env.ps1, where is the cmdlet Get-
AnsibleParam defined?

Thanks,
Rakshatha

In an ansible install, under lib/ansible/module_utils/powershell.ps1