Skip to content

markwragg/PowerShell-MacTools

Repository files navigation

PowerShell-MacTools

Various PowerShell functions that are probably only useful to me specifically on my Mac.

Cmdlets

A full list of cmdlets in this module is provided below for reference. Use Get-Help <cmdlet name> with these to learn more about their usage.

Cmdlet Description
Set-Proxy Can be used to set the System and Git HTTP and HTTPS Proxy setting to a specified server and port, or if you provide an array of server:port strings, will test each in turn and set the proxy to the first to respond (this requires PS 6.1+ on Mac). If none respond, the proxy is unset.
Remove-Proxy Can be used to unset the System and Git HTTP and HTTPS Proxy settings.
Disable-GitConfig Renames the .gitconfig file in your home directory to .gitconfig.disabled. Useful because I have Git proxy settings for work that do not work at home.
Enable-GitConfig Renames the .gitconfig file in your home directory back to .gitconfig.
Rename-ToLower Renames a file to the same name but all lowercase. Just to make it easier to navigate case sensitive filesystem.

About

Various PowerShell functions that are probably only useful to me specifically on my Mac.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors