Posts Tagged ‘PowerShell’

Create user account in active directory using PowerShell

Following commands are used to manage user accounts via PowerShell.

Convert Windows Core to Windows Server GUI

From Windows 2008, installations are two types: Server with GUI(full installation) and Server Core. From Windows 2012, it is also possible to convert Windows Server GUI to Core and Windows Server Core to GUI. Windows Core version had less features than Windows GUI(full installation). To change GUI to core or Core to GUI, user should […]

Convert Windows Server GUI to Core

From Windows 2008, installations are two types: Server with GUI(full installation) and Server Core. From Windows 2012, it is also possible to convert Windows Server GUI to Core and Windows Server Core to GUI. Windows Core version had less features than Windows GUI(full installation). To change GUI to core or Core to GUI, user should […]

Difference between PowerShell and command prompt

Both allow the creation of scripts. Both provides command-line environment. cmd.exe works in PowerShell. But, PowerShell cmdlets wont work in Cmd.exe Cmd provides very limited set of functionality. cmd is text based scripting environment. cmd does not provide access to many aspects of the OS and applications.

Difference between scripting language and programming language

Following are major difference between scripting language and programming language: Scripting Language: Runs in response to an event Performs instructions from top to bottom Little or no user interaction. Example: Powershell, PHP, Perl

How to get the Version of PowerShell

We have installed PowerShell and started creating scripts. Before executing script on current PowerShell version, we should get the Powershell version. Following are ways to get version. If we want to get the Version of PowerShell, use $PSVersionTable PS C:\> $PSVersionTable Name Value —- —– PSVersion 4.0 WSManStackVersion 3.0 SerializationVersion 1.1.0.1 CLRVersion 4.0.30319.42000 BuildVersion 6.3.9600.16406 […]

Powered by k2schools