powershell-command.d.mts 498 B

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