Skip to content

Commit

Permalink
Update Migrating-from-Windows-PowerShell-51-to-PowerShell-7.md (#10489)
Browse files Browse the repository at this point in the history
Corrected brand name for ConfigMgr.
Added an output to a PowerShell command.
  • Loading branch information
baardhermansen authored Oct 4, 2023
1 parent 1f886ac commit dce9939
Showing 1 changed file with 4 additions and 2 deletions.
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

0 comments on commit dce9939

Please sign in to comment.