Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. with open('pscommands.txt' , 'r') as f:
  2.     for command in f:
  3.         for out_com in command.split():
  4.             print('Get-Help'+command+' | more | Out-File C:\\users\\uname\\Desktop\\commands\\'+command+'.txt;')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement