Sign In
normand
$AutomateThisAndThat = $true with Windows PowerShell
TechNet Blogs
>
normand
Search Blogs
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Blog - Link List
Other Links
Hey, Scripting Guy!
Local PowerShell Communities
Find local PowerShell Groups in your area
Tagged Content List
Page 1 of 1 (3 items)
Tags
Active Directory
AD
Add-ADGroupMember
ADPrincipal
Compare-Object
DirectorySearcher
Get-ADGroupMember
Get-ADObject
Get-ADUser
leaf object
Network Connections
Win32_NetworkAdapter
WMI
Site Visitors
Disclaimers
Sample Code is provided for the purpose of illustration only and is not intended to be used in a production environment. THIS SAMPLE CODE AND ANY RELATED INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. We grant You a nonexclusive, royalty-free right to use and modify the Sample Code and to reproduce and distribute the object code form of the Sample Code, provided that You agree: (i) to not use Our name, logo, or trademarks to market Your software product in which the Sample Code is embedded; (ii) to include a valid copyright notice on Your software product in which the Sample Code is embedded; and (iii) to indemnify, hold harmless, and defend Us and Our suppliers from and against any claims or lawsuits, including attorneys’ fees, that arise or result from the use or distribution of the Sample Code.
Also please review the terms specified
here
.
Options
About
RSS for posts
RSS for comments
OK
Archive
Archives
January 2012
(3)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
normand
Disabling/Enabling Network Connection by Name
Posted
4 months ago
by
Norman Drews
0
Comments
I was playing around with Windows PowerShell today and wanted to demonstrate a way to disable a network connection by the name or any other property for that matter. This entry will be limited to filtering on the name. First the network connections...
normand
Removing leaf objects from Active Directory
Posted
4 months ago
by
Norman Drews
0
Comments
Not recently I had a customer whose migration , one way or another, was being blocked due to leaf objects existing under an AD User entry. They said they couldn't find any script online through Google or Bing that they could "borrow"...
normand
What’s the member delta between my two AD Groups
Posted
4 months ago
by
Norman Drews
1
Comments
Today I am going to refresh your memory on how we can use the Compare-Object cmdlet to do well exactly what it says …. compare two different objects. So how do I determine which Active Directory group members are in one group and not in another...
Page 1 of 1 (3 items)