Tag Archives: script

Auto load command history

With these few lines in your Powershell Profile you will auto load the command history from the last session. Run “notepad $profile” and add this: 🙂

Posted in PowerShell | Tagged , | Comments Off on Auto load command history

Set ConfigMgr 2012 Working Hours with Powershell

The “working hours” defined in ConfigMgr 2012 Software Center on the client is a bit off for our environment… Did a bit of digging and found some examples in VBScript, but I like Powershell… 🙂 And this is how you … Continue reading

Posted in ConfigMgr, PowerShell | Tagged , , , | Comments Off on Set ConfigMgr 2012 Working Hours with Powershell

SCCM Module for PowerShell

In a post a few days ago I mentioned “some slightly modified functions from Michael Niehaus“. Well… Why not share them. Save this as a module, load it and play around. 2010-03-26 – Moved to http://www.snowland.se/sccm-posh/ Some examples on what … Continue reading

Posted in ConfigMgr, PowerShell | Tagged , , | 7 Comments

Scandinavian chars in cmd-files

Got a scriptingquestion from a colleague, wasn’t that easy to find on google. But with Windows Search I did find an old cmd-script that had exactly that problem sorted out. So, the question was about scandinavian chars in a cmd-script. … Continue reading

Posted in Good-to-have | Tagged , , , | Comments Off on Scandinavian chars in cmd-files