added rec drive and rebase for openssh-server 2012R2
This commit is contained in:
		
							parent
							
								
									85e5ebac0b
								
							
						
					
					
						commit
						45cd1a29c9
					
				| @ -18,6 +18,7 @@ share_names = { | ||||
|     'D:\Tank\Shares\marketing':  ['marketing', 'M:\\'], | ||||
|     'D:\Tank\Shares\\almar':  ['almar', 'O:\\'], | ||||
|     'D:\Tank\Shares\production':  ['production', 'P:\\'], | ||||
|     'D:\Tank\Shares\\recreation':  ['recreation', 'R:\\'], | ||||
|     'D:\Tank\Shares\photos':  ['photos', 'U:\\'], | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| #!/bin/sh | ||||
| /usr/bin/ssh fredw@nrb-02 'powershell.exe -command "& {Get-SmbOpenFile} | ConvertTo-Csv -notype | out-file -encoding UTF8 -filepath files.csv"' | ||||
| /usr/bin/scp fredw@nrb-02:/home/fredw/files.csv /tmp/files.csv | ||||
| /usr/bin/scp fredw@nrb-02:files.csv /tmp/files.csv | ||||
| 
 | ||||
| /usr/bin/ssh fredw@nrb-01 'powershell.exe -command "Get-DHCPServerv4scope |  Get-DHCPServerv4Lease | ConvertTo-CSV -notype | out-file -encoding UTF8  -filepath dhcp.csv"' | ||||
| /usr/bin/scp fredw@nrb-01:/home/fredw/dhcp.csv /tmp/dhcp.csv | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user