Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Found some error when run this powershell #4

Open
lucaswong opened this issue Oct 4, 2019 · 1 comment
Open

Found some error when run this powershell #4

lucaswong opened this issue Oct 4, 2019 · 1 comment

Comments

@lucaswong
Copy link

NIC: Intel(R) Ethernet Connection (7) I219-V
Allow the computer to turn off this device.....Success
Allow this device to wake the computer.....Success
Only allow a magic packet to wake the computer.....Success
NIC: TAP-Windows Adapter V9

Allow the computer to turn off this device.....The property 'Enable' cannot be found on this object. Verify that the property exists and can be set.
At line:160 char:4
+             $NICPowerManage.Enable = $TurnOffDevice
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound
 
Method invocation failed because [System.Management.Automation.PSInternalMemberSet] does not contain a method named 'Put'.
At line:161 char:4
+             $HideOutput = $NICPowerManage.psbase.Put()
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Put:String) [], RuntimeException
    + FullyQualifiedErrorId : MethodNotFound

Failed

Allow this device to wake the computer.....The property 'Enable' cannot be found on this object. Verify that the property exists and can be set.
At line:173 char:4
+             $NICPowerManage.Enable = $WakeComputer
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound
 
Method invocation failed because [System.Management.Automation.PSInternalMemberSet] does not contain a method named 'Put'.
At line:174 char:4
+             $HideOutput = $NICPowerManage.psbase.Put()
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Put:String) [], RuntimeException
    + FullyQualifiedErrorId : MethodNotFound

Failed

Only allow a magic packet to wake the computer.....The property 'EnableWakeOnMagicPacketOnly' cannot be found on this object. Verify that the property exists and can be set.
At line:186 char:4
+             $NICPowerManage.EnableWakeOnMagicPacketOnly = $AllowMagic ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound
 
Method invocation failed because [System.Management.Automation.PSInternalMemberSet] does not contain a method named 'Put'.
At line:187 char:4

+             $HideOutput = $NICPowerManage.psbase.Put()

+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (Put:String) [], RuntimeException
+ FullyQualifiedErrorId : MethodNotFound

Failed

@mickpletcher
Copy link
Member

This may be caused by the NIC you have and/or computer manufacture. We are using Dell systems that this works on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants