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,
- How to upgrade PowerShell on Mac
- How to install AWS CLI 2 on Windows 11 using PowerShell
- How to switch to Powershell on Mac Terminal
- How to connect to Microsoft Exchange Online using PowerShell
- How to Check PowerShell Version? [Windows/Mac/Linux]
- How to Comment out Code in PowerShell Script
- How to Identify installed PowerShell version
- How to install PowerShell on macOS
- Open PowerShell Terminal in Visual Studio Code (VSCode)
- PowerShell ps1 script is not digitally signed, you cannot run this script on the current system
- Update Powershell Using Command Line
- PowerShell 1..10 foreach Example
- PowerShell Fix: Get-Help cannot find the Help files for this cmdlet on this computer
- List of PowerShell Cmdlet Commands for Mac
- Help or Man equivalent in PowerShell
- PowerShell SubString with Examples
- PowerShell: How to Get Folder Size
- PowerShell Traditional For Loop Example
- PowerShell Switch Statement with Examples
- PowerShell Concatenate String Examples
- PowerShell For Each Loop Examples
- PowerShell: Grep Command Alternative - Select-String
- How to delete a file using PowerShell [Windows/macOS]
- Fix: nano is not recognized as an internal or external command - Windows PowerShell
- PowerShell on Mac: The term get-service is not recognized as a name of a cmdlet, function, script file, or executable program
More Posts:
- [Java Threads] Should we extend Thread Class or implement Runnable interface - Java
- Outlook and Hotmail not working - email issue, message not delivered, send receive problem - Microsoft
- reCaptcha Verification expired. Check the checkbox again - Html
- How to add hint text in bootstrap input text field and text area - Bootstrap
- How to Decode Base64 Data String in Python - Python
- How to Change Android Toast Position? - Android
- Toast not getting displayed Android App - Android
- macOS Big Sur compatible Macs List - MacOS