PowerShell for Windows Admins:

PowerShell v2


March 7, 2010  5:23 AM

Shares: Understanding the Access Mask



Posted by: Richard Siddaway
PowerShell v2, Shares, WMI

 

We saw earlier that the access mask was returned as a number.  We need to understand what that number means.

NOTE – BEFORE RUNNING THE SCRIPT ENSURE LINE 16 AND 17 ARE COMBINED.  THEY ARE SPLIT HERE TO FIT THE LISTING INTO THE DISPLAY WIDTH.  THE...

March 6, 2010  6:06 AM

Share Type



Posted by: Richard Siddaway
PowerShell v2, Shares, WMI

 

One other point we need to cover is the type of share.  We have a number of choices as shown in the script.  The Type property has to be converted from a number to an understandable value – unless you want to learn the share types off by heart.


March 6, 2010  4:37 AM

Sharing



Posted by: Richard Siddaway
PowerShell v2, Shares, WMI

 

One area of our Windows machines that we definitely need to think about is the shares we create on a machine. These control access to resources – especially file resources.

We can find the shares on a machine using the Win32_Share class. The name of the share and its...


March 4, 2010  1:41 PM

Manning Special Offer



Posted by: Richard Siddaway
Books, PowerShell v2

Manning – the publishers of my book – have a big promotion on Friday 5 March.

Go to www.manning.com on Friday and get 50% off any MEAP.

 

MEAP is Manning Early Access Program – get early access to the book...


February 16, 2010  4:11 PM

Disks: CD Drives



Posted by: Richard Siddaway
Disks, PowerShell v2

Just to finish off our look at disks – we’ll have a quick look at CD drives


February 13, 2010  11:08 AM

PowerShell in Practice deal



Posted by: Richard Siddaway
PowerShell v2

Manning are running a Deal of the Day Sunday 14 February for PowerShell in Practice

 

The deal is $15 for the ebook version.  Follow the link from http://www.manning.com/ and use discount code...


February 11, 2010  4:07 PM

VolumeLabels



Posted by: Richard Siddaway
Disks, PowerShell v2

Need to read just the volume labels on a system.  Try this


February 7, 2010  4:55 AM

PowerShell, WMI and WQL



Posted by: Richard Siddaway
PowerShell v2, WMI

Don’t forget the PowerShell UG Live Meeting on Tuesday 9 February at 7:30 GMT . Details can be found here

Bookmark and Share     0 Comments     RSS Feed     Email a friend


January 25, 2010  1:17 PM

Correct version of PowerShell



Posted by: Richard Siddaway
PowerShell v2

It seems that versions of the PowerShell v2 CTP are still being used and problems are being reported because the incorrect version of PowerShell is being used.

Tobias has a great post explaining which version you should be using and providing tools to check your PowerShell...


January 1, 2010  5:06 AM

Downloading PowerShell version 2



Posted by: Richard Siddaway
PowerShell v2

The PowerShell version 2 download seems to be difficult to find. It is part of the Windows Management Framework (PowerShell 2.0, WinRM 2.0 and (where applicable BITS 4.0). The install packages for various Operating Systems – Vista, Windows 2008, Windows 2003 and Windows XP are available in 32...


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: