You are here: Windows OS HubPowershell (Page 3)

Archive for the 'Powershell' Category

PowerShell Commands History

Posted on December 22nd, 2015 · Posted in Powershell
\ConsoleHost_history.txt - powershell commands history

One of the main drawbacks of Powershell command prompt compared to bash was the inability to keep a history of executed commands. The command history could be viewed only in the current Powershell session, and when Powershell console has been closed or the computer has been restarted, the command history.. read more

Get-ADComputer: Getting Active Directory Computers Info via Powershell

Posted on December 9th, 2015 · Posted in Active Directory, Powershell
All AD computer properties

We go on studying useful PowerShell cmdlets to interact with Active Directory. In our last article, we told about Get-AD User cmdlet that allowed to get any information about AD user accounts. Today we’ll discuss Get-ADComputer cmdlet and its use to get information about computer accounts in Active Directory.

Adding a Simple Colorful Menu to PowerShell Script

Posted on November 17th, 2015 · Posted in Powershell
Colored menu in Powershell script

Let’s consider an example of making a simple colored menu for PowerShell allowing a user to easily select one of the available options of the script being executed. The script provides a user with several options to choose, control the selected option and perform the further actions depending on the.. read more

How Automatically Fill Computer Description Field in Active Directory

Posted on September 18th, 2015 · Posted in Active Directory, Powershell
populated computer description fileld in active directory

In this article we’ll demonstrate how to fill the computer information in Active Directory using PowerShell. As an example, we’ll show how to save the information about the computer model in the description field of a computer objects in Active Directory.

Get-ADUser: Getting Active Directory Users Data via Powershell

Posted on August 21st, 2015 · Posted in Active Directory, Powershell
get-aduser table view

It’s no secret that from the first PowerShell version, Microsoft tries to make it the main administrative tool in Windows. And it mostly succeeds! Using simple examples, we’ll demonstrate PowerShell features to get different information about Active Directory users and their attributes.

Parsing HTML Webpages with Powershell

Posted on December 23rd, 2014 · Posted in Powershell
Invoke-WebRequest in Powershell 3.0

In PowerShell 3.0 it became possible to directly access and parse HTML web pages. To do it, a special cmdlet Invoke-WebRequest has been introduced. This cmdlet can provide number of scenarios: from uploading/downloading a file to/from any website using HTTP(S)/FTP ending with HTML page parsing, web services monitoring, filling and.. read more

How to Export Drivers Using Powershell in Windows 8.1 U1

Posted on October 8th, 2014 · Posted in Powershell, Windows 8
driver files

In Windows 8.1 Update 1 there appeared a new Powershell cmdlet Export-WindowsDriver, that allows to export all the installed third-party drivers (non-Microsoft ones) directly from the Driver Store. The news is excellent, since earlier to export and backup the drivers, you had to use third-party apps, like DoubleDriver, DriverMax, etc.

HP ILO Management Using PowerShell

Posted on June 2nd, 2014 · Posted in Powershell
manage hp ilo cards with powershell

Recently Hewlett-Packard has issued a set of 110 PowerShell cmdlets allowing Windows administrators and IT professionals to remotely configure and manage HP ILO interfaces on HP servers from Windows systems. This set of cmdlets is called HP Scripting Tools for Windows PowerShell and designed to work with HP iLO 3.. read more