Below is a list of PowerShell Function Commands for Mac Terminal.
| Name | Module | Description |
|---|---|---|
| cd.. | To navigate up one level in the file system. | |
| cd\ | To navigate to the root of the file system. | |
| Clear-Host | To clear the console window. | |
| Compress-Archive | Microsoft.PowerShell.Archive | To create a compressed archive. |
| exec | To execute a command or script. | |
| Expand-Archive | Microsoft.PowerShell.Archive | To extract the contents of an archive. |
| Find-Command | PowerShellGet | To find commands in online repositories. |
| Find-DscResource | PowerShellGet | To find DSC resources in online repositories. |
| Find-Module | PowerShellGet | To find modules in online repositories. |
| Find-RoleCapability | PowerShellGet | To find role capabilities in online repositories. |
| Find-Script | PowerShellGet | To find scripts in online repositories. |
| Get-CredsFromCredentialProvider | PowerShellGet | To retrieve credentials from a credential provider. |
| Get-InstalledModule | PowerShellGet | To get installed modules. |
| Get-InstalledScript | PowerShellGet | To get installed scripts. |
| Get-PSRepository | PowerShellGet | To get registered PowerShell repositories. |
| help | To display help information. | |
| Install-Module | PowerShellGet | To install a module from an online repository. |
| Install-Script | PowerShellGet | To install a script from an online repository. |
| New-ScriptFileInfo | PowerShellGet | To create a new script file. |
| oss | To open the current folder in File Explorer. | |
| Pause | To pause script execution. | |
| prompt | To customize the command prompt. | |
| PSConsoleHostReadLine | PSReadLine | To provide enhanced command line editing and history capabilities. |
| Publish-Module | PowerShellGet | To publish a module to an online repository. |
| Publish-Script | PowerShellGet | To publish a script to an online repository. |
| Register-PSRepository | PowerShellGet | To register a PowerShell repository. |
| Save-Module | PowerShellGet | To save a module to a specified path. |
| Save-Script | PowerShellGet | To save a script to a specified path. |
| Set-PSRepository | PowerShellGet | To modify settings of a registered repository. |
| TabExpansion2 | To provide tab completion functionality. | |
| Test-ScriptFileInfo | PowerShellGet | To test the syntax of a script file. |
| Uninstall-Module | PowerShellGet | To uninstall a module. |
| Uninstall-Script | PowerShellGet | To uninstall a script. |
| Unregister-PSRepository | PowerShellGet | To unregister a PowerShell repository. |
| Update-Module | PowerShellGet | To update an installed module. |
| Update-ModuleManifest | PowerShellGet | To update the manifest of a module. |
| Update-Script | PowerShellGet | To update an installed script. |
| Update-ScriptFileInfo | PowerShellGet | To update the metadata of a script file. |
You can access this list by running the below Get-Command command in Mac Terminal running pwsh shell.
PS /Users/c2ctech> Get-Command -CommandType Function | Select-Object DisplayName, Name, ModuleName | Format-Table
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!