tail equivalent in windows powershell
Connect to remote session from powershell Enter-PSSession -ComputerName remotecomputerIpOrhostname -Credential username
Connect to remote session from powershell Enter-PSSession -ComputerName remotecomputerIpOrhostname -Credential username
db.CollectionName.find().toArray().map(function(request) { return { size:Object.bsonsize(request), _id:request._id}; } ) .sort(function(a, b) { return a.size-b.size; }).pop();
db.currentOp(true).inprog.forEach( function(myDoc) { if(myDoc.client != undefined ){
**Backup Database** mongodump.exe --db DbName --username yourUserName --password yourpassword --authenticationDatabase admin **Backup specific collection**
**Recognising and Treating Croup** Your child has had a mild cold for the past day or two, then around bedtime, you hear it starting. That barky, raspy cough that sounds like a seal asking for his next meal. If you have heard a “croupy” cough before, there’s no mistaking it. If your child has never had croup, it can be a frightening experience. Here is a quick lesson on croup to help you get through the night. **Should You Contact Your Doctor?**