PowerShell for Windows Admins:

Users

1

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 			

June 8, 2012  12:22 PM

Working with profiles: 2 deleting profiles



Posted by: Richard Siddaway
PowerShell 3, PowerShell v2, Users, WMI

I recently (1 June) showed how to discover the user profiles on your system. Now its time to delete them.

function remove-profile {            
 
				
								
				 

				Bookmark and Share

				   

				 0 Comments
				   

				  RSS Feed
				   

				  Email a friend

			
			
			


January 17, 2012  3:00 PM

Get the logged on users



Posted by: Richard Siddaway
PowerShell v2, Users, WMI

Do you know which users are logged on to your systems?

Want to find out?

function get-logedonuser {            
param 			


July 5, 2010  1:30 PM

Get Local Admins



Posted by: Richard Siddaway
PowerShell v2, Users, WMI

I’ve been experimenting with different ways of retrieving local group membership – specifically the members of the local admin group.

This is the quickest answer I’ve come up with

  Bookmark and Share     0 Comments     RSS Feed     Email a friend


April 26, 2010  3:56 PM

Desktop of current logged on user



Posted by: Richard Siddaway
Users

 

In this post http://itknowledgeexchange.techtarget.com/powershell/current-logged-on-user/ we discovered...


April 24, 2010  3:32 PM

Windows Groups



Posted by: Richard Siddaway
PowerShell v2, Users, WMI

  We can find the groups on a machine using WMI PS> Get-WmiObject -Class Win32_Group | select Name, Description, SID, LocalAccount | format-list Name         : Administrators Description  : Administrators have complete and unrestricted access to the...


April 23, 2010  2:04 PM

User Profiles



Posted by: Richard Siddaway
PowerShell v2, Users

  Last time we looked at getting the currently logged on user. This time we’ll discover the user profiles that have been defined on our system.


April 22, 2010  3:08 PM

Current logged on user



Posted by: Richard Siddaway
PowerShell v2, Users

in case you are wondering how I pick the topics for these posts – its quite scientific.  I run Get-WmiObject -List win32* | where {$_.Name -notlike "*perf*"} to see the available classes and pick something that catches my eye. Sometimes it leads to a series of posts and other times its a...


1

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: