Quantcast
Channel: Powershell via SSMS
Viewing all articles
Browse latest Browse all 5

Powershell via SSMS

$
0
0

Hi marqo,

 

Which version of SSMS did you use? Based on my test, SSMS 16 and 17 will use the default version of PowerShell in the machine. Have you checked the default version of PowerShell in your machine? You can use the following code to get it:

 

$PSVersionTable.PSVersion

 

Besides, you can use the code "PowerShell -version5.0 -NoLogo -InputFormat text -OutputFormat XML" to switch it, if these cannot help, you can upgradeWindows Management Framework (WMF) again.

 

Best Regards,

Teige

 


MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>