Skip to content
Welcome
  • Home
  • about the author
The OpsCorner
The OpsCorner
  • Home
  • about the author

The OpsCorner

A documentation repository of loosely related topics

  • Home
  • about the author
Software / Technology

Powershell Profile sharing for PowerShell 5 and Pwsh Core+

- March 5, 2020 | March 20, 2020 - Bryan McClellan

Goal:


Maintain a single profile script in Documents for Powershell and Pwsh

Solution:

Create a symbolic link to the Documents\WindowsPowershell target as Powershell

Open CMD prompt

Run the below command…

mklink /D %HOMEPATH%\Documents\PowerShell %HOMEPATH%\Documents\WindowsPowerShell

Cleanup any modules that aren't supported in Core.

Enjoy!

Post navigation

Part 3 – NSX-T Edge and Transport on 2 vmnic hardware
Basic Code Management with Azure DevOps

Recent Posts

  • Dell OpenManage Enterprise API PowerShell Scripts September 18, 2020
  • Ansible Workshop from Anywhere August 31, 2020
  • VMware Webinar Series July 27, 2020
  • Using the default VMware-Privileged PodSecurityPolicies on TKG June 30, 2020
  • VM Template Updater with Ansible April 24, 2020

Tags

Active Directory Ansible Automation azure-devops Brocade Dell Device42 Fiber Channel Free Code Kelverion Kubernetes NSX NSX VMware powershell Python SANnav Scripts servicenow source-control Tanzu TKG Tower Vagrant VMware vRo VSCode vsphere

Site Pages

  • about the author
© 2026 The OpsCorner | Built with Xblog Plus free WordPress theme by wpthemespace.com