Search found 12901 matches

by jvierra
Mon Mar 26, 2012 7:19 pm
Forum: Windows PowerShell
Topic: Package File vs snappin
Replies: 4
Views: 1082

Package File vs snappin

Yes - When you create the script you just are telling it to load teh module. The module still has to reside on the target machine. For many modules like the ActiveRoles or Exchange ones you will have to run an installer to install all of the support for the product using the vendors intaller.

by jvierra
Mon Mar 26, 2012 10:19 am
Forum: VBScript
Topic: Loop
Replies: 2
Views: 1686

Loop

Note also that you make the asumnption that ther is only one table on the page. This is highly unlikely.

If the tabbel has an ID then it woud be possible to grab it and save teh HTML to a file. This an be easily loaded into Excel.
by jvierra
Mon Mar 26, 2012 9:21 am
Forum: VBScript
Topic: Double line in log file error
Replies: 10
Views: 5471

Double line in log file error

Creating a new file alwyas sets the Archive bit. YOu don't need to set it.
by jvierra
Mon Mar 26, 2012 8:05 am
Forum: Windows PowerShell
Topic: Find and deleted the file with powershell.
Replies: 5
Views: 746

Find and deleted the file with powershell.

The nk2 file is here:
dir pcnamec$UsersjvierraAppDataRoamingMicrosoftOutlook*.nk2

If the profile is not roamed it will be in AppDatalocal

The files are not hidden.
by jvierra
Mon Mar 26, 2012 8:00 am
Forum: Windows PowerShell
Topic: Find and deleted the file with powershell.
Replies: 5
Views: 746

Find and deleted the file with powershell.

I have no idea what you are talking about.

You are trying to reinvent the wheel. Just delete teh profile reference in teh registry and Outlook will prompt for a new connection.

Without an installer you will not be able to reconnect Outlook. It is an encrypted setting in the registry.

by jvierra
Mon Mar 26, 2012 7:54 am
Forum: VBScript
Topic: status bar
Replies: 1
Views: 2159

status bar

window.status="Guess what the answer is?"
by jvierra
Mon Mar 26, 2012 7:39 am
Forum: Windows PowerShell
Topic: Find and deleted the file with powershell.
Replies: 5
Views: 746

Find and deleted the file with powershell.

help remove-item -full
by jvierra
Mon Mar 26, 2012 3:49 am
Forum: VBScript
Topic: Double line in log file error
Replies: 10
Views: 5471

Double line in log file error

You are thinking backwards. The archoive bit says the file has not been backed up. Changiing this will not cause the file to be backed up. it wil cause it to be skipped.


The backup system manages the Archive bit on files and folders.


by jvierra
Sun Mar 25, 2012 8:41 am
Forum: Windows PowerShell
Topic: Powershell Export/Import legacyExchangeDN, msExch
Replies: 3
Views: 3839

Powershell Export/Import legacyExchangeDN, msExch

Import-CSV does not import into AD. Are you saying that you just want to change one attribute in AD? Just use Set-ADUser to reset the exchange server value. get-qaduser -searchroot "ou=Test,dc=Testlab,dc=com" | Set-ADUser -Add @{legacyExchangeDN= '/o=Exnew2007'} Your format for the DN is incorrect. ...
by jvierra
Sun Mar 25, 2012 5:37 am
Forum: Windows PowerShell
Topic: Here is an alternative to write-debug
Replies: 2
Views: 345

Here is an alternative to write-debug

Thats a lot of trouble to recreate a builting function. Write-Verbose is what you want. To eneble it in any script just add -verbose to the command. Example: function TestVerbose{     [CmdLetBinding()]     Param(         [Parameter(ValueFromPipeline=$true)]$x     )     Begin{        Write-Verbose 'G...