You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i'm trying to pass simple functions through to these scripts including the tenant admin UPN (so it doesn't ask) and the JSON directory output (again so it doesn't ask). This is to automate the scripting process however I can't seem to get these scripts to accept the passed params?
They seem to have a param configured for use from what i can see? (for $user and $json)
What i'm pushing to the .ps1 via a batch:
powershell.exe -command 'powershell-intune-samples-master\CompliancePolicy\CompliancePolicy_Import_FromJSON.ps1' -User '[email protected]' -JSON 'dirname'
Any help is much appreciated.
The text was updated successfully, but these errors were encountered:
Hi, i'm trying to pass simple functions through to these scripts including the tenant admin UPN (so it doesn't ask) and the JSON directory output (again so it doesn't ask). This is to automate the scripting process however I can't seem to get these scripts to accept the passed params?
They seem to have a param configured for use from what i can see? (for $user and $json)
What i'm pushing to the .ps1 via a batch:
powershell.exe -command 'powershell-intune-samples-master\CompliancePolicy\CompliancePolicy_Import_FromJSON.ps1' -User '[email protected]' -JSON 'dirname'
Any help is much appreciated.
The text was updated successfully, but these errors were encountered: