PowerShell for Windows Admins:

April, 2010


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 25, 2010  9:35 AM

PowerShell Admin Modules



Posted by: Richard Siddaway
PowerShell v2, PSAM, Shares

I have created the first download for the PowerShell Admin Modules. This will be a set of of modules including code previously published on my blogs at:

Bookmark and Share     0 Comments     RSS Feed     Email a friend


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:25 PM

Binging PowerShell



Posted by: Richard Siddaway
PowerShell v2

I posted recently about PowerShell help information being available in the Visual Search galleries on Bing -

Bookmark and Share     0 Comments     RSS Feed     Email a friend


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...


April 22, 2010  1:15 PM

Windows System Assessment Tool



Posted by: Richard Siddaway
Operating System

The Windows System Assessment Tool was introduced with Windows Vista.  It gives a score 1-7.9 (on Windows 7) for components such as memory, processor and disk. The scores are accessible through the System icon in Control Panel – or we can use a bit of WMI

PS> Get-WmiObject...


April 21, 2010  2:30 PM

Shares:Security



Posted by: Richard Siddaway
PowerShell v2, Shares

 

In the previous post we saw how to get the Access Mask for the current user for a particular share.  It would be better if we could dump the information for all shares and all security access in one go.

We need to use Win32_LogicalAccess


April 14, 2010  7:08 AM

Shares: Access mask



Posted by: Richard Siddaway
Shares

The access mask controls what you can do i.e. what rights you have. We can use the GetAccessMask method to find the access mask but all we get back is a number we need unravel it. The number id a bit mask with the following values assigned

$mask = DATA {
ConvertFrom-StringData...


April 12, 2010  9:58 AM

Powershell User Group Live Meeting: Modules



Posted by: Richard Siddaway
PowerShell v2


When: Tuesday, Apr 20, 2010 7:30 PM (BST)


Where: Virtual

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

Notes

We will cover the new module functionality introduced with PowerShell v2 with a biref look at some of the functionality available in Windows 7/Windows 2008...


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: