Search found 12660 matches

by jvierra
Mon Nov 14, 2011 11:55 am
Forum: Windows PowerShell
Topic: Copying and Renaming file with yesterdays date
Replies: 3
Views: 1127

Copying and Renaming file with yesterdays date

You are not posting the script. What you are doing is successfully hiding the cause of your error. Post the exact script and the exact error.
by jvierra
Mon Nov 14, 2011 10:43 am
Forum: Windows PowerShell
Topic: Copying and Renaming file with yesterdays date
Replies: 3
Views: 1127

Copying and Renaming file with yesterdays date

A varaible will not exapnd inside of single quotes.

$x='hello'

'here is $x not expanded'

"here is $x expanded"

by jvierra
Sat Nov 12, 2011 2:45 am
Forum: Windows PowerShell
Topic: Code Signing
Replies: 4
Views: 914

Code Signing

I just did much investigation. V3 does not have the issue but so far teh resolution has not been propagated to the CmdLets where is belongs. On V3 the ISE uses UTF-8 as a default. This willprevent teh issue for the unsuspecting but will not allow us to use Unicode on 64 bit platforms. This will have...
by jvierra
Sat Nov 12, 2011 2:04 am
Forum: Windows PowerShell
Topic: Code Signing
Replies: 4
Views: 914

Code Signing

The article is well written. I disagree that it is a bug. No Microsft documentation addresses signing scripts created with the ISE. All script signing has been developed and documented with the CLI. Setting a signature with the CmdLet addresses ANSI files only. The fix converts all files to UTF-8 wh...
by jvierra
Fri Nov 11, 2011 2:53 am
Forum: Windows PowerShell
Topic: Code Signing
Replies: 4
Views: 914

Code Signing

Start here. This is one of the better tutorial on script signing.

http://www.hanselman.com/blog/SigningPo ... ripts.aspx

by jvierra
Thu Nov 10, 2011 2:04 pm
Forum: VBScript
Topic: need help replace an apostrophe with 2 apostrophe
Replies: 3
Views: 2219

need help replace an apostrophe with 2 apostrophe

So what you are doing is just experimenting with how to make things work. That is good. Keep experimenting and it will become more and more familiar. In this sense you are a student. Uset the sharing section and search for scripts on teh Internet. The more different approaches you look at the more y...
by jvierra
Thu Nov 10, 2011 8:56 am
Forum: Windows PowerShell
Topic: Working with 2 .csv files
Replies: 5
Views: 738

Working with 2 .csv files

create a loop and match all of the fields record by record. Output the results you need.

by jvierra
Thu Nov 10, 2011 8:45 am
Forum: Windows PowerShell
Topic: Exiting Action Blocks
Replies: 3
Views: 838

Exiting Action Blocks

Try:
Help job

I cannot really advisze without seeing your code.

Your explanation is fairly vague.
by jvierra
Wed Nov 09, 2011 12:56 pm
Forum: VBScript
Topic: objTextFile.writeline issue
Replies: 4
Views: 1637

objTextFile.writeline issue

set f = GetFolder(C:adminusers) set f = GetFolder("C:adminusers") I can now see that you are not a technician and that you do not know scripting. You need ot learn basic Windows admin and some basics of scripting. The parent site here has great videos and some very good books that will help you to b...
by jvierra
Wed Nov 09, 2011 12:19 pm
Forum: VBScript
Topic: objTextFile.writeline issue
Replies: 4
Views: 1637

objTextFile.writeline issue

Assumng you have profiles redirectred to a folder call 'User Profiles' set f =GetFolder(<path to user profiles>) for each fld in f.subfolders ' call the above code in this loop with "fld.Path" next That wil enumerate all user profiles and you can then access teh favorites folder. If WS2003 or earlie...