Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Browsing all 8583 articles
Browse latest View live

get date user account was added to ad group

I am trying to get a list of users in an ad group but also need to get the date they were added to the group as well. Anyone has any ideas how to do this? $Recurse = $true Add-Type -AssemblyName...

View Article


PowerShell v3 New Features

Sharpen your PowerShell skills and get a jumpstart on the features of version 3.0 in this advanced PowerShell training by MVP Jeff Hicks. This course will give you a thorough overview of shell,...

View Article


Import PowerShell modules and excute CmdLets using Automation library

This article describes how to provide PowerShell support in windows applications using Microsoft's Automation Library.Read More 

View Article

Running VB Scripts written for Win'98 in Win7 while bypassing the UAC?

Hi Tob, I want to know how to run older script files written for Windows 98SE so they don't get stopped by the Windows 7 User Account Control.   More specifically: currently, I want to list to a file...

View Article

ISE V3 Extracting console text via script

Windows 7 SP1 PowerShell V3When run from the script pane, with ABC 123 entered in the command line, these lines produce the following:Write-Host $psISE.CurrentPowerShellTab.ConsolePane.TextThe complete...

View Article


capture second word in a line

Hi,I have an output file were i only need  to capture the second word of each line.example: Removed windows6 on esx01I only need to caputre the word "windows6" in this example.  

View Article

Infrastructure Testing on Failover cluster in SERVERS.

Hi Expert, I seen your blog, it’s very interesting, as a entry level windows admin,I don’t know that much experience in power shell. it’s very helpful to my day to day task.In environment we are plan...

View Article

Need Infrastructure testing document

hi I need infrastructure Testing document for my project. can any one sent it to my id : babu.sys@hotmail.com Thanks Babu

View Article


writing text files compatible with notepad

I want to be able to write a file in powershell that can be opened in notepad (and sent as exchange email content).the powershell defaults create a file which notepad doesn't exactly understand.for...

View Article


Comparing File Version Numbers in VBScript and PowerShell

These simple script functions make comparisons a snap.Read More

View Article

PowerShell Basics - Extending the Shell with Modules and Snapins

In PowerShell there are 2 main ways to extend the shell this are:Modules - A package that contains Windows PowerShell commands int he form of functions, cmdlets and worksflows, in addition it may...

View Article

Analyze Log Data with Apache Hive, Windows PowerShell, and Amazon EMR

In this tutorial, you will learn how to use Apache Hive to join ad impression logs with click-through logs to determine which advertisement a given user is most likely to click on. This article also...

View Article

PowerShell V3 StrictMode question

This may be related to my previous post regarding Set-StrictMode. I have a module that works fine in V2, ie Import-Module Get-StrictMode, etc, but in V3 it just returns 'StrictMode: Off', whatever the...

View Article


Issue with windows task scheduler while running a powershell script in...

I have encountered a very strange issue with windows task scheduler. I am running many powershell scripts in windows task scheduler but never have come across some issue like this.Below is the script i...

View Article

Search for AD Object in Different Child Domain forest With ActiveDirectory...

HelloI am Working With ActiveDirectory PowerShell ModuleIn A forest there are few Child DomainsI am in Domain A (My Workstation , My User)when I am Searching (For Example Get-ADuser)i gets results form...

View Article


Image may be NSFW.
Clik here to view.

Trying to make a Takeown.exe CMDlet, but locales is causing a problem

The problem is with the /D parameters in takeown.exe, that needs to be confirmed with language-independent yes/no start-letters (y/n in english, but ie j/n in danish).This picture should...

View Article

Powershell Scripting support in SSR 2013

Symantec system recovery 2013 supports powershell based scripting. There are 25 powershell scripts which will help user in automating their environment. These scripts are located on the install media...

View Article


Using Windows PowerShell to connect to a SAS Metadata Server

SAS Integration Technologies provides a flexible platform to create all types of apps, from simple utilities to full-blown applications. As part of the research for my SAS Global Forum 2013 paper...

View Article

PowerShell for SharePoint Developers, Part Two: SharePoint Integration

The first post in this series covered the basics of PowerShell including variables, loops, and decisions. It also introduced a few scripts I’ve used over the last several weeks. In this post, we’ll...

View Article

PowerShell for SharePoint Developers, Part One: The Basics

When I apply for speaking engagements, I usually submit at least one session that will require me to learn a new language or technology.  I did this with the upcoming SharePoint Saturday Austin with a...

View Article
Browsing all 8583 articles
Browse latest View live