You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
-
Honestly the best would be to remove the single quote from the name on the domain side. You can still keep the single quote in the display name, so the only change, would be the directory that is created on a domain connected computer. Otherwise you have to manually modify the registry on each device connected to the domain they log into. As for reporting the bug, report it to the PowerShell Core team, should be fixed in PowerShell 5.– RamhoundCommented May 17, 2018 at 10:44
-
Scratch that. PowerShell 5.1 appears to be the last (closed source) version. By reporting it to the PowerShell Core team it will be fixed eventually. You should verify the current beta version of PowerShell Core does not have this problem though (before you report it)– RamhoundCommented May 17, 2018 at 10:51
-
Thx - in Office 365/Azure AD I had to rename the display name to "Liam OReilly" as this appears to be what controls the name of the user's profile directory– munrobasherCommented May 17, 2018 at 10:51
-
Problem was already reported and fixed to the PowerShell Core team by the way. I went ahead and flagged this as a duplicate, since the issue was reported, and it referenced a question asked here. My assumption is that by the reported issue being fixed, while slightly different, the problem you discovered will also be fixed.– RamhoundCommented May 17, 2018 at 10:55
-
Possible duplicate of "Open PowerShell window here" File Explorer context-menu command breaks with folder names with apostrophes (single quotes)– RamhoundCommented May 17, 2018 at 10:56
|
Show 4 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_`
- quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>
[example](https://example.com)
<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. windows-7), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you
default