Sorry - You might take some time to learn a bit about scripting. It could save you a lot of time but, in most cases, you will have to customize to your own requirements. There is seldom such a thing as a 'packaged to go' script.
Search found 15436 matches
- Tue Jan 03, 2012 11:11 am
- Forum: VBScript
- Topic: Copy and rename file
- Replies: 9
- Views: 7485
- Tue Jan 03, 2012 10:55 am
- Forum: PowerShell
- Topic: WMI Provider for Folder level Quotas
- Replies: 3
- Views: 2333
WMI Provider for Folder level Quotas
Thank you. But your link works only at the volume level. I need to enumerate on the folder level. You can generate reports buy user/folder/exception using the FSRM GUI. http://technet.microsoft.com/en-us/library/cc754810(WS.10).aspx Also you can use the FSRM class to program the same features. http...
- Tue Jan 03, 2012 5:33 am
- Forum: PowerShell
- Topic: WMI Provider for Folder level Quotas
- Replies: 3
- Views: 2333
- Tue Jan 03, 2012 2:44 am
- Forum: VBScript
- Topic: Copy and rename file
- Replies: 9
- Views: 7485
Copy and rename file
In spite of all of the complications here the code I posted work exactly as expected except it had one type. I transposed the $ andf the _ in one place. 1..5 |%{copy e:1test.txt "e:2folder000$_file$_.ext" -whatif} I used 'e:' because that is wher I test. Her is 'c' 1..5 |%{copy e:1test.txt...
- Mon Jan 02, 2012 4:19 pm
- Forum: VBScript
- Topic: Copy and rename file
- Replies: 9
- Views: 7485
Copy and rename file
1..5 |%{copy C:1test.txt C:2folder000_$file$_.ext}
- Mon Jan 02, 2012 1:16 pm
- Forum: VBScript
- Topic: Copy and rename file
- Replies: 9
- Views: 7485
Copy and rename file
In PowerSHell this is easiest:
1..1000 |%{copy file.ext folder$_file$_.ext}
This will copy a single file to 1000 numerically distinct folders and name each file with a separate numerical name.
1..1000 |%{copy file.ext folder$_file$_.ext}
This will copy a single file to 1000 numerically distinct folders and name each file with a separate numerical name.
- Fri Dec 30, 2011 5:38 am
- Forum: PowerShell
- Topic: Getting paths for All Users
- Replies: 3
- Views: 2325
Getting paths for All Users
I see. Thanks for pointing that out. I'm completely new to Powershell so sometimes it isn't as clear as I think it is. That is not PowerSHell. It is Windows. Windows defines these things and they are exposed in the Net Framework. When you use the GetSpecialFolder you are not using POwerSHell but ar...
- Fri Dec 30, 2011 5:35 am
- Forum: PowerShell
- Topic: Getting paths for All Users
- Replies: 3
- Views: 2325
Getting paths for All Users
jvierra2011-12-30 13:36:13
- Thu Dec 29, 2011 7:26 am
- Forum: PowerShell
- Topic: Filter contents from a text file
- Replies: 2
- Views: 1616
Filter contents from a text file
Here is a smple of what can bedone with an XML oputput of teh report. $xml=[xml](cat results.xml) $xml.selectNodes('//UpdateData') | ?{$_.IsInstalled -eq 'false'} | %{ '"{0}","{1}"' -f $_.selectSingleNode('Title').'#text',$_.ID } To generate output a...
- Wed Dec 28, 2011 2:01 am
- Forum: Other Scripting Languages
- Topic: a script to change user's properties
- Replies: 3
- Views: 8874
a script to change user's properties
Type CSVDE /? and follow the instructions.