Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

Remote Script suddenly broken

$
0
0

Hello all,

I’ve been running Chris Duck’s sDelete alternative, found here

http://blog.whatsupduck.net/2012/03/powershell-alternative-to-sdelete.html

for a few months now. Today however, it’s not functioning any longer.

When I run the command

Invoke-Command -ComputerName xxxx-xx-xx .Write-ZeroesToFreeSpace -Root “c:”

I get:

“Invoke-Command : A parameter cannot be found that matches parameter name ‘Root’. At line:1 char:39 + Invoke-Command duran-co-vw .Zero.ps1 -Root “c:” + ~~~~~ + CategoryInfo : InvalidArgument: (:) [Invoke-Command], ParameterBindingException + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.InvokeCommandCommand”

This was working for months till just today.

Anyone have any idea why? As far as I know, my environment has not changed in the slightest.

Thanks!

submitted by /u/Kraekus
[link] [comments]

The post Remote Script suddenly broken appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Trending Articles