n3snah / powershell7

Puppet Module for Powershell 7
Apache License 2.0
0 stars 1 forks source link

Add Profile Management for Powershell 7 #22

Closed n3snah closed 3 years ago

n3snah commented 3 years ago

This is just to be able to customize the Powershell profile and set an organisation standard. file: C:\Program Files\PowerShell\7\Microsoft.PowerShell_profile.ps1

Default settings are:

$Shell = $Host.UI.RawUI
$size = $Shell.WindowSize
$size.width=120
$size.height=30
$Shell.WindowSize = $size
$size = $Shell.BufferSize
$size.width=120
$size.height=9001
$Shell.BufferSize = $size
$shell.BackgroundColor = “Black”
$shell.ForegroundColor = “White”

Should probably have a new data type for Powershell custom colours https://www.pdq.com/blog/change-powershell-colors/

for info on creating custom types. https://puppet.com/docs/puppet/5.5/custom_types.html

n3snah commented 3 years ago

The basic code is now in place. Still to complete:

n3snah commented 3 years ago

Need to also update the README.md to contain information about the features of the window preferences.

n3snah commented 3 years ago

have completed last remaining tasks for this change.