0

i have an ps1 file witch work fine in powerISE. But in my case ,I have a c# class witch execute ps1 file and I want to set variables values from c# class .

code in PS1 powershell

function Add-CompanyContact([Microsoft.SharePoint.SPList]$list,[string]$company, [string]$name)

the company and the name are setted by users beast regards .

4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.