First functions for the PowerShell wrappers