Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with open('pscommands.txt' , 'r') as f:
- for command in f:
- for out_com in command.split():
- print('Get-Help'+command+' | more | Out-File C:\\users\\uname\\Desktop\\commands\\'+command+'.txt;')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement