• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. esequiel
    3. Posts
    E
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by esequiel

    • Snapin Powershell 32/64 bit

      Re: Snapin Powershell 32/64 bit issue?

      Hi Everyone,

      I got a problem when i try to exectute this script as a snapin :

      Import-Module -Name "C:\Program Files\Intel\Wired Networking\IntelNetCmdlets\IntelNetCmdlets"
      if ($intelnic = Get-IntelNetAdapter){
      
      	$networkVLANs=(
      		@{"VLAN"="20";"Name"="LAN1"},
      		@{"VLAN"="0";"Name"="LAN 2"}
      	)
      
      	foreach($network in $networkVLANs)
      	{
      		Remove-IntelNetVLAN -Parent $intelnic -VLANID $network["VLAN"]
      		if (Add-IntelNetVLAN -Parent $intelnic -VLANID $network["VLAN"]) {
      				Set-IntelNetVLAN -Parent $intelnic -VLANID $network["VLAN"] -NewVLANName "$($network["VLAN"]) - $($network["Name"])"
      		}
      	}
      }
      

      It doesn’t work because the FogClient invoke the powershell in 32bit mode, even if i use the explicit 64bit command line to the 64bit executable…

      posted in Windows Problems
      E
      esequiel
    • 1 / 1