Hello nn, you need to provide more information so we can analyze your requirements.
Are you looking to save notepad file or PowerShell files as text into SQL Server?
Or are you using PowerShell to import notepad file into SQL Server?
As SQL Server is a relational database, structured data is stored in the form of columns and rows. Specific import methods can involve using SQL Server's Import and Export Wizard or creating an ETL project within an SSIS package.
Best Regards,
Mikey Qiao
If you're satisfied with the answer, don't forget to "Accept it," as this will help others who have similar questions to yours.