Porous shape memory polymer (SMP) scaffolds are promising ‘smart’ materials for potential use in a wide range of biomedical applications. Electrospinning provides an approach to produce fibrous SMP scaffolds to enhance their porosity, mass transfer, and flexibility. Here, we studied the effects of electrospinning parameters (rotating collector rotational speed and solvent) on shape memory and mechanical properties of a biostable thermoplastic polyurethane (PUr) SMP. Scanning electron microscopy confirmed that fiber diameter and tortuosity could be tuned using varied collector rotation speeds and/or solvents. Mechanical properties, including modulus, tensile strength, and ultimate elongation, were tuned independently of chemistry based on variations in fiber architectures. All scaffolds demonstrated shape memory properties. Additionally, due to strains that are trapped in the fibers during the electrospinning process, SMP fibers are programmed into a strained, temporary shape during the fabrication step. These fibers can be immediately triggered to recover to a non-strained primary shape after fabrication to reduce sample preparation time and complexity. As a proof-of-concept, bacterial protease-responsive SMPs were electrospun and exposed to S. aureus in programmed secondary shapes. Upon exposure to bacteria, these SMPs underwent shape recovery, which resulted in reduced bacterial attachment and biofilm formation. These materials could be employed as bacteria-responsive wound dressings in future work. Overall, electrospinning provides a valuable tool for tuning mechanical and shape memory properties independently from chemistry and for programming SMPs during fabrication to enable scale-up of electrospun SMP scaffolds.