Search found 313 matches

by MigrationUser
2021-Jul-25, 11:58 am
Forum: Linux & macOS Bash
Topic: Additional trick for http://ss64.com/bash/for.html
Replies: 0
Views: 3483

Additional trick for http://ss64.com/bash/for.html

31 Mar 2006 17:04 Setsunaaa On IRC I got told following trick for "for": IFS=":" What does it change? Normally the "for" loop uses " " as seperator but this can be changed by setting the IFS environment variable. I got it told when playing 'round with my firew...
by MigrationUser
2021-Jul-25, 11:55 am
Forum: Linux & macOS Bash
Topic: copying files from a linux directory to a SAP or XP directory
Replies: 0
Views: 3524

copying files from a linux directory to a SAP or XP directory

13 Jan 2006 13:48 jacja Hello, I am new, but I have already a question, as shown on top. Can I use cmd <cp> to get such an operation done ? And if so, how does it work ? Thanks for your help. ---------------------------- #2 13 Jan 2006 13:54 Simon Sheppard Is this a remote machine or a partition on ...
by MigrationUser
2021-Jul-25, 11:31 am
Forum: Windows PowerShell
Topic: Change the last accessed time stamp
Replies: 0
Views: 13792

Change the last accessed time stamp

23 Feb 2009 23:34 strict i want to create a script that will go through and change the last accessed time stamp to the created timestamp... i found how to do this on a file by file basis: $(Get-Item test.txt).lastaccesstime=$(Get-Item test.txt).creationtime works awesome... but i need this to happen...
by MigrationUser
2021-Jul-25, 11:28 am
Forum: Windows PowerShell
Topic: Get-Host.UI.RAWUI
Replies: 0
Views: 10744

Get-Host.UI.RAWUI

03 Apr 2009 11:30 *SCRIPTER* I'm having a bit of trouble changing the the rawUI properties for the window postion. .\ps1 would be appreciated for this task. I know the method $a = (Get-Host).UI.RawUI $b = (Stuck Here) And if you could point me in the direction Of how to obtain help on this subject f...
by MigrationUser
2021-Jul-25, 11:25 am
Forum: Windows PowerShell
Topic: How to translate MS-DOS for loop to Powershell
Replies: 1
Views: 15997

How to translate MS-DOS for loop to Powershell

07 May 2009 15:49 davep I apologize for the noob question: How would I translate something like this to powershell? for /l %X in (1,1,6) do ... I see from get-help foreach -examples that I can create an array and then process each item, but how to do it with just signifying "start, step,end&quo...
by MigrationUser
2021-Jul-25, 11:23 am
Forum: Windows PowerShell
Topic: What is powershell for and how to use it
Replies: 0
Views: 7030

What is powershell for and how to use it

17 Feb 2009 08:39 microbious Asking for help for a powershell noob. I've somewhat learned CMD behavior and want to move up to powershell. Problem is that i dont relly know what its for and how it works. Basic things like how to execute a script ? and why i get error "execution script is disable...
by MigrationUser
2021-Jul-25, 11:21 am
Forum: Windows PowerShell
Topic: ConvertTo-HTML
Replies: 0
Views: 7415

ConvertTo-HTML

01 May 2009 21:54 arenas heya :) pls i need encoding UTF7 my script is okay with UTF8: $blog.rss.channel.item | Select-Object date, title -first 9 | ConvertTo-HTML | Out-File C:\MvMaVille_Rss_Feed.html but the result is so bad :( Le réseau de transports de st-innsbruck a été amélioré. how i have to ...
by MigrationUser
2021-Jul-25, 11:15 am
Forum: Windows PowerShell
Topic: Restoring zero byte files from a backup
Replies: 0
Views: 7039

Restoring zero byte files from a backup

29 Aug 2008 19:01 Simon Sheppard Here's an example of using Powershell to restore a group of files from a backup. This was used to patch up one of our file servers after some lovely 'enterprise' software decided to start randomly truncating files. We suddenly found ourselves with thousands of empty ...
by MigrationUser
2021-Jul-25, 11:13 am
Forum: Windows PowerShell
Topic: how to "xcopy /D" in Powershell
Replies: 0
Views: 7064

how to "xcopy /D" in Powershell

19 Nov 2009 13:48 kugman Hello, is there a command for the PowerShell which makes the same as the "xcopy /D" in the cmd? thanks Markus ---------------------------- #19 Nov 2009 20:51 Simon Sheppard It's possible to write a powershell filter to copy files based on date, but really Robocopy ...
by MigrationUser
2021-Jul-25, 11:11 am
Forum: Windows PowerShell
Topic: Jeffrey Snover gets Distinguished Engineer
Replies: 0
Views: 7169

Jeffrey Snover gets Distinguished Engineer

21 Mar 2009 11:46 Simon Sheppard Congratulations to Jeffrey Snover, the main inventor of PowerShell http://www.microsoft.com/presspass/exec/de/snover/default.mspx :clap: Powershell is becoming a HUGE deal at Microsoft All Microsoft server products are eventually to become PowerShell-compatible Excha...