Quantcast
Channel: The Tech Cafe.. » Powershell
Browsing all 10 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Determine Pipeline Input

There was a recent post on the Powershell Forums titled Finding Function Name in which the user wanted to know if there was anyway to determine which cmdlet or function was being used to send input...

View Article



Image may be NSFW.
Clik here to view.

Powershell Objects and .PS1XML Files

Anyone who uses powershell on a regular basis knows that the output of any powershell cmdlet is of an object type.  Powershell produces objects. For example let’s look at the objects produced by two...

View Article

Image may be NSFW.
Clik here to view.

Query Security Log Using Powershell

I’ve just completed a script that will parse the Windows Security Event log for Event ID’s of type 4624 (user logons).    Once the events have been retrieved the script then creates and outputs a...

View Article

Image may be NSFW.
Clik here to view.

Creating Hyper-V Symbolic Links using Powershell

As an MCT I’m required to download preconfigured VM’s and supporting VHD’s from Microsoft which are then imported into base images running Server 2008 R2 and HyperV.  Prior to importing the VM’s,...

View Article

Image may be NSFW.
Clik here to view.

Backing Up Event Logs using Powershell

I was recently asked to create a script that would backup certain event logs ( Application & Security ) to it’s native .evt format and then clear all events from the corresponding logs once...

View Article


Image may be NSFW.
Clik here to view.

Powershell: Importing Hyper-V VM’s

In my previous post Creating Hyper-V Symolic Links using Powershell I created a small but useful function called Create-SymbolicLinks which was used to execute one or more .bat files that created...

View Article

Image may be NSFW.
Clik here to view.

Powershell: Adding Directories to Path Statement

Adding directories to the Path statement is a rarity for most techs these days but on occasion, such as configuring Sharpeoint 2010 to use an Adobe IFilter or my own desire to make it easier to run...

View Article

Image may be NSFW.
Clik here to view.

Powershell: Retrieving AD FSMO Role Holders

I was recently asked to create a script to display the current FSMO Role holders in an Active Directory domain.  There are 5 FSMO roles and the first domain controller in the forest root domain holds...

View Article


Image may be NSFW.
Clik here to view.

Powershell: Create Custom MAC\IP Table

Local MAC Discovery There are times where I need to determine the MAC address of not only my PC but also the other PC’s on the local network segment.  There are a few different ways to determine the...

View Article


Image may be NSFW.
Clik here to view.

Powershell: Importing Items into a Sharepoint List

I was teaching a Windows Server 2003 to 2008 upgrade class onsite recently for a client and it included several Powershell examples on performing such tasks as installing a role\feature or managing AD...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images