(The modification method in this article refers to http://www.cnblogs.com/grapeot/archive/2010/02/22/1670822.html, just one of the steps to modify it.) )
This is achieved by modifying the profile, which is described in http://technet.microsoft.com/en-us/library/bb613488 (v=vs.85). aspx
1. Change its window background and icon to the following effect:
2. Generate profile
First to see if there is already a profile,
>test-path $profile
If the profile exists, the response is True; Otherwise, it is False.
If not exists,then create it:
>new-item-path $profile-itemtype File–force
To edit the generated profile, fill in the following code:
functionPrompt {$path= get- Location"$path >" }$host. Ui. Rawui.windowtitle ="C:\windows\system32\cmd.exe"$Shell=$Host. Ui. Rawuiclear-Host$str[Email protected]"Microsoft Windows [Version 6.3.9600] (c) Microsoft Corporation. All rights reserved."@$str
For profiles in effect for all users:
>new-item-path $env: Windir\system32\windowspowershell\v1.0\profile.ps1-itemtype file-force
3.
Not the same command line – Windows PowerShell Introduction to "egg-ache camouflage –profile" detailed implementation