Search found 11054 matches

by jvierra
Sun Jun 06, 2010 3:57 am
Forum: VBScript
Topic: IP Address Functions..
Replies: 9
Views: 1352

IP Address Functions..

I beleive ther ewill be no more security patches or compatiblity fixes for W2K as of this month. Within a year it will become much harder to manage W2K. I have one client with 4 W2K servers left. Al of his softrware is getting harder and harder to run as no new software is being tested on W2K so man...
by jvierra
Sun Jun 06, 2010 3:04 am
Forum: VBScript
Topic: IP Address Functions..
Replies: 9
Views: 1352

IP Address Functions..

Here is a registry reader that retrieves the PNP device ID from both W2K3 and W2K as well as XP. I haven't tried it on WS2008 yet but it should be identical.

by jvierra
Sat Jun 05, 2010 10:51 pm
Forum: Windows PowerShell
Topic: Remove headings from get-location values
Replies: 3
Views: 502

Remove headings from get-location values

Just reference the property you want to use.

(Get-Content C:myfile.txt | Measure-Object -Line).Lines
by jvierra
Sat Jun 05, 2010 9:34 am
Forum: VBScript
Topic: IP Address Functions..
Replies: 9
Views: 1352

IP Address Functions..

Not all adapters have an associated IP. ANIP is only associated to adapters that are configured to use TCP/IP. Some adapters may use IPX or Applw protocols. Some may only use ETHERNET, TokenRing or simple modem protocols. None of this can be assumed. It has to be discovered. Also remember that WIndo...
by jvierra
Sat Jun 05, 2010 6:02 am
Forum: Windows PowerShell
Topic: problem with remoting and UNC paths
Replies: 6
Views: 3076

problem with remoting and UNC paths

CredSSP won't solve anissue with delegation. The middle machine has to be "trusted" for delegation or you cannot use it to hop. This design is intentional. It prevents rogue code from appearing to come from internal location. It is necessary to be very careful wih any machine theat is "trusted" for ...
by jvierra
Fri Jun 04, 2010 7:42 am
Forum: Windows PowerShell
Topic: PrimalForms questions
Replies: 14
Views: 5107

PrimalForms questions

Here is what I am doing in PowerShell (sans a GUI interface): Copy-Item $Source $Destination Write-Host ("Following source files copied to " + $Destination + ":") Get-ChildItem $Server1Destination -Name -Recurse | ForEach-Object {write-host $_} This gives me a tidy little list of all the files I ju...
by jvierra
Fri Jun 04, 2010 7:19 am
Forum: Windows PowerShell
Topic: PrimalForms questions
Replies: 14
Views: 5107

PrimalForms questions

Here is what it looks like after exporting to PowerGui v2 ######################################################################## # Code Generated By: SAPIEN Technologies, Inc., PrimalForms 2009 v1.1.8.0 # Generated On: 6/4/2010 5:07 PM # Generated By: jvierra ######################################...
by jvierra
Fri Jun 04, 2010 6:40 am
Forum: Windows PowerShell
Topic: PrimalForms questions
Replies: 14
Views: 5107

PrimalForms questions

I attached the complete project as a zip file. Look closely at the code and run it in PrimalForms. It does exactly what you are looking for. A TextBox object is a WIndows Control. It is one of many WIndows Controls available to the WIndows FOrms system under Net Framwork. A $ in front text name is a...
by jvierra
Fri Jun 04, 2010 5:09 am
Forum: Windows PowerShell
Topic: PrimalForms questions
Replies: 14
Views: 5107

PrimalForms questions

Hi - here is a zip with a complete solution as a PrimalForms project(PFF).

http://www.sapien.com/forums/uploads/24 ... extBox.zip

The trick is here:

Code: Select all

	$handler_GetFiles_Click={
	    $textbox1.Text = dir c: | Out-String
	}
	

	
by jvierra
Thu Jun 03, 2010 6:43 pm
Forum: Other Scripting Languages
Topic: File splitting using Command line
Replies: 2
Views: 2171

File splitting using Command line

YOu can't Structured files take an editing tool to split. Each file has to have a header and other elements set up correctly. jvierra2010-06-04 06:42:42