PowerShell for Windows Admins:

January, 2013


January 30, 2013  4:06 PM

PowerShell and Active Directory recording



Posted by: Richard Siddaway
Active Directory, PowerShell, User Group

The recording, slides and demo script from yesterday’s PowerShell and Active Directory session can be found here:

Bookmark and Share     0 Comments     RSS Feed     Email a friend

January 30, 2013  1:10 PM

PowerShell workflows–now we are six



Posted by: Richard Siddaway
PowerShell 3

 

The sixth in the series of articles on PowerShell workflows that are appearing on the Scripting Guy blog has been published.

The articles in the series that have been published are:


January 28, 2013  12:16 PM

PowerShell and Active Directory–reminder



Posted by: Richard Siddaway
Active Directory, PowerShell, User Group

Quick reminder for tomorrow’s session from the UK PowerShell group.  Details from:

Bookmark and Share     0 Comments     RSS Feed     Email a friend


January 19, 2013  11:05 AM

Piping between functions



Posted by: Richard Siddaway
PowerShell

A question came up about piping between advanced functions. The input to the second function might be an array. To illustrate how this works imagine a function that gets disk information – or better still use this one.

function 
				
								
				 

				Bookmark and Share

				   

				 0 Comments
				   

				  RSS Feed
				   

				  Email a friend

			
			
			


January 17, 2013  1:49 PM

Starting virtual machines for WSUS



Posted by: Richard Siddaway
Hyper-V, Windows Server 2012, WSUS

My test environment usually has a dozen or so machines at any one time. Some of these are short lived and used for a particular piece of testing – others are kept for  years. I decided that I wanted to keep up to date on the patching of these virtual machines so installed WSUS on a...


January 17, 2013  2:26 AM

Account SIDs–hopefully my last word



Posted by: Richard Siddaway
PowerShell, WMI

Ok the embarrassing moral of this story is that you shouldn't answer questions in a hurry at the end of the evening. 5 minutes after shutting down I realised that there is a far, far simpler way to get the info. Win32_AccountSID is a WMI linking class. It links Win32_SystemAccount and Win32_SID...


January 16, 2013  4:47 PM

Account SIDs revisited



Posted by: Richard Siddaway
PowerShell, WMI

I realised there is an easier way to get the data

function get-SID {            
param (            
...


January 16, 2013  4:33 PM

Passing function names



Posted by: Richard Siddaway
PowerShell

A question asked about passing a function name into another function which then called the function. It sounds worse than it is. if you need to pass the name of a command and then call it try using invoke-expression

function 
				
								
				 

				Bookmark and Share

				   

				 0 Comments
				   

				  RSS Feed
				   

				  Email a friend

			
			
			


January 16, 2013  4:21 PM

Account SIDs



Posted by: Richard Siddaway
PowerShell, Users, WMI

A question on the forum asked about finding the accounts and SIDs on the local machine.

function get-SID {            
param 			


January 16, 2013  2:29 PM

UK PowerShell group – 29 January 2013



Posted by: Richard Siddaway
Active Directory, PowerShell, User Group


When: Tuesday, Jan 29, 2013 7:30 PM (GMT)


Where: virtual

*~*~*~*~*~*~*~*~*~*

Active Directory is one of the commonest automation targets for administrators. This session will covert the basics of automating your AD admin - scripts and the Microsoft cmdlets. The...


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: