Sign in
TechNet Blogs
Technet Blog Images
More ...
Common Tasks
Blog Home
Email Blog Author
About
RSS for posts
RSS for comments
Search
Tags
.net
AD
Add-Member
Custom
database
Database Size
DC
decimal
default view
directorysearcher
email
Event
Exchange
exchange 2000
exchange 2003
exchange 2007
expire
expiring
folders
formatting
Mailbox Size
one-liner
outlook.application
Powershell
wmi
Archives
Archives
May 2013
(1)
October 2012
(1)
January 2012
(2)
April 2011
(1)
March 2011
(1)
May 2010
(1)
March 2010
(1)
February 2010
(2)
January 2010
(1)
November 2009
(2)
September 2009
(3)
August 2009
(7)
July 2009
(11)
Browse by Tags
TechNet Blogs
>
Gary's $this and that about PowerShell and Exchange
>
All Tags
>
add-member
Tagged Content List
Blog Post:
Quick Script to Edit a Single Attribute in AD on a Single User Account
Gary Siepser
There are no real dependencies for this script, PSv1 or v2, no snap-ins, no modules….just plain old PS (POPS :) ). No magic happening here, just some basic read-host and ADSI in play. I wrote it for a colleague and thought I would share. #This will probably only work for strings and simple...
on
2 Feb 2010
Blog Post:
Do Your Own Thing - Creating a New Object from Scratch in Powershell V1 to Populate and have your Script Output a nice Object Instead of just Strings
Gary Siepser
I use PSObject all the time. Now when I write scripts I nearly always output an object and unless I can just add to an existing type that is close, I create my own. I copied from one of my recent ones below to show how I do it. Now this isn’t a complete script. $arrobjects would...
on
23 Jul 2009
Blog Post:
Using Add-Member in a Powershell One-Liner to Create Calculated Properties
Gary Siepser
This is one of the live demos I do when I teach class. Its a slightly advanced concept for some of my students as it deals with object members. It is actually fairly nice looking code and I love the fact that I can maintain my original object (instead of say changing to a PSCustom object...
on
23 Jul 2009
Page 1 of 1 (3 items)