powershell-command.d.mts 434 B

12345678910
  1. export function createEncodedPowerShellArgs(script: string, values?: readonly string[]): string[];
  2. export function createWindowsPowerShellSecurityArgs(
  3. script: string,
  4. values?: readonly string[],
  5. ): string[];
  6. export function readWindowsAuthenticodeSignature(
  7. filePath: string,
  8. ): Promise<{ status: number; subject: string | null }>;
  9. export function verifyWindowsAuthenticodeSignature(filePath: string): Promise<string | null>;