Install Powershell on 600 Client Computers - Recommended Settings

I want to install Powershell on 600 xp computers and use it as the main processing shell, for example, to replace batch scripts, VB scripts and other small programs. The installation process is not a problem. Some problems that I think I came across

1) Change permissions to enable powershell to run scripts

2) Launch start speed

3) Using Poweshell for GPO login / logout scripts

Problem 2, there are scripts that should speed up powershell, but it seems that it should run as an administrator (which, of course, is not what ordinary users do). Has anyone had experience using poweshell this way?

+3
source share
3 answers

To speed up the launch of PowerShell, Jeffrey Sverver (partner / architect responsible for PowerShell) provides an “Update-GAC” script here .

Basically, it just runs through assemblies that are loaded for PowerShell and NGen'ing (pre-compiling IL code). This speeds up PowerShell startup.

Another trick is to launch PowerShell using the -nologo and -noprofile switches.

This will skip profile scripts and the splash logo.

There is a product for using PowerShell for special operations entry / exit scripts . There are other ways to do this.

%windir%\system32\WindowsPowerShell\v1.0\powershell.exe -nologo -noprofile
+2
source

Powershell .

Microsoft ADM , " Script " .

0

, poweshell , . .

,

  • 10    .    ,   .
  • ,    - .   , , powershell   exe .

powershell - .

0
source

Source: https://habr.com/ru/post/1697317/


All Articles