无法在PowerShell核心(PS6.2)中导入模块DnsClient模块

时间:2019-12-10 09:26:41

标签: powershell powershell-core

在PowerShell核心(PS6.2)中无法使用Sector Property_ID Unit_ID Unit_usage Property_Usage Rent_Unit_Status Unit_Area SE1 1 1 Shop Commercial Rented 200 SE1 1 2 Resid Commercial Rented 200 SE1 1 3 Shop Commercial Vacant 100 SE1 2 1 Shop Residential Vacant 200 SE1 2 2 Apartment Residential Rented 100 SE2 1 1 Resid Commercial Rented 400 SE2 1 2 Shop Commercial Vacant 100 SE2 2 1 Apartment Residential Vacant 500 模块,我最近安装了PowerShell 6.2并尝试运行Sector No_of_Properties No_of_Units Total_area %_Vacant %_Rented %_Shop %_Apartment SE1 2 5 800 37.5 62.5 62.5 12.5 SE2 2 3 1000 60 40 10 50

获取错误:

  

术语“ Get-DnsClientServerAddress”不被识别为   cmdlet,功能,脚本文件。

我试图通过运行以下命令来解决此问题。

Import-module DnsClient

但是再次出现错误:

Get-DnsClientServerAddress

enter image description here

0 个答案:

没有答案