Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $Db = "C:\FSO\Test.mdb"
  2. $table = "MyTest"
  3. $Fields = "F1 Counter, F2 Date, F3 Integer, F4 Text"
  4. $command = "Create Table $table `($fields`)"
  5.  
  6. Check-Path -db $Db
  7. Create-DataBase -db $Db
  8. Invoke-ADOCommand -db $Db -command $command
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement