Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Migrating-from-Windows-PowerShell-51-to-PowerShell-7.md #10489

Merged
merged 1 commit into from
Oct 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ the following methods:

> [!NOTE]
> The MSI package can be deployed and updated with management products such as
> [System Center Configuration Manager (SCCM)][06]. Download the packages from
> [Microsoft Configuration Manager][06]. Download the packages from
> [GitHub Release page][23].

Deploying the MSI package requires Administrator permission. The ZIP package can be deployed by any
Expand Down Expand Up @@ -148,8 +148,10 @@ The path to the location of the profile has changed in PowerShell 7.
The profile filenames have also changed:

```powershell
PS> $PROFILE | Select-Object *Host* | Format-List
$PROFILE | Select-Object *Host* | Format-List
```

```Output
AllUsersAllHosts : C:\Program Files\PowerShell\7\profile.ps1
AllUsersCurrentHost : C:\Program Files\PowerShell\7\Microsoft.PowerShell_profile.ps1
CurrentUserAllHosts : C:\Users\<user>\Documents\PowerShell\profile.ps1
Expand Down