How to Create a Profile in powershell. You can also checkout my previous post on “Back to Basics PowerCLI Setting Up Profile For Automation”. This will get you ready for our journey of automation.
## Run this command as admin in powershell
## Create Powershell Profile
## run below in admin mode in Powershell
New-Item -path $profile -type file –force
## edit the profile and add below: C:\Users\username\Documents\WindowsPowerShell
This was generated from the msdn link below with a few alterations: