My PowerShell Profile
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEja8khN9Gzoj1hrfPGx-0ed3-pQDudS6rBey-JjSCB8248B3Q1Kdpj3nRxpsMiPG5NgvkLQTgEb-J0D_Jw-VKRt9Q0hDz7wq2m3zal65IWDrcpEZNNtxuJWyTY-rYK6JPfZj3WxRY15t8cK/s640/basic-powershell-commands-intro-670x335.png)
Here is the script I use for my PowerShell Profile <# Kris Gross PS Profile Email: KrisGross@sccmtst.com Website: sccmtst.com #> $Shell = $Host .UI.RawUI $shell .BackgroundColor = "Black" $shell .ForegroundColor = "Magenta" $shell .WindowTitle = "PowerShell" $size = $Shell .BufferSize $size .width=350 $size .height=10000 $Shell .BufferSize = $size $size = $Shell .WindowSize $size .width=150 $size .height=50 $Shell .WindowSize = $size $host .PrivateData.ErrorForegroundColor = "red" $ExecutionPolicy = Get-ExecutionPolicy If ( $ExecutionPolicy -ne "Unrestricted" ) {Set-ExecutionPolicy Unrestricted} Set-Location "$Env:SystemDrive\" Function Import-SCCMModule { Set-Location 'F:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\' Import-Module .\ConfigurationManager.psd1 -verbose: $false Write-Host "