Create shortcut in startup menu using PowerShell

Microsoft Baseline Security Analyzer (MBSA) – on remote computer without a trust

In order to run Microsoft Baseline Security Analyzer (MBSA) against a remote computer with alternative credentials – such as computers in a perimeter without a trust – you have to either call MBSA from command line or connect to the remote computer using NET USE. Below are shown both alternatives:

Alternative #1 – command line

 

Alternative #2 – GUI (with net use)

Launch MBSA GUI

Before the scan is started run a Command Prompt as Administrator to specify alternative credentials with NET USE and the remote computer ip-adress.

NOTE: It is important to use Run As Administrator because Microsoft Baseline Security Analyzer (MBSA) is also running as administrator!

When this is done Microsoft Baseline Security Analyzer (MBSA) can start scanning the remote computer from GUI

SCOM 2007 R2 create/install databases using DBCreateWizard.exe – even remotely!

Instead of using MSI to create SCOM databases, you have the option to use DBCreateWizard.exe which can be found in the SupportTools folder. DBCreateWizard also gives the option to create the databases remotely when using command line like shown below:

OPERATIONS MANAGER DATABASE

 

OPERATIONS MANAGER DATA WAREHOUSE DATABASE

DBCreateWizard.exe creates a log file starting with dbCreateWiz in the temp folder.

If DBCreateWizard.exe is started without command line parameters the GUI will show.
NOTE: It is not possible to create databases remote from the GUI!

SCOM 2007 R2 command line install

To install System Center Operations Manager from command line use the parameters highlighted below:

DATABASE

 

MANAGEMENT SERVER (RMS or MS)

 

CONSOLE (UI)

 

WEBCONSOLE 

 

AGENT

 

DATAWAREHOUSE (REPORTING DATABASE)

 

REPORTING SERVER

 

WordPress Roles and Capabilities – list

WordPress contains the roles Administrator, Editor, Author and Contributor which gives the following capabilities:

Administrator
■ activate_plugins
■ add_users
■ create_users
■ delete_others_pages
■ delete_others_posts
■ delete_pages
■ delete_plugins
■ delete_posts
■ delete_private_pages
■ delete_private_posts
■ delete_published_pages
■ delete_published_posts
■ delete_themes
■ delete_users
■ edit_dashboard
■ edit_files
■ edit_others_pages
■ edit_others_posts
■ edit_pages
■ edit_plugins
■ edit_posts
■ edit_private_pages
■ edit_private_posts
■ edit_published_pages
■ edit_published_posts
■ edit_theme_options
■ edit_themes
■ edit_users
■ export
■ import
■ install_plugins
■ install_themes
■ list_users
■ manage_categories
■ manage_links
■ manage_options
■ moderate_comments
■ promote_users
■ publish_pages
■ publish_posts
■ read_private_pages
■ read_private_posts
■ read
■ remove_users
■ switch_themes
■ unfiltered_html
■ unfiltered_upload
■ update_core
■ update_plugins
■ update_themes
■ upload_files

Editor
■ delete_others_pages
■ delete_others_posts
■ delete_pages
■ delete_posts
■ delete_private_pages
■ delete_private_posts
■ delete_published_pages
■ delete_published_posts
■ edit_others_pages
■ edit_others_posts
■ edit_pages
■ edit_posts
■ edit_private_pages
■ edit_private_posts
■ edit_published_pages
■ edit_published_posts
■ manage_categories
■ manage_links
■ moderate_comments
■ publish_pages
■ publish_posts
■ read
■ read_private_pages
■ read_private_posts
■ unfiltered_html
■ upload_files

Author
■ delete_posts
■ delete_published_posts
■ edit_posts
■ edit_published_posts
■ publish_posts
■ read
■ upload_files

Contributor
■ delete_posts
■ edit_posts
■ read

For more further details see WordPress Codex here.

SCOM 2007 R2 Agent could not connect to Management Server (Event 21006)

After installing agent event 21006 is shown in EventLog:

This is because the agent is unable to connect to Management Server. When connection fails no data will be sent to the Management Server, and typically no errors indicating connection failed will show up at the Management Server event log.

Verify agent can resolve Management Server adress and no extra characters(space) are present in the name specified during Agent installation.

In the picture above the agent is trying to connect to a Management Server which has a space before and after the FQDN. The extra spaces are easily overlooked in Event Properties.

Hello world!

Velkommen til min blog!

Her vil jeg poste mere eller mindre nyttige informationer – til glæde for mig selv og andre.
Der vil forekomme både dansk og engelsk tekst.