Posted by: Richard Siddaway
In a previous post
we looked at...
Don’t expect to be anywhere but in front of your computer between 26 April and 7 May. Why? because the 2010 Scripting Games are happening.
The usual 10 events with beginners and advanced versions.
A whole bunch of expert commentators – including me.
I’ve published a review of the book here
Now we have seen how to create a share lets extend the script a bit. This is how a lot of my scripts get developed. I need to solve a particular problem so I write a script to do that task. While I’m writing I try to see how I can make the script generic. Sometimes the script...
we’ve seen a few things we can do with shares – its time to look at creating them. A simple share craetion script will look like this
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...
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.
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...
Manning www.manning.com have extended their 50% discount across the weekend as follows:
(Today) Friday March 5, 2010: 50% off all MEAPs. Use code dotd0305tw
Saturday March 6, 2010: 50% off all print books. Use code...
I was answering a question about time synchronisation and it got me wondering about check the time on multiple machines.