Skip to main content

Posts

Showing posts with the label windows 7

Windows PowerShell Common Commands

  Some common commands on PowerShell Change a Directory DOS: cd PowerShell: Set-Location List Files in a Directory DOS: dir PowerShell: Get-ChildItem Rename a File: DOS: rename PowerShell: Rename-Item To see if a DOS command has an alias, you can use the Get-Alias cmdlet. For example, Get-Alias cd shows you that cd is actually running the Set-Location cmdlet. So instead of remembering all the powershell equivalents, just remember the alias command which is Get-Alias This way just log into PowerShell and type the command Get-Alias <command line command> and you’ll get the equivalent powerShell command of it!   I’ve shamelessly copied the content from this website - http://www.howtogeek.com/163127/how-powershell-differs-from-the-windows-command-prompt/ Please visit the main site for more information on PowerShell…   More Power to you

Useful Windows Commands

ipconfig : Used to see the IP address and the gateway mask. Can also be used to ipconfig /all : Displays all the available information for a system ipconfig /displaydns : This will display the local dns file ipconfig /flushdns : This command will clear the local dns file systeminfo : Get the operating system information using this command systeminfo /S <systemname> /U <username> : Get the operating system information for a remote system using this command tasklist : Does the same thing that starting a task manager would do…Display a list of tasks running on the system. taskkill /im <imagename> : Kills the process with the image name provided taskkill /pid <processid> : Kills the process with the process id provided type : read a file from command line using type… netstat : You can get to know who/what is getting connected to your system   netstat –a: displays all connection info netstat –b : displays the executable name in the netstat outpu...

Export Bookmarks

There are alot of times when we would have to move the bookmarks from one machine to another for various reasons - backup/system migrations etc So here is a one stop solution on various browsers: On IE: Go to View Menu on the browser --> Toolbars --> Check (click) the Favorites Toolbar if its not already checked - This will enable you to see the favorites toolbar on the browser Once you see the Favorites toolbar, click on the "Favorites" menu button on the favorites toolbar. This will enable you to see a sidebar on the browser with your favorites listed You will also see a "Add to Favorites" button with a side arrow. Click that side arrow to get a menu where you have an "Import and Export" option. Click the "Import and Export" option On Firefox : Go to Bookmarks Menu on the browser, then click "Organize Bookmarks" -- this will open a new window which has options to import/export bookmarks One change for Firefox 7...