Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

cant find file

$
0
0

I'm new to PowerShell and  I'm trying to delete multiple users from O365. I keep getting an error.

I log into PowerShell as admin and enter: Import-Csv c:\userdeletions | ForEach-Object {Remove-MsolUser -UserPrincipalName $_.UserPrincipalName}

I get back the following error:

Import-Csv : Could not find 'C:\userdeletions'. At Line:1 Char:1


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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