question

Filip-2434 avatar image
0 Votes"
Filip-2434 asked IanXue-MSFT answered

How to use printer scaner to scan file with powershell?

Hello.

Can I use scaner on my pritner to scan file with powershell?
Is it possieble to do with in powershell?

I already tried code on this page: see_it_here but it show me an error.

93412-a.png

I don't have available any printer or something like that.
Can anybody help me?

Thnaks for answarer.







windows-server-powershell
a.png (55.4 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

IanXue-MSFT avatar image
0 Votes"
IanXue-MSFT answered

Hi,

The error message indicates the $deviceManager.DeviceInfos is empty. There could be no available devices connected to your computer.

Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.