PowerShell does not execute programs from untrusted sources so you need to use ".\ogrinfo".
> -----Ursprüngliche Nachricht----- > Von: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] Im > Auftrag von Vogt, Robert (RCIS) > Gesendet: Montag, 31. Oktober 2016 19:51 > An: mapserver-users@lists.osgeo.org > Betreff: [mapserver-users] ogrinfo not recognized > > I'm trying to test my connection string in ogrinfo. > These are the steps I'm taking... > > 1. Open PowerShell as administrator > 2. Navigate to directory where ogrinfo.exe is located > 3. Enter command "ogrinfo > MySQL:DatabaseName,host=Server,user=myUserName,password=myPassword,port=my > Port" > > Then I receive an error stating "ogrinfo : The term 'ogrinfo' is not > recognized as the name of a cmdlet" > > Not sure what I am doing wrong? > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users