The Windows XP installation CD includes an option to repair an existing Windows XP installation. Using this option allows you to reinstall Windows without losing the files, personal data and programs you already have on the system. To take advantage of it, just place the CD...
Categories
- All Posts
- android
- AntiVirus
- apps
- AWS
- Backup
- Batch
- Blogger
- Books
- CISCO
- Cloud
- Cluster
- Coin Master
- commands
- Commvault
- Configurations
- CSS
- Data Protector
- Data Recovery
- DB Backup
- Desktop Sharing
- Disabling
- domain
- Downloads
- Dumps
- ESX
- exam questions
- Excel
- Exchange
- FOLDER LOCK
- free Books
- games
- Guide
- Hacks
- HP - UX
- HP0-A113
- HP0-A113 HP ATP - Data Protector v9 (Exam 1 Questions) - Question 9
- HTML
- Hyper-V
- information
- Internet
- interview questions
- inventory
- jQuery
- key
- Links
- Linux or Unix
- Mcafee
- microsoft
- Migrations
- mobile tips
- NetBackup
- Networker
- Networking
- Online Database
- Operating system
- Outlook
- Password reset
- PHP
- Ports
- RAID
- regedit-tips
- Registry
- SAN
- SBS 2008
- Simulator
- software
- SQL
- Storage
- Study Meterial
- tech support
- Tools
- Top List
- Troble Shooting
- Useful commands
- vbscript
- Veeam
- Videos
- Virtual Machine
- VirtualBox
- VMWare
- VSphere
- webinar
- windows
- windows 10
- Windows 2003
- Windows 2008
- Windows 7
- Windows 8
- Windows Tips
- windows XP
- YouTube
Contact
Saturday, July 9, 2011
How To Create An Unattended Windows XP Disk
An unattended XP disk is a customized installation disk that allows you to perform a Windows installation with minimal effort (once the disk is created). All of the effort takes place in creating the unattended disk, but it is well worth it. With an unattended XP disk, you can preselect...
Monday, July 4, 2011
Password-Protect an Excel Spreadsheet
Adds a password (%reTG54w) to a Microsoft Excel spreadsheet.
PowerShell$comments = @'
Script name: Set-ExcelPassword.ps1
Created on: Friday, June 29, 2007
Author: Kent Finkle
Purpose: How can I use Windows Powershell to
Password-Protect an Excel Spreadsheet?
'@
#-----------------------------------------------------
function Release-Ref ($ref) {
([System.Runtime.InteropServices.Marshal]::ReleaseComObject(
[System.__ComObject]$ref) -gt 0)
[System.GC]::Collect()
[System.GC]::WaitForPendingFinalizers()
}
#-----------------------------------------------------
$xlNormal = -4143
$xl = new-object -comobject excel.application
$xl.Visible = $True
$xl.DisplayAlerts = $False
$wb = $xl.Workbooks.Add()
$ws = $wb.Worksheets.Item(1)
$ws.Cells.Item(1, 1).Value() = get-date
$a = $wb.SaveAs("C:\Scripts\Test.xls",$xlNormal,"%reTG54w")
$a = $xl.Quit()
$a = Release-Ref($ws)
$a = Release-Ref($wb)
$a = Release-Ref($xl)
Verified...
Deletes every other row in a Microsoft Excel worksheet.
Deletes every other row in a Microsoft Excel worksheet.
PowerShell$comments = @'
Script name: Delete-EveryOtherRow.ps1
Created on: Sunday, September 02, 2007
Author: Kent Finkle
Purpose: How can I use Windows Powershell to
delete every other row on an Excel worksheet?
#http://support.microsoft.com/kb/213610/en-us
'@
#-----------------------------------------------------
function Release-Ref ($ref) {
([System.Runtime.InteropServices.Marshal]::ReleaseComObject(
[System.__ComObject]$ref) -gt 0)
[System.GC]::Collect()
[System.GC]::WaitForPendingFinalizers()
}
#-----------------------------------------------------
$xl = new-object -comobject excel.application
$xl.Visible = $True
$wb = $xl.Workbooks.Add()
$ws = $wb.Worksheets.Item("Sheet1")
$2d = new-object 'object[,]' 20,1
# Fill an array so we can put the numbers into Excel all at once.
for ($i=0; $i -le 19; $i++) {
$2d[$i,0] = $i + 1
}
$r = $ws.Range("A1:A20")
# Put the array into the sheet so we have something to work with.
$r.Value() = $2d
$y = $false
# Change this to $True if you want to
# delete rows 1, 3, 5, and so on.
$i = 1
$r = $ws.UsedRange
$cnt = $r.rows.Count
# Loop once for every row in the selection.
for ($x=1; $x -le $cnt; $x++) {
if ($y -eq $true) {
# ...delete an entire row of cells.
$a = $r.Cells.Item($i).EntireRow.Delete()
}
Else {
# ...increment $i by one so we can cycle through range.
$i++
}
# If ($y is true, make it false; if $y is false, make it true.)
$y = -not($y)
}
$a = Release-Ref($r)
$a = Release-Ref($ws)
$a = Release-Ref($wb)
$a = Release-Ref($xl)
Verified...
Subscribe to:
Posts (Atom)
Upcoming Topics
Search This Blog
Subscribe via email
Weekly
-
Today i'm going to explain how to configure your VMware...
-
Here I'm sharing frequently asked most top rated Interview...
-
Based on my experience in the daily issues level I have...
-
#NetBackup interview Questions and Answers. I just...
-
Being a NetBackup backup administrator we should...
-
NetBackup Tutorial: Steps to verify device configuration...
-
Users of Packet Tracer 3.2, 4.0 and 5.0 will note a variety...
-
Below are some of the frequently asked Storage (SAN)...
-
Master Server Daemons/Processes Request daemon bprd ...
-
AZ-900 Dumps - Actual exam question and Answers from...
- NetBackup interview Questions and Answers - Top Rated list - 8/28/2019
- EMC Networker Interview Questions - Top Listed Networker FAQ - 8/28/2019
- Netbackup Cheat Sheet - 6/5/2019
- AWS Interview Questions And Answers - AWS scenario based interview question most asked - Part4 - 4/30/2019
- AWS Interview Questions And Answers - AWS scenario based interview question most asked - Part3 - 4/30/2019