Uruchamianie narzędzia

Po zainstalowaniu narzędzia PowerShell możemy je uruchomić przy użyciu polecenia menu Start/Uruchom, wprowadzając polecenie powershell. Ukaże się standardowe okno programu.

Przy uruchamianiu PowerShell podejmuje próbę załadowania i uruchomienia czterech skryptów:

  • _LUSERSPROFILE%\Documenty\PSConfiguration\Profile.ps1,

  • _LUSERSPROFILE%\Documenty\PSConfiguration\Microsoft.Powershell_Profile.ps1,

  • _ERPROFILE%\Moje dokumenty\PSConfiguration\Profile.ps1,

  • _ERPROFILE%\Moje dokumenty\PSConfiguration\Microsoft.Powershell_Profile.ps1.

Jak wskazuje rozszerzenie plików, są to skrypty zbudowane z poleceń narzędzia PowerShell. Cztery pliki profili mogą wydawać się pewną przesadą, jednak każdy z nich ma ściśle określone przeznaczenie. ...

Get Windows Server 2008 PL. Przewodnik encyklopedyczny now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.