-
hi This might answer your question Add hebrew to powershell: http://www.silentcrash.com/2013/05/how-to-add-hebrew-to-powershell-or-command-cmd-console/
-
Hello Joseph Did you consider using GPO to copy files ? sometimes it can be much simple. T.
-
Hi I tried the test-connection option I think it just slowed the script more :-) It looks like this: $strComputer = Get-Content "D:\Scripts\AllStations.txt" $objExcel = New-Object -ComObject Excel.Application $wb = $objExcel . Workbooks . Add() $item = $wb . Worksheets . Item( 1 ) $objExcel . Visible = $True $item . Cells . Item( 1 , 1 ) = "Computer Name" $item . Cells . Item( 1 , 2 ) = "Manufacturer" $item . Cells . Item( 1 , 3 ) = "BIOS Name" $item . Cells
-
hi pyro3113 the code you presented in unreadable. thanks
-
hi didnt work :-(
-
Ok thanks it looks better now, still slow (because of a timeout on unreachable stations) but the data is being populated 'on the fly' so I wont lose data if I stop the script. do you think there is a way to shorten the retry or timeout of the WMI query? Thanks again, TH
-
OK thanks, TH
-
thanks Jason Just saw your post. I will try this
-
Hello experts I spent some time constructing the below script to retrieve BIOS data from remote computers. however, the script seems to run for a very long time, I mean hours... While it runs, the excell spreadsheet opens and does not get data. only when the script finishes, I can see the data populating the excel chart. and that is when I minimize the number of hosts in the list to about 10 hosts. please assist, Thanks Troy $ErrorActionPreference = "silentlycontinue" $strComputer = Get
-
Hi Try this, I found this script get-a-remote-server-ip and cut the relevant section: Get-WMIObject Win32_NetworkAdapterConfiguration -Computername $COMPUTERNAME | ` Where-Object {$_.IPEnabled -match "True"} | ` Select-Object -property @{N='IPAddress';E={$_.IPAddress}} Regards, TH