Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8773611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T18:20:34+00:00 2026-06-13T18:20:34+00:00

I have a little problem here with my user profile path for the use

  • 0

I have a little problem here with my user profile path for the use with powershell.
I have set my profile.ps1 to this:

$Shell = Host.UI.RawUI
$Shell.WindowTitle="PowerShell obeys me!"
$Shell.BackgroundColor="White"
$Shell.ForegroundColor="Blue"
$size = $Shell.WindowSize
$size.width=120
$size.height=50
$Shell.WindowSize = $size
$size = $Shell.BufferSize
$size.width=120
$size.height=5000
$Shell.BufferSize = $size

but everytime i execute run poweshell, it shows some erors like this one:

Property 'WindowTitle' cannot be found on this object; make sure it exists and is settable.
At D:\data\d7bighs\Documents\WindowsPowerShell\profile.ps1:5 char:8
+ $Shell. <<<< WindowTitle="PowerShell obeys me!"
    + CategoryInfo          : InvalidOperation: (WindowTitle:String) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound    

now is i check my profile it tells me this:

$profile
d:\data\myusername\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1

but if i check this through windows explorer it tells me this:

d:\User\myusername\Documents\WindowsPowerShell\profile.ps1

Im confused here because within explorer tells me d:\Useres but PS shows it as d:\data…

How can i change this or force PS to look after d:\users instead of d:\data?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T18:20:36+00:00Added an answer on June 13, 2026 at 6:20 pm

    a tiny error: $Shell = $Host.UI.RawUI, and you may need to create the profile first by

     New-Item -Path $PROFILE -Type file
    

    then edit it by

     notepad  $PROFILE
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a little problem here. On my page I use a asp:repeater to
I have a little problem with Jquery getJSON function. my json here { entries:
I have a little problem with javascript form submit issue, here is the script
I need a little push in the right direction. Here's my problem: I have
My problem is this, I have a UC called profile that contains another UC
I've got a little stuck with a small problem here: I use serialport communications
so i have a little tricky combination here Company has many Users User belongs
maybe you guys can help me i have a little problem here: I have
I'm dealing with a problem here. There's this view that I use to see
I have a little problem here. I got an application which sends a list

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.