Dear All,
Fairly new to powershell – i’ve made a boo boo.
Got a custom powershell module. Wrote another script to import the module and run the cmdlet.
Unfortunately, in the ‘import’ process, i’ve overwritten the entire “c:\windows\system32\windowspowershell\v1.0\modules” folder. So now, not only does my script not work but nothing else PowerShell does either!!
Wouldn’t be much of an issue if it were just my machine but this has run on 180 machines – doh.
Any advice on how to ‘reload’ the default modules or something similar on 180 machines?
Sticky one this…
Thanks very much in advance.
Adam