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
-
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to Powershell,
- PowerShell: How to Check if a Module is Already Installed
- PowerShell: How to Write Output to a File
- PowerShell: Steps to Connect to connect to Exchange Online
- PowerShell Fix: Get-Help cannot find the Help files for this cmdlet on this computer
- PowerShell Traditional For Loop Example
- How to Run PowerShell Script as Administrator (Elevate)
- Update Powershell Using Command Line
- How to delete a file using PowerShell [Windows/macOS]
- PowerShell: Grep Command Alternative - Select-String
- PowerShell Concatenate String Examples
- How to add Sleep to PowerShell Script
- Connect Azure AD (Active Directory) for PowerShell
- How to Open PowerShell on Mac?
- List of PowerShell Function Commands for Mac
- How to Connect to Azure AD Account using PowerShell on Mac
- Download Google Chrome setup exe file using PowerShell
- Set Environment Variable in PowerShell for Mac
- How to switch to Powershell on Mac Terminal
- How to add sleep in Powershell Script
- PowerShell on Mac: The term get-service is not recognized as a name of a cmdlet, function, script file, or executable program
- How to Identify installed PowerShell version
- How to check PowerShell version
- How to install PowerShell on Mac using Brew
- PowerShell Switch Statement with Examples
- PowerShell ISE Alternative for Mac
More Posts:
- How to turn off CR LF CRLF in Notepad++ - NotepadPlusPlus
- How to convert a True/False String to Boolean in Python - Python
- [Fix] Microsoft Store Error Code: 0x803F8001 - Microsoft
- [Fix] Microsoft Remote Desktop Error Code: 0x204 - Microsoft
- SharePoint installation error - Setup is unable to proceed due to the following error This product requires Microsoft .Net Framework 4.5 - SharePoint
- [Fix] Microsoft Teams No Network Connection Please check your network settings and try again. [2603] - Teams
- How to display Java Date Time timezone GMT/UTC offset using SimpleDateFormat - Java
- Fix Error CAA50021 - Number of retry attempts exceeds expectation - Microsoft 365 Apps - Microsoft