Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

[Help] Format the result of an excel file

$
0
0

How can i transform the result in an excel format. In that there is a result but it is in .txt file

Please see attached file it is zipped the code is long (Please visit the site to view this media)

Like for the first result instead of:
1. GRANT SELECT statement found in DBSCRIPTS\DB_FUNCTIONS\FN_RESOURCE_SLHLALL_GET_DYN_COLUMNSNJOINS.sql Line >> -- GRANT SELECT ON DBO.FN_RESOURCE_SLHLALL_GET_DYN_COLUMNSNJOINS TO Abacusi, Admin_ai (result is on 1 row)

I want to get the below result like this:
1. GRANT SELECT statement found in DBSCRIPTS\DB_FUNCTIONS\FN_RESOURCE_SLHLALL_GET_DYN_COLUMNSNJOINS.sql Line
 >> -- GRANT SELECT ON DBO.FN_RESOURCE_SLHLALL_GET_DYN_COLUMNSNJOINS TO Abacusi, Admin_ai (result is on 2 separate rows)


Viewing all articles
Browse latest Browse all 6937

Latest Images

Trending Articles



Latest Images