Combining Output from Multiple Sources Webcast: Combining Output from Multiple Sources REGISTER NOW July 6, 2011, 12pm CST Presented by: Don Jones Learn how easy-to-make custom objects not only let you combine output from multiple sources, but also allow you to create calculated properties and columns, customize output formatting, and easily send your output to […]
Archive for June, 2011
My codeplex project publishing PowerShell Admin Modules (PAM) is discussed in this post http://blogs.technet.com/b/heyscriptingguy/archive/2011/06/29/don-t-write-wmi-scripts-use-a-powershell-module.aspx In particular the Get-OSInfo function from the PAMSysInfo module is heavily featured
UK PowerShell Group–June 2011 PowerShell and Office – slides and scripts
Posted by: richardsiddaway | June 30, 2011 | No Comment |As promised on the Live Meeting the slides and scripts are now available at https://skydrive.live.com/?wa=wsignin1.0&cid=43cfa46a74cf3e96#!/?cid=43cfa46a74cf3e96&sc=documents&uc=1&id=43CFA46A74CF3E96%212924!cid=43CFA46A74CF3E96&id=43CFA46A74CF3E96%212924
UK PowerShell Group–July meeting advance warning
Posted by: richardsiddaway | June 30, 2011 | No Comment |The UK PowerShell group will be presenting a Live Meeting – Tuesday 26 July 2011 @ 7.30pm BST Subject – PowerShell Remoting More details to follow
Back in April last year I wrote a post about viewing IE history http://msmvps.com/blogs/richardsiddaway/archive/2010/04/13/ie-history.aspx I had a comment left asking how this could be put into a CSV file We’ll start by turning the script into an advanced function that outputs an object function get-iehistory { [CmdletBinding()] param () $shell = New-Object -ComObject Shell.Application $hist […]
Setting Security permissions on an AD group
Posted by: richardsiddaway | June 29, 2011 | 2 Comments |We saw how to create an AD security group here http://msmvps.com/blogs/richardsiddaway/archive/2011/06/28/creating-ad-security-groups.aspx This is how we can give a user full control of that group function set-groupsecurity { [CmdletBinding()] param ( [string]$name ) $dom = [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain() $root = $dom.GetDirectoryEntry() $search = [System.DirectoryServices.DirectorySearcher]$root $search.Filter = "(&(objectclass=group)(Name=$name))" $search.SizeLimit = 3000 $result = $search.FindOne() $object = $result.GetDirectoryEntry() $sec […]
The rescheduled UG session (via Live Meeting) on using Office products with PowerShell is tomorrow. Details from http://msmvps.com/blogs/richardsiddaway/archive/2011/06/21/rescheduled-ug-meeting.aspx
Yesterday I was looking at changing a Network connection id (the name that shows in Network and Sharing Center when you look at the adapters). I kept getting an error – either COM or number of arguments depending if I was running locally or remotely. I eventually realised that I must be using a connection […]
Quick Tip: Discovering service start accounts
Posted by: richardsiddaway | June 28, 2011 | 2 Comments |Do you know which accounts are used to start the services running on your machines? if you need this information try: Get-WmiObject -Class Win32_Service | select Name, DisplayName, StartName For a remote machine this becomes Get-WmiObject -Class Win32_Service -ComputerName Win7 | select Name, DisplayName, StartName And for testing which services are started by a specific […]
Continuing my AD excursion for a while. I saw a forum post about creating AD groups and came up with this function function new-securitygroup { [CmdletBinding()] param ( [string]$name, [string]$ou, [parameter(ParameterSetName="U")] [switch]$universal, [parameter(ParameterSetName="G")] [switch]$global, [parameter(ParameterSetName="DL")] [switch]$domainlocal ) $rootdse = [ADSI]"" $adpath = "$ou,$($rootdse.distinguishedName)" Write-Debug $adpath # set constants for group types $globalgroup = 0x00000002 $domainlocalgroup […]
Categories
- .NET
- Active Directory
- Architecture
- Azure
- Bash
- BITS
- Books
- CDXML
- CIM
- Cloud
- COM
- Containers
- Deep Dive
- Desired State Configuration
- DevOps
- DHCP
- DNS
- DSC
- European Summit
- Events
- Exchange
- File System
- Firewall
- General
- General IT Matters
- Hyper-V
- IIS
- Infrastructure
- IT Community
- IT Security
- Learning PowerShell
- Linux
- Math
- Microsoft
- Modules
- Nano Server
- Networking
- Office 2010
- Office 2013
- Open Source
- Opinion
- Outlook
- Philosophy
- PowerShell
- PowerShell 7
- PowerShell and .NET
- PowerShell and Active Directory
- PowerShell and CIM
- PowerShell and Exchange 2007
- PowerShell and IIS
- PowerShell and SQL Server
- PowerShell and WMI
- PowerShell Basics
- PowerShell original
- PowerShell Summit
- PowerShell User Group
- PowerShell User Group 2
- PowerShell v2
- PowerShell V3
- PowerShell v4
- PowerShell v5
- PowerShell v6
- PowerShell.org
- PowerShellGet
- PowerShellV2
- PSAM
- Rant
- Registry
- Scripting
- Scripting Games
- Scripting Games 2104
- Security
- SQL Server
- Storage
- Strings
- Summit
- Technology
- Uncategorized
- Virtualization
- Windows 10
- Windows 2012 R2
- Windows 7
- Windows 8
- Windows 8 Server
- Windows 8.1
- Windows Server
- Windows server 1709
- Windows Server 2008
- Windows Server 2008 R2
- Windows Server 2012
- Windows Server 2012 R2
- Windows Server 2016
- Windows Server 2019
- WMFv5
- WPF
- WSUS