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

win7 or win2008 can't work #8

Open
WhiExplosions opened this issue Jun 17, 2020 · 2 comments
Open

win7 or win2008 can't work #8

WhiExplosions opened this issue Jun 17, 2020 · 2 comments

Comments

@WhiExplosions
Copy link

It errors in win7 or win2008.
无法将“Resolve-DnsName”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请
检查名称的拼写,如果包括路径,请确保路径正确,然后重试。
https://xbuba.com/questions/51423281
Please, is there any resolution?

@no0be
Copy link
Owner

no0be commented Jul 9, 2020

I am aware of this issue which is due to the fact that the Resolve-DnsName cmdlet has been introduced in PowerShell V3 but Windows 7 and Server 2008 only supports PowerShell V2. In order to fix this issue, we need to find an alternative to Resolve-DnsName that fits in the small payload size available...

I would like to work on this issue but I don't have much time right now... Any help or suggestion will be highly appreciated!

@analyserdmz
Copy link

I am aware of this issue which is due to the fact that the Resolve-DnsName cmdlet has been introduced in PowerShell V3 but Windows 7 and Server 2008 only supports PowerShell V2. In order to fix this issue, we need to find an alternative to Resolve-DnsName that fits in the small payload size available...

I would like to work on this issue but I don't have much time right now... Any help or suggestion will be highly appreciated!

Hello! How about this? https://powershellmagazine.com/2013/01/07/pstip-resolving-ip-addresses-with-wmi/

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

3 participants